views:

332

answers:

4

I've been having trouble discerning which version/build of ruby to use with the most recent rails 3 beta. I was using 1.8.7 but over time the server would use too much memory and begin to slow down and eventually not work at all. Which version/build worked best for you?

A: 

1.9.1 is reportedly a lot faster.

fivetwentysix
A: 

One of the comments at http://weblog.rubyonrails.org/2010/2/5/rails-3-0-beta-release/ mentions the following:

Ruby1.9 Users Before installing Rails 3, upgrade your system, i.e.,:

gem update --system

If you used `rubygems-update’ instead, then you might want to uninstall that first:

gem uninstall rubygems-update
gem update --system

Hope this helps

Phillip Parker
A: 

This problem bit me in the posterior, I had to downgrade from 1.9.1 to 1.8.7:

https://rails.lighthouseapp.com/projects/8994/tickets/4414-rails3-segmentation-fault-remove_methodrb-when-you-have-a-library-module

ghoppe
A: 

1.8.7 or 1.9.2 I'd recommend jruby 1.8.7

rogerdpack