On Jul 12, 4:45 pm, Roy Yu <[email protected]> wrote:
> Hi all,
>
> I'm a newbies for ruby and need some help for installation blocker.
>
> I have my ruby installed "ruby 1.9.2dev (2010-07-11 revision 28613)
> [i686-linux]"
>
> And then I install the rails
> sudo gem install rails --pre
>
> but when I do rails -v, it shows
> Rails 2.3.8
>
> [ Note: I've installed 2.3.8 few days ago. And today I tried to
> install the latest version. ]
>
> So how I can use the latest version instead of the version I installed
> few days ago??

First check to see what versions of Rails you have installed on your
computer
sudo gem list --local rails

Then you can choose what version of Rails you want to use
rails _2.3.8_ --version

Note: 2.3.8 is just an example. Put whatever version it is you want in
there.

You can also delete previous versions of rails
sudo gem cleanup

Hoped that helped.
Anon_comp

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

Reply via email to