Greg,
Follow the following steps for me.... remove *any* reference you can find to
capistrano, some of the following may help

$ gem list --local | grep capistrano
$ gem contents capistrano
$ gem --version
$ cap --version
$ which cap
$ which capify

# gem list --local | grep capistrano
# gem contents capistrano
# which cap
# which capify

Where $ means `run as you` and # is `run as a root user`

Then if things still aren't working out for you, you should try coming back
to the list, it is *entirely* possible that the API for the functions you
are relying upon has changes between 2.5.3 and 2.5.5, what variable is set
to 'nsight_dev', is it :application?

- Lee

2009/4/24 Greg Pederson <[email protected]>

>
> Hi All,
> I'm hoping someone can help relieve my pain :)
>
> I did a gem update which updated my capistrano from 2.5.3 to 2.5.5 and
> after the upgrade my deploys stop working and failing with the
> following error:
>
> failed: "sh -c \"sudo -p 'sudo password: ' chown app_nsight_dev /home/
> gspederson/apps/nsight_dev/shared/log/mongrel.log\"" on 209.20.85.24
>
> and further up the log file there is this message:
>  ** [out :: 209.20.85.24] chown: invalid user: `app_nsight_dev'
>
> I tried this on 2 other apps that had previously been working fine
> with cap deploy and all had the same error about the user
> 'app_<app_name>'
>
> After not being able to find anything I decided to try to remove
> 2.5.5, but it wasn't listed in my gem list, so I found this post:
>
> http://www.brianculler.com/golbhet/2009/03/03/unable-to-uninstall-capistrano-even-though-its-listed-as-installed-heres-how-to-fix-that/
>
> and I unwisely deleted the capistrano gem from /usr/local/lib/ruby/
> gems/1.8/gems and tried to reinstall with
> sudo gem install capistrano -v 2.5.3
>
> after that I started getting the following error:
>
> /usr/local/bin/cap:19:in `load': no such file to load -- cap
> (LoadError)
>        from /usr/local/bin/cap:19
>
> I've tried removing all with gem uninstall, reinstalling with and with
> out capistrano versions and still no luck.
>
> I'm out of ideas and really hoping someone smarter than me can give me
> some guidance.
>
> Thanks for your help
>
> Greg
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to