Capistrano deployment pathname error

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) && echo date +\"%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:inrequire’
    ** [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-----

Evan C. [email protected] writes:

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.)

it seems the ‘pathname’ file is missing. Do you have all the
dependencies of
Rails/Capistrano properly installed?
I think your app is OK, its just the installation of core libraries
which is
missing something.


Surendra S.
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| “All animals are equal, but some animals are more equal than others.”
| – Orwell, Animal Farm, 1945
`----

I concur –

have you ever run reaper locally? If you have ever “upgraded” rails
(some of us have recently), you may need to run:

rails .

on the current dir to replace the older script/process/reaper tasks.

I think they’ve been modified between versions. Also you could do:

sudo gem install capistrano --include-dependencies

or update instead of install. cheers.

On 8/12/06, Surendra S. [email protected] wrote:

missing something.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Charles Brian Q.
self-promotion: www.seebq.com
highgroove studios: www.highgroove.com
slingshot hosting: www.slingshothosting.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs