Cogs and Levers A blog full of technical stuff

RVM & Debian

It’s always nice to have a sandboxed environment for all of your little projects. I know with how frequently I’m jumping between technologies on the same machine, I always like to use a sandbox technology of choice for the particular platform. This is a quick walk through on getting RVM up and running on a debian machine.

# First up, you need to download an install RVM:
$ curl -L get.rvm.io | bash -s stable

# Load RVM into your environment:
$ source ~/.rvm/scripts/rvm

# Check for additional requirements that rubies (you're about to install) need:
$ rvm requirements

It’s strongly advised that you follow the suggestions above for the Ruby(ies) that you want to run:

# Install the Ruby that you want to use:
$ rvm install 1.9.3

# Get Rubonic (yes, it's a word ... I ... I ... I think)
$ which ruby                      
/home/michael/.rvm/rubies/ruby-1.9.3-p327/bin/ruby

The basics of RVM