-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
capistrano-nvm doesn't appear to be working with capistrano-bower #17
Comments
You will have to add
|
Oh well, I now see you already have that in your |
Same here. I was hoping it could resolve the failure to locate Bower on deploy, but didn't happen :( set :nvm_map_bins, %w{node npm bower} and still:
|
I'm actually using it with a local install of bower (so one that's defined in |
@koenpunt any plans to resolve this issue? |
One could also use Bower from devDependencies: {
"bower": "~1.8.0"
},
scripts: {
"bower": "bower"
} and then call Good thing for instance, this way, is to install Bower dependencies with |
@ain Thanks. My skill with capistrano is not that good however I will try your solution. :) |
Hi, I'm deploying a Rails app that makes use of bower and nvm. The problem I'm having now, is that it appears that Capistrano is not running nvm.sh, without being able to find node during bower:install.
Does anyone know what the problem is here?
Capistrano output:
https://gist.github.com/ngw/5e6491071ef1ee364cebcd61b1347d38
Gemfile.lock:
https://gist.github.com/ngw/8b5b862915c288f618cd3420e707b598
Deploy.rb:
https://gist.github.com/ngw/3472dc3a2fac385da3f9c616a8f5a7a8
Does anybody have any idea what's happening here?
The text was updated successfully, but these errors were encountered: