How to un-extract and re-extract Capistrano to the right place
capistrano, ruby-on-rails, rvm
Solution
I had the same problem as you. In my deploy.rb file, I had to comment out this line:
$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path.
i.e.
# $:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path.
Problem
I'm getting this error when trying to do : `bundle exec cap 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)." ``` Unfortunately, none of those tips actually work. The problem stems from when I had to revert my copy of RVM to an older copy to have it comply with POW. After I did this, this feature no longer worked. Which sort of makes sense. So my question is simply, how do I re-engineer my Capistrano exactraction to not a seperate gem. I tried uninstalling, everything, reinstalling everything, but that didn't seem to work. Any ideas?