News for hackers. Stuff that matters.
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by ballen on Tuesday September 29, 2009 @01:33PM (#850862)
Also why aren't we all using or moving to Ruby 1.9, instead of sticking with 1.8?
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by compay on Tuesday September 29, 2009 @02:39PM (#851000)
I think the main reason is simply that 1.8.6 has been "good enough" for most people. It reminds me a lot of Apache 1.3 vs. Apache 2.0.

For a long while, there were also no debuggers for 1.9.1, which is a big deal for some people. Mark Moseley has done a lot of work to get them working on 1.9.1 so luckily this isn't really a concern any more.

http://github.com/mark-moseley

I made Ruby 1.9 my default Ruby using Macports (using the +nosuffix variant) a few months ago. Other than finding a few trivial bugs in my code and some other people's, it's been painless; though of course your mileage may vary.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Tuesday September 29, 2009 @01:51PM (#850904)
I migrated my site to Ruby 1.9.1 about a month ago and it was mostly painless. It's now running up to 4x as fast for some requests!

It's finally time to start developing entirely in Ruby 1.9 guys. Trust me.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by defen on Tuesday September 29, 2009 @06:16PM (#851442)
What does your deployment look like? Nginx/Apache in front of Thin/Mongrel?
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Wednesday September 30, 2009 @02:56PM (#853347)
We've tried various deployments over the years with various levels of success.

Our 1.9 deployment is Nginx -> HaProxy -> Thin

I had trouble getting Mongrel to work in 1.9 (it was my favorite in 1.8) although apparently you can do it. Thin just worked(tm) so I switched to it painlessly.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by catch23 on Tuesday September 29, 2009 @09:16PM (#851694)
I'm guessing passenger... they've had support for 1.9 for some time now.
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Wednesday September 30, 2009 @02:57PM (#853353)
I ran Passenger for a while in the past but I really didn't like how it would pause every rails process briefly when spinning up a new instance. Maybe that's been fixed now.

Monit may be harder to set up, but it works very well once it's running.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by catch23 on Thursday October 01, 2009 @05:04PM (#855823)
you mean mongrel? Monit is a monitoring platform...
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Thursday October 08, 2009 @05:14PM (#870000)
Actually I meant Monit, sorry.

Ruby has a memory issue with long running processes. They seem to grow and grow and need to be restarted when they get out of hand. People commonly use Monit or God for this.

When you use Passenger, you can have it restart your processes after a certain amount of requests to prevent the memory leak issue, but when it happens it seems to block all requests to all processes for a short time, which is annoying to end users. It means your site can be speedy and zip along, then just pause.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by percept on Tuesday September 29, 2009 @04:57PM (#851308)
I did but was surprised how many others didn't (and still haven't). There were some hiccups but nothing insurmountable.

Of course I blew everything away upgrading to Snow Leopard so I'll have to replace/upgrade with 1.9 again (though I'm also considering Ruby Version Manager).

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by jherdman on Tuesday September 29, 2009 @01:38PM (#850877)
1.87 is a transitional release designed to ease some of the pain of moving to 1.9. Some gems and libraries, also, aren't fully 1.9 compatible. I think more so than even these is that getting people to change can be fairly difficult.
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by jamesbritt on Tuesday September 29, 2009 @07:35PM (#851575)
Folks can get an idea of the gem migration situation here:

http://isitruby19.com/

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by charlesju on Tuesday September 29, 2009 @05:42PM (#851379)
It's easier to development on proven technology than to upgrade sometimes, especially when there are tight product deadlines.

Also, running on a Mac, it is easier to use whatever Mac is using so that your code has less bugs across different dev machines.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by mikebo on Tuesday September 29, 2009 @06:35PM (#851487)
One of the big improvements ruby enterprise edition made is to make Ruby's GC copy on write friendly. This allows you to run a lot more ruby processes per frontend in a web environmet, since you're usually ram limited.

Afaik 1.9 didn't address this.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by vlod on Tuesday September 29, 2009 @04:24PM (#851249)
the reason for me is that (afaik) ruby-debug doesn't work with ruby 1.9.

im soo much more productive when i can set a break point and see why my flow isn't working.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by percept on Tuesday September 29, 2009 @04:48PM (#851293)
Hello, you can find a port here:

http://wiki.github.com/mark-moseley/ruby-debug

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by vlod on Tuesday September 29, 2009 @07:14PM (#851553)
fantastic! thnx