stephen.celis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-15 15:41 UTC
Rails Capistrano Joyent deployment...failure at the last second!
Help! Problems at the last second! After some toiling, I managed to get everything installed on a Joyent Accelerator; "mongrel_rails" installed in the "/opt/csw/bin/" directory, so I had to modify my "deploy.rb" file accordingly: set :mongrel_rails, "/opt/csw/bin/" It executes, but this is where the problems come: * executing task start_mongrel_cluster * executing "/opt/csw/bin/mongrel_rails cluster::start -C /home/ mysite.com/rails/current/config/mongrel_cluster.yml" servers: ["www.mysite.com"] [www.mysite.com] executing command ** [out :: www.mysite.com] starting port 8000 ** [out :: www.mysite.com] sh: ** [out :: www.mysite.com] myprivateip: ** [out :: www.mysite.com] not found ** [out :: www.mysite.com] sh: mongrel_rails: not found ** [out :: www.mysite.com] starting port 8001 ** [out :: www.mysite.com] sh: myprivateip: ** [out :: www.mysite.com] not found ** [out :: www.mysite.com] sh: mongrel_rails: not found ** [out :: www.mysite.com] ** [out :: www.mysite.com] starting port 8002 ** [out :: www.mysite.com] sh: myprivateip: not found ** [out :: www.mysite.com] sh: mongrel_rails: not found ** [out :: www.mysite.com] starting port 8003 ** [out :: www.mysite.com] sh: myprivateip: ** [out :: www.mysite.com] not found ** [out :: www.mysite.com] sh: mongrel_rails: ** [out :: www.mysite.com] not found command finished It looks like the command runs, but when it tries to set up individual instances, it forgets the path from the "deploy.rb" file. Also noted: "myprivateip" is, according to Joyent and the following site, a command that should hook up the IP address correctly, but it too appears to be failing. Ref: http://wiki.joyent.com/accelerators:apache_rails_mongrel?s=private I''d love any insight! S --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---