linux - Installing Ruby 1.9.2 on Ubuntu via RVM -


Trying to install and use Ruby 1.9.2 on my server. Running Ubuntu 11.10

  $ rvm Usage 1.9.2 /usr/share/ruby-rvm/gems/ruby-1.9.2-p180 $ ruby ​​-v Ruby 1.8.7 (2011- 06- 30 patchlay 352) [i686-linux]   

Wait ... what?

If you need it at any time, the steps for fresh installation are given below: / P>

bash -sk static & lt; & Lt; (Curl-sk)

echo '[[-s "$ HOME / .rvm / scripts / rvm"]] & amp; Amp; . "$ HOME / .rvm / scripts / rvm" # Load RVM Function "& gt; ~ / .bash_profile

Source ~ / .bash_profile

Source /etc/profile.d /rvm.sh

rvm requirements # You know system dependencies and if you need to install any other libraries

rvm install 1.9.2-p290 < P> rvm use 1.9.2 --default

rvm gemset demo

rvm demo@1.9.2

then install rail

Gem Installed Rail -v = 3.0.4

If you mess up your RVM at any time, you can call it RVM Impooda or RM-RF ~ / .rvm

Comments