Forum: Rails-core (closed, excessive spam) FAILSAFE error after upgrade to Ruby 1.8.7

Posted by Xavier Noria (fxn)
on 2008-06-06 19:20
(Received via mailing list)
After I upgraded to Ruby 1.8.7 no request works (tested in a couple of
apps with different Rails versions):

http://pastie.org/210260

Does that ring any bell? I've diffed standard cgi.rb in
ruby-1.8.6-p114 and 1.8.7 and see nothing relevant.
Posted by Jeremy Kemper (Guest)
on 2008-06-06 21:47
(Received via mailing list)
On Fri, Jun 6, 2008 at 10:19 AM, Xavier Noria <fxn@hashref.com> wrote:
> After I upgraded to Ruby 1.8.7 no request works (tested in a couple of
> apps with different Rails versions):
>
> http://pastie.org/210260
>
> Does that ring any bell? I've diffed standard cgi.rb in
> ruby-1.8.6-p114 and 1.8.7 and see nothing relevant.

This is a bug in Ruby 1.8.7. It's fixed in svn but hasn't been released.

Rails 2.1 has a workaround and is fully 1.8.7 compatible (1.8.7
backports a lot of stuff from 1.9, breaking older apps).

I recommend staying on 1.8.6 for all pre-2.1 Rails apps.

jeremy
Posted by Xavier Noria (fxn)
on 2008-06-06 21:50
(Received via mailing list)
On Fri, Jun 6, 2008 at 9:46 PM, Jeremy Kemper <jeremy@bitsweat.net> 
wrote:
> This is a bug in Ruby 1.8.7. It's fixed in svn but hasn't been released.
>
> Rails 2.1 has a workaround and is fully 1.8.7 compatible (1.8.7
> backports a lot of stuff from 1.9, breaking older apps).
>
> I recommend staying on 1.8.6 for all pre-2.1 Rails apps.

Excellent, thank you Jeremy.
This topic is locked and can not be replied to.