whatever I write in my deploy.rb file , I always get the error :
the task `deploy:xxxx' does not exist

i.e.  $ cap deploy:cool
the task `deploy:cool' does not exist

======  I coded the following : ======
...
namespace :deploy do
  task :cool, :roles => [:app, :db, :web] do
    update
    run "cd #{current_path}; rake db:setup"
    start
  end
end

============ what could be wrong ?  thanks for your suggestions

using capistrano (2.5.19), rails (3.0.3), ruby 1.9.2

-- 
* 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.com/group/capistrano?hl=en

Reply via email to