android.moparisthebest.org/source/docs/setup/rvm/index.markdown
2011-09-24 12:16:47 +02:00

959 B

layout title date sidebar footer
page Installing RVM September 19 2011 false false

RVM (Ruby Version Manager) handles the installation and management of multiple Ruby environments, and Octopress was designed to work in an RVM-controlled environment. Installation should be pretty smooth, but if you have trouble get help here.

Run this command to install RVM for your user account.

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

Next add RVM to your shell as a function.

echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
source ~/.bash_profile

# If using Zsh do this instead
echo '[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm' >> ~/.zshrc
source ~/.zshrc

Install Ruby 1.9.2 and ensure RVM has the latest RubyGems.

rvm install 1.9.2 && rvm use 1.9.2
rvm rubygems latest