Skip to content
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 deployment issue #167

Open
abhimanyubv opened this issue Sep 10, 2015 · 7 comments
Open

Capistrano deployment issue #167

abhimanyubv opened this issue Sep 10, 2015 · 7 comments

Comments

@abhimanyubv
Copy link

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/

@bc-shusson
Copy link

make sure bower and node are installed and working in your production environment.

@jaychris
Copy link

Same issue, bower and node are installed and working, but Cap insists that Bower is not found, with the same error reported above.

@abhimanyubv
Copy link
Author

@jaychris check the node install path and add that path in your deploy.rb config file

@rayson1223
Copy link

@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?

@abhimanyubv
Copy link
Author

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.

@rayson1223
Copy link

Thanks a lot for the quick responds.
It does help me to get through that! =)

@SergeyKishenin
Copy link
Collaborator

@abhimanyubv Thanks for following up with the problem.

Could you provide a PR with README update so I can close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants