Hi
  In my application config/deploy.rb I have

set :stages, %w(dev testing)
set :default_stage, "dev"

require 'capistrano/ext/multistage'
-----
-----etc

after "deploy", "deploy:migrate"

   Now in config/deply/dev.rb
role :app, "192.168.1.13"
role :db, "192.168.1.13", :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
error

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

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

Thanks in advance
Sijo
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to