Hi,

I'm not sure why this isn't working form me. In my deploy script
I have the following task:

  desc "cold deploy"
  task :cold do
    update
    mongrel.cluster.configure
    run "cd #{release_path}"
    sudo "rake db:schema:load"
    start
    mongrel.cluster.status
  end

Unfortunately I get this nasty error:

  * executing "rake db:schema:load"
    servers: ["alvaket.be"]
    [alvaket.be] executing command
 ** [out :: alvaket.be] rake aborted!
 ** [out :: alvaket.be]
 ** [out :: alvaket.be] No Rakefile found (looking for: rakefile,
Rakefile, rakefile.rb, Rakefile.rb)


BUT, it works when I deploy without db:schema:load and then run
db:schema:load manually on the server ... Strange because Rakefile is
uploaded during update
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to