I need to run a custom rake task after deployment.  My rake file is in
the /lib/tasks folder as usual, and it works from the command line
when I'm at the root directory of my Rails project.  But this didn't
work:

task :after_deploy do
  cleanup
  run "rake cms:load"
end

The cleanup worked, but then I saw errors saying that the Rakefile
could not be found.  I'm theorizing that the current directory is not
the root of my rails application at that point, and so rake can't find
the rakefile properly.

So am I going about this the wrong way?  Or is there a recommended way
to do what I'm trying to do?

Thanks!
Jeff


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to