2
votes

This happens when I try to run rinari-cap:

~/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require': no such file to load -- rvm/capistrano (LoadError)

Something similar happens in eshell

I already installed the rvm.el file with no luck either.

2

2 Answers

3
votes

Add the rvm gem to the gemfile, and on the first line of deploy.rb:

ENV['rvm_path']||="~/.rvm"
0
votes

Adding the following line at the top of deploy.rb solved my issue:

$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path.