Using Rails 3 with Ruby 1.9

0 views
Skip to first unread message

Carl Jenkins

unread,
Sep 3, 2010, 11:53:28 AM9/3/10
to rubyonra...@googlegroups.com
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?
--
Posted via http://www.ruby-forum.com/.

Hassan Schroeder

unread,
Sep 3, 2010, 11:57:00 AM9/3/10
to rubyonra...@googlegroups.com
On Fri, Sep 3, 2010 at 8:53 AM, Carl Jenkins <li...@ruby-forum.com> 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. :-)

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan

Rails Surfer

unread,
Sep 3, 2010, 12:18:17 PM9/3/10
to rubyonra...@googlegroups.com
Carl Jenkins 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

Carl Jenkins

unread,
Sep 3, 2010, 12:28:21 PM9/3/10
to rubyonra...@googlegroups.com
Rails Surfer wrote:
> Carl Jenkins 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?

Felix Schäfer

unread,
Sep 3, 2010, 12:32:03 PM9/3/10
to rubyonra...@googlegroups.com

Am 03.09.2010 um 18:28 schrieb Carl Jenkins:

> Sorry, but what is rvm?

http://lmgtfy.com/?q=rvm

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

Felix

Rails Surfer

unread,
Sep 3, 2010, 12:35:19 PM9/3/10
to rubyonra...@googlegroups.com
Carl Jenkins wrote:
> Rails Surfer wrote:
>> Carl Jenkins 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.

Ar Chron

unread,
Sep 3, 2010, 11:26:14 PM9/3/10
to rubyonra...@googlegroups.com
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)

http://www.christopherirish.com/2010/08/25/how-to-install-rvm-on-ubuntu-10-04/

Carl Jenkins

unread,
Sep 6, 2010, 5:46:56 PM9/6/10
to rubyonra...@googlegroups.com


Clever.

radhames brito

unread,
Sep 6, 2010, 6:45:38 PM9/6/10
to rubyonra...@googlegroups.com
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


http://railscasts.com/episodes/200-rails-3-beta-and-rvm



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply all
Reply to author
Forward
0 new messages