small medium large xlarge

31 Jul 2012, 12:09
Andrew Gellene (33 posts)

Using the book I get an error on running cap setup:deploy:

RVM - Capistrano integration was extracted to a separate gem, install: `gem install rvm-capistrano` and remove the `$LOAD_PATH.unshift` line, note also the 'set :rvm_type, :user' is now the default (instead of :system).

I put the new gem in to the gemfile

gem 'rvm-capistrano' 

and commented out just the line:

$:.unshift(File.expand_path(‘./lib’, ENV[‘rvm_path’]))

but left the rest of the rvm specifics:

  require "rvm/capistrano"
 set :rvm_ruby_string, '1.9.3-p194'
 set :rvm_type, :user

My question is if this is the only change needed in the deploy.rb file for this update. If not can someone confirm what the “right” config is. I am not have specific errors relating to rvm but want to be sure this is not causing other errors I am having with deploying.



31 Jul 2012, 14:51
Sam Ruby (634 posts)

With rvm/capistrano, the ‘bundle_install’ task is no longer required in config/deploy.rb.

You must be logged in to comment