Can't setup Rails with RVM in ubuntu 12.04

I'm doing setu Ruby on Rails with RVM.

I had setup ruby 1.9.3 p429 and RVM,RubyGem... succesfully

But I can't setup Rails with command : gem install rails because of error:

ERROR: While executing gem ... (Gem::DependencyError)     Unable to resolve dependencies: rails requires activesupport (= 3.2.13), actionpack (= 3.2.13), activerecord (= 3.2.13), activeresource (= 3.2.13), actionmailer (= 3.2.13), railties (= 3.2.13) and Rails is 2.3.14

please help me solve this problem.Thanks.....

This is odd. Try the following:

gem install rails --version ‘3.2.13’

Thanks .I had solved my problem.I using sudo gem install rails and some command...

If you are using rvm you should /not/ use sudo with gem install.

Colin

Thanks Colin,Mike I had done with instruction of You.And i tried with gem install rails --version '3.2.13' and add : [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" to Bashrc file This run.Thanks a lot