Lee,

My app is capified now. When I do the cold deploy, everything seems go
well until I got this error.

[[email protected]] executing command
*** [err :: [email protected]] sudo: no passwd entry for
app!
    command finished
failed: "sh -c 'cd /u/apps/project-generator/current && sudo -p '\
\''sudo password: '\\'' -u app nohup script/spin'" on
[email protected]

According to the error message it seems that I need password for app.
I have tried to put password for app but it doesn't work.

Thanks,

On Aug 26, 4:12 pm, Lee Hambley <[email protected]> wrote:
> Sophy,
> You'll note that the book is using a way-way old version of Capistrano, now
> you simply call `capify` your app's directory:
>
>   $ capify /path/to/my/app
>
> rather than
>
>   $ cap --apply-to /path/to/my/app [applicationname]
>
> -- Lee Hambley
>
> Twitter: @leehambley
> Blog:http://lee.hambley.name/
> Working with Rails:http://is.gd/1s5W1
>
> 2009/8/26 Sophy <[email protected]>
>
>
>
> > Hi,
>
> > I'm new to Capistrano. I'm following Agile Web Development with Rails
> > on Deployment.
> > When I issue command cap --apply-to /path/to/my/app [applicationname],
> > it doesn't work.
> > It displays the error the message invalid option --apply-to.
>
> > error message:
> > /usr/lib/ruby/1.8/optparse.rb:1445:in `complete': invalid option: --
> > apply-to (OptionParser::InvalidOption)
>
> > I'm using Capistrano 2.5.8, Ruby 1.8.7, Rails 2.3.2, mongrel 1.1.5 and
> > mongrel_cluster 1.0.5
>
> > Cheers,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to