When I try to do a deployment with Capistrano I get the error “No such
file to load – pathname” when Cap tries to execute reaper. Any ideas
what’s causing this or how I can troubleshoot it? (Output follows.)
Thanks.
Evan
-----BEGIN OUTPUT-----
[evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy
(in /Users/evan/Desktop/asktheguys)
loading configuration
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
-
executing task deploy
** transaction: start -
executing task update_code
-
querying latest revision…
-
executing “if [[ ! -d
/Library/Rails/asktheguys/releases/20060811025111 ]]; then\n
/usr/local/bin/svn co -q -r7
svn://server.server.com/asktheguys/asktheguys
/Library/Rails/asktheguys/releases/20060811025111 &&\n
(test -e /Library/Rails/asktheguys//revisions.log || touch
/Library/Rails/asktheguys//revisions.log && chmod 666
/Library/Rails/asktheguys//revisions.log) && echodate +\"%Y-%m-%d %H:%M:%S\"
$USER 7 20060811025111 >>
/Library/Rails/asktheguys//revisions.log;\n fi”
servers: [“localhost”, “10.0.1.204”] -
establishing connection to gateway gateway.server.com
starting connection to gateway gateway.server.com
Password: ********gateway connection established
establishing connection to localhost via gateway
connection to localhost via gateway established
establishing connection to 10.0.1.204 via gateway
connection to 10.0.1.204 via gateway established
[localhost] executing command
[10.0.1.204] executing command
command finished -
executing “rm -rf
/Library/Rails/asktheguys/releases/20060811025111/log
/Library/Rails/asktheguys/releases/20060811025111/public/system &&\n
ln -nfs /Library/Rails/asktheguys/shared/log
/Library/Rails/asktheguys/releases/20060811025111/log &&\n ln -nfs
/Library/Rails/asktheguys/shared/system
/Library/Rails/asktheguys/releases/20060811025111/public/system”
servers: [“localhost”, “10.0.1.204”]
[localhost] executing command
[10.0.1.204] executing command
command finished -
executing task symlink
-
executing “ls -x1 /Library/Rails/asktheguys/releases”
servers: [“localhost”]
[localhost] executing command
command finished -
executing “ln -nfs /Library/Rails/asktheguys/releases/20060811025111
/Library/Rails/asktheguys/current”
servers: [“localhost”, “10.0.1.204”]
[localhost] executing command
[10.0.1.204] executing command
command finished
** transaction: commit -
executing task restart
-
executing “sudo
/Library/Rails/asktheguys/current/script/process/reaper”
servers: [“localhost”]
[localhost] executing command
** [out :: localhost]
/Library/Rails/asktheguys/current/script/process/…/…/config/boot.rb:7:in
require' ** [out :: localhost] : ** [out :: localhost] No such file to load -- pathname ** [out :: localhost] ( ** [out :: localhost] LoadError ** [out :: localhost] ) ** [out :: localhost] from /Library/Rails/asktheguys/current/script/process/../../config/boot.rb:7 ** [out :: localhost] from /Library/Rails/asktheguys/current/script/process/reaper:2:in
require’
** [out :: localhost] from
/Library/Rails/asktheguys/current/script/process/reaper:2
command finished
rake aborted!
command “sudo /Library/Rails/asktheguys/current/script/process/reaper”
failed on localhost
(See full trace by running task with --trace)
-----END OUTPUT-----