Yeah, it's a known bug in 1.99.0. A fix was posted here:
http://groups.google.com/group/capistrano/browse_thread/thread/
3b987a204db59842/385fcc82741dfd09#385fcc82741dfd09
(I'm sure that'll wrap, but you can google the capistrano list for
"deploy:check" and find it if you need to.)
The next preview release will have that fixed.
- Jamis
On May 5, 2007, at 12:35 AM, Vladislav Gorodetskiy wrote:
>
> Hi guys,
>
> Trying to deploy with Cap2 @ Slicehost I'm getting the following
> (console log):
> ===============================
> [EMAIL PROTECTED]:~/studrada$ cap deploy:check
> * executing `deploy:check'
> * executing "test -d /home/deploy/studrada/releases"
> servers: ["studrada.org"]
> Password:
> [studrada.org] executing command
> command finished
> * executing "test -w /home/deploy/studrada"
> servers: ["studrada.org"]
> [studrada.org] executing command
> command finished
> * executing "test -w /home/deploy/studrada/releases"
> servers: ["studrada.org"]
> [studrada.org] executing command
> command finished
> /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/capistrano/recipes/
> deploy/strategy/remote.rb:20:in `test': unknown command ?t
> (ArgumentError)
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/recipes/deploy/strategy/remote.rb:20:in `check!'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/recipes/deploy.rb:322:in `load'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/configuration/execution.rb:84:in `instance_eval'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/configuration/execution.rb:84:in `execute_task'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/configuration/execution.rb:99:in `find_and_execute_task'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/cli/execute.rb:39:in
> `execute_requested_actions_without_help'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/cli/execute.rb:39:in `each'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/cli/execute.rb:39:in
> `execute_requested_actions_without_help'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/cli/help.rb:19:in `execute_requested_actions'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/cli/execute.rb:30:in `execute!'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/cli/execute.rb:14:in `execute'
> from /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.0/bin/cap:4
> from /usr/bin/cap:16:in `load'
> from /usr/bin/cap:16
> ===============================
>
> MY deploy.rb IS:
> ===============================
> set :domain, "studrada.org"
> set :application, "studrada"
> set :user, "deploy"
> set :deploy_to, "/home/deploy/#{application}"
> set :repository, "http://[EMAIL PROTECTED]/trunk"
> set :scm_command, "svn"
>
> role :app, domain
> role :web, domain
> role :db, domain, :primary => true
> role :scm, domain
> ===============================
>
> Can you help me with this stuff?
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---