Wednesday, July 11, 2012

Re: [Rails] how to update rails 2 to rails 3

On Wed, Jul 11, 2012 at 9:28 AM, aldm alert <lists@ruby-forum.com> wrote:

> But then I try to install rails 3 with rvm gem install rails, it shows
> rails 3.2.6 is sucesfully installed but when I type rails -v it shows
> 2.8.6 again.
>
> When i type gem rails list it shows that 2.8.6 and 3.2.6 are installed,
> but how can I make terminal shows 3.2.6 when I run rails -v command?

If you're using rvm, you should create separate gemsets for Rails 2 and 3.
(And "2.8.6" isn't a version of Rails I've ever encountered...)

> Also how can I use jruby 1.6.5.1 as ruby 1.9?

jruby --1.9 # see also: jruby --help

> And how to create sucesfully new project specifzing version for example>
>
> rails _3.2.6_ new test
>
> When I try it shows me errors.

What errors, exactly?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate