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 →
This was a lifesaver. Thanks Sanjeev, exactly what I was looking for.