Ubuntu: Rails installation requires Ruby =>1.9.3 -


i'm having touble installing rails on new installation of ubuntu 12.04 lts. have rvm , rubygems 2.2.2 installed when go install rails error;

anesu@ubuntu:~$ gem install rails [sudo] password anesu: #i enter passsword here error:  error installing rails: activesupport requires ruby version >= 1.9.3. anesu@ubuntu:~$ ruby -v ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux] 

the ruby required installed. i've tried

gem install rails #without sudo 

but still same error. problem?

do have rvm in path? if not, add following line ~.bashrc file...

path=$path:$home/.rvm/bin 

be sure , open , close terminal after this. @ terminal should able type 'echo $path' , see rvm listed.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -