Yeah, --apply-to was cap1.x only. Capistrano 2.x uses `capify': $ capify /export/home/adecaria/public_html/unit_converter
Cap 1 and cap 2 are different enough that the awdwr book won't be much help for getting off the ground, I'm afraid. :( You might want to just install cap 1.4.3 for that. - Jamis On Jul 14, 2008, at 2:42 PM, Alex DeCaria wrote: > > I'm attempting to follow the instructions in "Agile Web Development > with > Rails" for deploying a Rails application. On page 625 it tells me to > type "cap --apply-to /local/project/path [applicationname]" > > My application is called "unit_converter" and it is in directory > "/export/home/adecaria/public_html/" I am typing "cap --apply-to > /export/home/adecaria/public_html/unit_converter" and I am getting the > following error: > > "/usr/lib/ruby/1/8/optparse.rb:1381:in `complete': invalid opotion: > --apply-to (OptionParser::InvalidOption)" > followed by several "from" lines. > > Can someone tell me what is wrong? > > Thanks, > > Alex > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---