Using Rails 3 with Ruby 1.9

Can we use Ruby 1.9 and Rails 3 together? Last time I tried this Rails
became angry and told me I couldn’t (or shouldn’t).

So, maybe I am missing the blog entry on this subject, but when will
Ruby1.9 and Rails 3 play nice?

Carl J. wrote:

Can we use Ruby 1.9 and Rails 3 together? Last time I tried this Rails
became angry and told me I couldn’t (or shouldn’t).

So, maybe I am missing the blog entry on this subject, but when will
Ruby1.9 and Rails 3 play nice?

Yeah…But use 1.9.2 and rvm

Rails Surfer wrote:

Carl J. wrote:

Can we use Ruby 1.9 and Rails 3 together? Last time I tried this Rails
became angry and told me I couldn’t (or shouldn’t).

So, maybe I am missing the blog entry on this subject, but when will
Ruby1.9 and Rails 3 play nice?

Yeah…But use 1.9.2 and rvm

Sorry, but what is rvm?

Rails Surfer wrote:

Sorry, but what is rvm?

rvm is a god-send. It lets you maintain multiple ruby installs and
switch amongst them on command (among other things, like installed gem
sets), and you should definitely employ it.

I found this link enormously helpful (mainly because I use Ubuntu 10.04)

Am 03.09.2010 um 18:28 schrieb Carl J.:

Sorry, but what is rvm?

(it was the 3rd hit here, though I’d wager it might be the first in your
locale)

Felix

Carl J. wrote:

Rails Surfer wrote:

Carl J. wrote:

Can we use Ruby 1.9 and Rails 3 together? Last time I tried this Rails
became angry and told me I couldn’t (or shouldn’t).

So, maybe I am missing the blog entry on this subject, but when will
Ruby1.9 and Rails 3 play nice?

Yeah…But use 1.9.2 and rvm

Sorry, but what is rvm?

Ruby version manager

http://rvm.beginrescueend.com/

It´s not needed to install 1.9.2 but it can make life easier.

Felix Schäfer wrote:

Am 03.09.2010 um 18:28 schrieb Carl J.:

Sorry, but what is rvm?

LMGTFY - Let Me Google That For You

(it was the 3rd hit here, though I’d wager it might be the first in your
locale)

Felix

Clever.

ruby version manager, it install serverral ruby versions in isolated
environments so that you can have several version running with their own
gem
list and all, that way you can test new versions of rails if you want
and
not put your current system ruby environment in danger .

more info here

On Fri, Sep 3, 2010 at 8:53 AM, Carl J. [email protected]
wrote:

Can we use Ruby 1.9 and Rails 3 together? Last time I tried this Rails
became angry and told me I couldn’t (or shouldn’t).

So, maybe I am missing the blog entry on this subject, but when will
Ruby1.9 and Rails 3 play nice?

cf http://rubyonrails.org/download

“We recommend Ruby 1.8.7 or Ruby 1.9.2 for use with Rails.”

Seems pretty clear. :slight_smile:


Hassan S. ------------------------ [email protected]
twitter: @hassan