[Capistrano] Command Not Found

2006-12-22 Thread Bolo
Hello, i try to use this recipe http://pastie.caboo.se/29183 But each time i saw this error transaction: commit * executing task restart * executing task restart_mongrel_cluster * executing mongrel_rails cluster::restart -C /etc/mongrel_cluster/expay.yml servers: [lamp2] [lamp2]

[Capistrano] Re: Command Not Found

2006-12-22 Thread Jamis Buck
Capistrano does not use the PATH you set in your .bashrc (or similar) script. It can only see the path that is compiled into sshd, and that, typically, only includes /usr/bin and one or two others. If your mongrel_rails script is anywhere else, cap won't find it. The simplest option is

[Capistrano] Re: Command Not Found

2006-12-22 Thread Bolo
$ gem environment Rubygems Environment: - VERSION: 0.9.0 (0.9.0) - INSTALLATION DIRECTORY: /var/lib/gems/1.8 - GEM PATH: - /var/lib/gems/1.8 - REMOTE SOURCES: - http://gems.rubyforge.org If i understand all the path it's correct ? ps: I know it's not really a question on Capistrano

[Capistrano] Re: Command Not Found

2006-12-22 Thread Bolo
i see the post http://cwilliams.textdriven.com/articles/2006/10/27/getting-capistrano-to-play-with-oracle-on-red-hat-enterprise-linux where in actor.rb i put this code alias :run_without_env :run def run(cmd, options={}, block) cmd = -CMD BASH_ENV=.bashrc /bin/bash -c -- #{cmd} CMD