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