As of cap2, the --apply-to option is dead. Instead, you should use  
the new capify script:

   capify /path/to/rails/root/app/

Hope that helps.

- Jamis

On Jun 24, 2007, at 7:38 AM, wintermute wrote:

>
> hello group,
> i've had an weird problem with capistrano, iam unable to apply
> "capistranize" my app
>
> my env is :
>
> apache 2.2.3
> mongrel_cluster
> ruby 1.8.3
>
> with all needed prerequisites needed installed
>
> but iam new to rails and the only need is prove an dev environment for
> some developers.
> on the same machine runs the svn , which works fine.
>
> if i run :
> cap --apply-to /path/to/rails/root/app/ app
>
> will be an error:
>
> /usr/lib/ruby/1.8/optparse.rb:1381:in `complete': invalid option: --
> apply-to (OptionParser::InvalidOption)
>         from /usr/lib/ruby/1.8/optparse.rb:1379:in `catch'
>         from /usr/lib/ruby/1.8/optparse.rb:1379:in `complete'
>         from /usr/lib/ruby/1.8/optparse.rb:1212:in `order!'
>         from /usr/lib/ruby/1.8/optparse.rb:1205:in `catch'
>         from /usr/lib/ruby/1.8/optparse.rb:1205:in `order!'
>         from /usr/lib/ruby/1.8/optparse.rb:1279:in `permute!'
>         from /usr/lib/ruby/1.8/optparse.rb:1300:in `parse!'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/
> capistrano/cli/options.rb:117:in `parse_options!'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/
> capistrano/cli/options.rb:15:in `parse'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/
> capistrano/cli/execute.rb:14:in `execute'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.2/bin/cap:4
>         from /usr/bin/cap:16:in `load'
>         from /usr/bin/cap:16
>
> dont know where should search for this error, any other things running
> fine ....
> but in the installation of cerberus there will be an other error,
> which means in the automatic test there is no rakefile found ....
> something in common ?
>
> thx for help
>
> nils
>
>
> >


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