I'm trying to use Capistrano to deploy an application that I only  
need to use locally onto OS X.  The cold deploy gets most of the way  
through until it hits a snag during the start task.  My spin script  
is set up to start a Mongrel cluster via the spawner script.  This is  
where I am having problems.  When I look at the nohup.out file I see:

/u/apps/xxx/current/script/process/../../config/boot.rb:18:in  
`require': No such file to load -- rubygems (LoadError)
         from /u/apps/xxx/current/script/process/../../config/boot.rb:18
         from /u/apps/xxx/current/script/process/spawner:2:in `require'
         from /u/apps/xxx/current/script/process/spawner:2

I can't figure out why boot.rb cannot find rubygems.  Rubygems is, of  
course, installed.  My app runs fine in development mode via port  
3000.  I've never had this problem when deploying onto a remote linux  
server.  During this exercise I've had to set a couple of Capistrano  
variables along the way (:scm_command and :rake).  I'm wondering if  
there is something I need to configure in Rails itself, for  
production mode, so that it can find rubygems.  In any case, it's  
time to call for help!

Any suggestions would be appreciated.

Keith

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to