In my application config/deploy.rb I have

set :stages, %w(dev testing)
set :default_stage, “dev”

require ‘capistrano/ext/multistage’


after “deploy”, “deploy:migrate”

Now in config/deply/dev.rb
role :app, “”
role :db, “”, :primary => true

And all the cap deploy:setup, deploy:update work properly

But when I do cap deploy all svn check out etc works but finally get

  • executing “cd
    /var/www/railsapps/account_service/releases/20090515040757; rake
    RAILS_ENV=dev db:migrate”
    servers: [“”]
    [] executing command
    *** [err ::] rake aborted!
    failed: “sh -c “cd
    /var/www/railsapps/application/releases/20090515040757; rake
    RAILS_ENV=dev db:migrate”” on

       Is it because RAILS_ENV=dev ? If so how can I make it


Thanks in advance

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs