# Can't Activate Capistrano Error

**URL:** <https://www.ruby-forum.com/t/cant-activate-capistrano-error/151560>\
**Category:** Deployment\
**Created:** [October 22, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/cant-activate-capistrano-error/151560 "2008-10-22T22:11:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpfeifer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/65b543/32.png) [@jpfeifer](https://www.ruby-forum.com/u/jpfeifer)\
**Post date:** [October 22, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/cant-activate-capistrano-error/151560/1 "2008-10-22T22:11:20Z")

</div>

Greetings,

I’m getting an error when trying to do a “cap staging deploy” from the  
command line:

$ cap staging deploy  
/Library/Ruby/Site/1.8/rubygems.rb:147:in `activate': can't activate capistrano (= 2.4.3, runtime), already activated capistrano-2.5.0 (Gem::Exception) from /Library/Ruby/Site/1.8/rubygems.rb:163:in `activate’  
from /Library/Ruby/Site/1.8/rubygems.rb:162:in `each' from /Library/Ruby/Site/1.8/rubygems.rb:162:in `activate’  
from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:31:in `require' from /Users/jasonpfeifer/.gem/ruby/1.8/gems/capistrano-2.5.0/lib/capistrano/configuration/loading.rb:152:in `require’  
from Capfile:3:in `load' from /Users/jasonpfeifer/.gem/ruby/1.8/gems/capistrano-2.5.0/lib/capistrano/configuration/loading.rb:172:in `load\_from\_file’  
from  
/Users/jasonpfeifer/.gem/ruby/1.8/gems/capistrano-2.5.0/lib/capistrano/configuration/loading.rb:89:in  
`load' ... 7 levels... from /Users/jasonpfeifer/.gem/ruby/1.8/gems/capistrano-2.5.0/lib/capistrano/cli/execute.rb:14:in `execute’  
from /Users/jasonpfeifer/.gem/ruby/1.8/gems/capistrano-2.5.0/bin/cap:4  
from /usr/bin/cap:19:in `load’  
from /usr/bin/cap:19

My environment is thus:

rubygems 1.3.0  
capistrano (2.5.0, 2.4.3, 2.0.0)  
capistrano-ext (1.2.0)  
Rails 2.1.1

I’ve done some googling and found similar problems as in here:  
[http://groups.google.com/group/capistrano/browse\_thread/thread/3fcba9e481357663](http://groups.google.com/group/capistrano/browse_thread/thread/3fcba9e481357663)

However they don’t necessarily seem to apply to me. The solution there  
seems to be commenting out a line that loads “deprec”, but I can’t seem  
to find the .caprc file on my system if that’s it.

Help is appreciated.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/65b543/32.png) [@jpfeifer](https://www.ruby-forum.com/u/jpfeifer)\
**Post date:** [October 23, 2008, 3:23am UTC](https://www.ruby-forum.com/t/cant-activate-capistrano-error/151560/2 "2008-10-23T03:23:36Z")

</div>

Jason,

It looks like something is requiring capistrano 2.4.3. Might check in  
your deployment config files for that.

Robby

On Wed, Oct 22, 2008 at 1:11 PM, Jason P.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> from /Library/Ruby/Site/1.8/rubygems.rb:163:in `activate’  
> from  
> My environment is thus:  
> seems to be commenting out a line that loads “deprec”, but I can’t seem
> 
> >

–  
Robby R.  
Chief Evangelist, Partner

PLANET ARGON, LLC  
design // development // hosting

> **[Planet Argon](https://www.planetargon.com/)**
>
> Planet Argon is a Ruby on Rails development agency specializing in maintenance and support for existing Rails apps. Based in Portland, OR, Planet Argon has been a member of the Rails community since 2004.

[http://www.robbyonrails.com/](http://www.robbyonrails.com/)  
aim: planetargon

+1 503 445 2457  
+1 877 55 ARGON [toll free]  
+1 815 642 4068 [fax]
