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