It is the first time I use Capistrano and the application had been
already published without it.
When I type cap deploy:migrations I get the following error after some
successful commands:
=============================================
* executing "cd /home/collimarco/foto-fiori.com/releases/
20090818111104; rake RAILS_ENV=production db:migrate"
servers: ["foto-fiori.com"]
[foto-fiori.com] executing command
** [out :: foto-fiori.com] (in /home/collimarco/foto-fiori.com/
releases/20090818111104)
** [out :: foto-fiori.com] Missing the Rails 2.3.3 gem. Please `gem
install -v=2.3.3 rails`, update your RAILS_GEM_VERSION setting in
config/environment.rb for the Rails version you do have installed, or
comment out RAILS_GEM_VERSION to use the latest version installed.
command finished
failed: "sh -c 'cd /home/collimarco/foto-fiori.com/releases/
20090818111104; rake RAILS_ENV=production db:migrate'" on foto-
fiori.com
=============================================
I tried to comment out RAILS_GEM_VERSION from environment.rb, but is
the same.
I also typed the last commands manually:
=============================================
$ cd /home/collimarco/foto-fiori.com/releases/20090818111104
$ rake RAILS_ENV=production db:migrate
(in /home/collimarco/foto-fiori.com/releases/20090818111104)
rake aborted!
No such file or directory - /home/collimarco/foto-fiori.com/releases/
20090818111104/config/database.yml
/home/collimarco/foto-fiori.com/releases/20090818111104/Rakefile:10
(See full trace by running task with --trace)
=============================================
Any ideas?
What should I do?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---