hsume2 / browserify-rails

Deprecated https://github.com/browserify-rails/browserify-rails
MIT License
57 stars 11 forks source link

Keep browserify out of the repo #20

Open romanenko opened 10 years ago

romanenko commented 10 years ago

Deployment breaks with error:

BrowserifyRails::BrowserifyError: browserify could not be found at /var/www/sample-project/releases/20140412164424/./node_modules/.bin/browserify. Please run npm install.

As I understand, currently, path to browserify executable is set as a constant. Maybe, we could make it configurable somehow? Or, maybe we should search for browserify executable like node does, or try to locate it on the server with which shell command for example?