I started a new app, using the latest version of capistrano (2.5.5) to
deploy. All fine. But, when i’ve gone back to an app i started
earlier, i can’t deploy it - i get this error:
failed: “sh -c "sudo -p 'sudo password: ’ chown app_e_learning_resource
/var/www/apps/e_learning_resource/shared/log/mongrel.log"” on
prelive.ourhost.com
Now, i thought that this was maybe because of some differences in
capistrano between the new version and the one i was using previously
(2.4.3). So, i’m trying to deploy using the earlier version of
capistrano.
According to this page…
…i do this by putting the required version in underscores: eg
cap 2.4.3 deploy STAGE=prelive
But, when i do this, i get this error:
/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate’: can’t
activate capistrano (> 2.5.0, runtime), already activated
capistrano-2.4.3 (Gem::Exception)
Looking down the trace for the first reference to anything in my code,
the problem seems to occur when i try to require ‘deprec’.
Can anyone give me any help/advice?
thanks
max