Open abhimanyubv opened 9 years ago
make sure bower and node are installed and working in your production environment.
Same issue, bower and node are installed and working, but Cap insists that Bower is not found, with the same error reported above.
@jaychris check the node install path and add that path in your deploy.rb config file
@abhimanyubv I face the same issues as well. Do you mind to show me an example that how to add node install path into deploy.rb?
run the below command
which bower
whatever response you got, set that value to bower_bin in your deploy.rb file
set :bower_bin,
Hope it will help you.
Thanks a lot for the quick responds. It does help me to get through that! =)
@abhimanyubv Thanks for following up with the problem.
Could you provide a PR with README update so I can close this issue?
I have installed bower in the app server and I am able to run bundle exec rake bower:install in any release or in current directory. But when I'm trying the same while cap production deploy, the following error is repeated.
Command: cd /home/deploy/apps/xxxx/releases/20150910064532 && ~/.rvm/bin/rvm default do bundle exec rake bower:install CI=true Bower not found! You can install Bower using Node and npm: DEBUG [68147ae5] $ npm install bower -g DEBUG [68147ae5] For more info see http://bower.io/