Thanks for your help! The link you sent fixed it. :)

On Jun 23, 2:43 am, Rafa García <[email protected]> wrote:
> Hi Dave,
>
>   You can set rake to define the correct path:
>
> set :rake,  "path/rake"
>
>   But if you're using rvm you should check it before do nothing:
>
>    http://beginrescueend.com/integration/capistrano/
>
> <http://beginrescueend.com/integration/capistrano/>  Regards
>
> 2011/6/23 Dave S <[email protected]>
>
>
>
>
>
>
>
> > Hi all,
>
> > I'm having a bit of trouble with Capistrano. When I run "cap deploy",
> > I get this:
>
> >    servers: ["hintbin.com"]
> >    [hintbin.com] executing command
> >  ** [out :: hintbin.com] sh: rake: not found
> >    command finished in 138ms
> > failed: "sh -c 'cd /home/deploy/casual/releases/20110623015159 &&
> > RAILS_ENV=production rake sitemap:refresh'" on hintbin.com
>
> > Running this shell command works fine from the server.  "cap
> > deploy:check" says that everything is in order. Does anyone have any
> > ideas for how to fix this? Here's my deploy.rb file:
>
> >  https://gist.github.com/1041718
>
> > (Note that if I remove the sitemap hook, then the crontab hook fails,
> > saying that it couldn't find "whenever". If I remove both, then it
> > works without any problems.)
>
> > Anyone have any ideas? Is this an RVM problem?
>
> > --
> > * 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
> > athttp://groups.google.com/group/capistrano?hl=en

-- 
* 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.com/group/capistrano?hl=en

Reply via email to