Be sure and tell capistrano where rake is on your remote machines. I'm
betting it is somewhere like /usr/local/bin, which is in your login
path, but not in the machine's default path. Try this:

  set :rake, "/usr/local/bin/rake"

- Jamis

On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm setting capistrano up for the first time, for a smal RoR app I've
> just started writing.
>
> I'm deploying from an intel MacBookPro to an AMD64 based Ubunu box,
> with the SVN repository living on another old mac G4 running Debian.
>
> When I run:
>
> cap deploy:cold
>
> Things seem to be fine, until here:
>
> * executing "cd /var/www/myapp/releases/20070807223753; rake
> RAILS_ENV=production  db:migrate"
>     servers: ["www.myhost.com"]
>     [www.myhost.com] executing command
>  ** [out :: www.myhost.com] sh: rake: not found
>     command finished
> command "cd /var/www/myapp/releases/20070807223753; rake
> RAILS_ENV=production  db:migrate" failed on www.myhost.com
>
>
> I've changed some things to protect the innocent above - rake is
> installed on the dest server.  What else could I be doing wrong?
>
> Thanks!
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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