I have a Rails 2 app that a friend (and way better rails dev) helped me update with Bundler so that gem dependencies were better handled.
Now I am trying to deploy the app and capistrano is failing.
https://gist.github.com/1383514
that gist is the relevant log output from my capistrano deploy.
I am requiring: require 'capistrano/ext/multistage' require 'bundler/capistrano'
in my deploy.rb file
It seems to me that the issue is that capistrano can't touch the gemfile because it doesn't exist.
Any one have a way to resolve this?
The error message is bundle: command not found
You'll have to gem install bundler
or sudo gem install bundler
on your server.
Are you using RVM on the server? I remember there is some additional setup to get Capistrano to use RVM.
edit See here: http://beginrescueend.com/integration/capistrano/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.