Trying to install and use ruby 1.9.2 on my server. Running Ubuntu 11.10.
$ rvm use 1.9.2
Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p180
$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
Wait…what?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Below are the steps for a fresh installation if you need it at any time:
bash -sk stable < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo ‘[[ -s “$HOME/.rvm/scripts/rvm” ]] && . “$HOME/.rvm/scripts/rvm” # Load RVM function’ >> ~/.bash_profile
source ~/.bash_profile
source /etc/profile.d/rvm.sh
rvm requirements #Lets you know the system dependencies and if you need to install any other libraries
rvm install 1.9.2-p290
rvm use 1.9.2 –default
rvm gemset create demo
rvm demo@1.9.2
then install rails
gem install rails -v=3.0.4
If at any time u mess up your rvm you can remove it using rvm implode or rm -rf ~/.rvm