Gem install rails installs 0.13.1 instead of 0.14.2

Hi
I`m currently using rails 0.13.1 and plan to upgrade to 0.14.2 but am
stuck on the first page.
when i type in
gem install rails
gem insatlls rails 0.13.1. stumped i tried to search the available rails
version via
gem search rails --remote
n this is what it lists
*** REMOTE GEMS ***
Updating Gem source index for: http://gems.rubyforge.org

rails (0.14.3, 0.14.2, 0.14.1, 0.13.1, 0.13.0, 0.12.1, 0.12.0, 0.11.1,
0.11.0, 0
.10.1, 0.10.0, 0.9.5, 0.9.4.1, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.5,
0.8.0,
0.7.0, 0.6.5, 0.6.0)
Web-application framework with template engine, control-flow layer,
and ORM.

rails_analyzer_tools (1.1.0, 1.0.0)
Tools for analyzing the performance of web sites.

rails_product (0.6, 0.5)
Creates a ready-to-go productized Ruby on Rails application from a
single command (‘rails_product’).

RailsEditor (0.0.21)
A screen + vim IDE setup for editing a Rails tree
please help me out.
thanks
shodhan

Just type “sudo gem install rails --include-dependencies”. That will
get you everything you need to get going.

//jarkko

Ho
my machine doesnt seem to recognize sudo.
‘sudo gem update’ dint work either.
though ‘gem install rails -v 0.14.2 --remote’ did the trik.
thnk yew
shodhan

you possibly had a local copy of the 0.13.1 gem ?

yes, i was updating frm 0.13.1
shodhan

Make sure it gets you up to Rails 0.14.3. …2 had some serious bugs.

Jamie