The –deployment flag requires a Gemfile.lock – Capistrano – RVM – Bundler

In your server:

$ which bundle
/usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle

Add this in your deploy.rb

set :bundle_cmd,      “/usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle”

If you have your repo in a subdirectory:

http://stackoverflow.com/questions/29168/deploying-a-git-subdirectory-in-capistrano

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s