Update**

I've figured out that if I do:
gem install capistrano  (which installs to
/Users/gspederson/.gem/ruby/1.8/gems)
as opposed to:
sudo gem install capistrano (which installls to
/usr/local/lib/ruby/gems/1.8/gems)

I get access to cap commands like cap deploy, however, my deploy fails with:
App1:
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

App2
failed: "sh -c \"sudo -p 'sudo password: ' chown app_ifc
/home/gspederson/public_html/ifc/shared/log/mongrel.log\"" on 209.20.76.23


Also, if I try to install capistrano with -v 2.5.3 or any version for that
matter I don't get access to cap commands  only gem install capistrano
works, but results in failed deploys.

Anyone have any words of wisdom?

Greg

On Fri, Apr 24, 2009 at 2:47 PM, Greg Pederson <[email protected]>wrote:

> 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




-- 
Greg Pederson
Founder and Technical Director

Nsight Development, LLC.
www.NsightDevelopment.com

[email protected]
407-641-0327

Quis custodiet ipsos custodes

[email protected]

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