* Trevor Turk <[EMAIL PROTECTED]> [2007-07-24 02:55:30 -0000]: > Does anyone have an idea what's wrong with this capistrano restart > task? > > http://pastie.caboo.se/81631 > > I'm getting this error: > sh: mongrel_rails: command not found > command "mongrel_rails cluster::stop -C /home/.../mongrel_cluster.yml" > failed on ... > > When I run the command via SSH, it works just fine - but for some > reason not from within Capistrano. So, now I have to SSH onto the > server to restart the mongrels :(
It is probably a PATH problem. Depending on where your mongrel_rails executable is located, you should be able to set default_environment["PATH"] to something specific to your servers. Tim --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
