Friday, April 17, 2009

Gem Capistrano issue on Ruby on Rails

If you are going to use capistrano gem for deployment.

you should install two gems for this:

sudo gem install capistrano
sudo gem install capistrano-ext

If you missed out "capistrano-ext" gem to install,

it wont you to execute capistrano operations like deploy, log, etc., i.e tasks which are using your deploy.rb

/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- capistrano/ext/multistage (LoadError)

and it returns the above error.

2 comments:

Gautam Guliani said...

Thanks for posting this. It helped me solve a capistrano issue.

Unknown said...

Thanks! You saved me a couple of hours at the least!! :)