Forum: Mongrel All mongrels crashing

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
611acadceb4672895b8f149b1063bfc7?d=identicon&s=25 Marc Willwacher (willwach)
on 2008-08-26 09:34
Hi,

I got a problem running a rails app on swiftiply (0.6.1.1)/mongrel
(1.1.4).
It's running on a Debian 4.0 Etch, rails 1.2.6, ruby 1.8.


Mostly its running fine, but sometimes ALL mongrels die with the
following  messages in mongrel.log

/var/lib/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:54:in
`escape': can't convert nil into String (TypeError)
        from
/var/lib/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:303:in
`join'
        from
/var/lib/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:303:in
`join'
        from
/var/lib/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:303:in
`each'
        from
/var/lib/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:303:in
`join'
        from
/var/lib/gems/1.8/gems/swiftiply-0.6.1.1/bin/mongrel_rails:145:in `run'
        from
/var/lib/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run'
        from
/var/lib/gems/1.8/gems/swiftiply-0.6.1.1/bin/mongrel_rails:252
        from /var/lib/gems/1.8/bin/mongrel_rails:18:in `load'
        from /var/lib/gems/1.8/bin/mongrel_rails:18

I can not reproduce this error. But think it has to do with
"Mongrel::Const::PATH_INFO" not set.
Would be fine if some knows how to fix this.

Many thanks,
marc
This topic is locked and can not be replied to.