Can't setup Rails with RVM in ubuntu 12.04

Visto 38 veces
Saltar al primer mensaje no leído

haxuan lac

no leída,
29 may 2013, 8:55:0729/5/13
a rubyonra...@googlegroups.com
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.....

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

mike

no leída,
29 may 2013, 16:12:3929/5/13
a rubyonra...@googlegroups.com
This is odd.  Try the following:

gem install rails --version '3.2.13'

 

haxuan lac

no leída,
30 may 2013, 10:28:4130/5/13
a rubyonra...@googlegroups.com
Thanks .I had solved my problem.I using sudo gem install rails and some
command...

Colin Law

no leída,
30 may 2013, 17:11:0630/5/13
a rubyonra...@googlegroups.com
On 30 May 2013 15:28, haxuan lac <li...@ruby-forum.com> 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

haxuan lac

no leída,
31 may 2013, 7:45:4331/5/13
a rubyonra...@googlegroups.com
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
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos