I am running Rails 2.1.0 and ruby-1.8.6 (2008-06-20 patchlevel 230
[i686-linux]. I am experiencing the same segmentation faults that
several others are who are running this version or ruby. Can anyone
recommend a good workaround for these bugs until the Rails Core Team
puts out something official?
Thanks!
Cheri
What exactly is throwing the seg faults?
Jason
On Jul 1, 2:25 pm, Jason Roelofs <jameskil...@gmail.com> wrote:
> Um, I somehow doubt it's Rails segfaulting. I'm running the same Ruby
> and Rails and have had no issues.
>
> What exactly is throwing the seg faults?
>
> Jason
>
- Cheri
On Jul 1, 2:31 pm, liquid_rails <cheri.anacle...@gmail.com> wrote:
> It's not Rails, it's Ruby. Seehttp://www.ruby-forum.com/topic/157034
I'll probably get smacked for this, but you could certainly try JRuby in
the meantime. We're not affected by those security issues and run Rails
2.1 fine...
Perhaps an opportunity to try something new?
- Charlie
Possible roadblock: You're using native-code libraries that do not have
JRuby analogues.
--
James Britt
www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
Yes, we plan to start adding 1.9 features over the summer and into fall,
with final support being ready around 1.9.1 release time at Christmas.
- Charlie
So a possibly vulnerable -p114 or a non-working -p230, nice.
Hmm, I didn't see problems locally because the ebuild for p230
includes a rollback patch that reverts change 15856. We'll see what
the official fix is, hopefully it's soon.
Jason
For what it's worth, JRuby will support both 1.8 and 1.9 in the same
distribution:
➔ jruby -help
Usage: jruby [switches] [--] [programfile] [arguments]
-0[octal] specify record separator (, if no argument)
-a autosplit mode with -n or -p (splits $_ into $F)
..
--1.8 specify Ruby 1.8.x compatibility (default)
--1.9 specify Ruby 1.9.x compatibility
--version print the version
- Charlie
If it segfaults and you did not investigate why you should assume it
is also vulnerable, although probably to a different thing.
Thanks
Michal