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…

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

On Wednesday, May 29, 2013 8:55:07 AM UTC-4, Ruby-Forum.com User wrote:

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…


Posted via http://www.ruby-forum.com/.

This is odd. Try the following:

gem install rails --version ‘3.2.13’

Go thorough this:

On 30 May 2013 15:28, haxuan lac [email protected] wrote:

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