Skip to content

no such file to load — capistrano-ext

September 22, 2010

If you are using capistrano and capistrano-ext together, please note that the following line in you environment.rb might not be sufficient:

config.gem “capistrano”
config.gem ‘capistrano-ext’

In this case, you might get the error :

no such file to load — capistrano-ext
bla-bla-bla

All you need for your app to find the gem (I am assuming that you have already installed the gem by running the command : rake gem install capistrano-ext) is following:

config.gem “capistrano”
config.gem ‘capistrano-ext’, :lib => ‘capistrano’

One Comment leave one →
  1. Joseph Jaber permalink
    June 6, 2011 2:41 pm

    This was a lifesaver. Thanks Sanjeev, exactly what I was looking for.

Leave a comment