I will try and post there. I actually noticed that when I do the cap deploy
command I am getting an error when running the restart task. Does this also
commonly happen when the HTTP_HOST environment variable is not getting passed
to the dispatcher?
executing task restart
* executing "/home/luke/sjsnetworking.com/current/script/process/reaper"
servers: ["sjsnetworking.com"]
[sjsnetworking.com] executing command
** [out :: sjsnetworking.com] Couldn't find any pid file in
'/home/luke/sjsnetworking.com/current/tmp/pids' matching 'dispatch.[0-9]*.pid'
** [out :: sjsnetworking.com] (also looked for processes matching
"/home/lukecampbell/sjsnetworking.com/current/public/dispatch.fcgi")
command finished
Jamis Buck <[EMAIL PROTECTED]> wrote:
In my experience, the "private method `split'" errors usually happen
when the HTTP_HOST environment variable is not getting passed to the
dispatcher. As to why that might be happening (and assuming that IS
what is happening), I'm afraid I can't help you. :(
This is not really a capistrano question, though. You might want to
try posting it to the Rails-deploy mailing list (also on google).
- Jamis
On Sep 28, 2007, at 4:53 PM, bukaki wrote:
>
> I have set up my rails project on dreamhost using svn and capistrano.
> Everything has worked up to the point where I go to my url
> www.mydomain.com.
> Here I get an Internal server error 500 "The server encountered an
> internal error or misconfiguration and was unable to complete your
> request". In my dispatch.fastcgi.log the error below is displayed. I
> am guessing I have set up something wrong in my dispatch.fcgi file but
> i don't know what.
>
>
> [28/Sep/2007:10:46:41 :: 28651] Dispatcher failed to catch: private
> method `split' called for nil:NilClass (NoMethodError)
> /usr/lib/ruby/1.8/cgi.rb:897:in `parse'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
> cgi_ext/raw_post_data_fix.rb:45:in `initialize_query'
> /usr/lib/ruby/1.8/cgi.rb:2274:in `initialize'
> /usr/lib/ruby/1.8/fcgi.rb:594:in `new'
> /usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi'
> /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in
> `process_each_request!'
> /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in
> `process!'
> /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in
> `process!'
> dispatch.fcgi:34
> killed by this error
>
>
> >
---------------------------------
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---