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’

Advertisements
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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: