This guide will go through installing the RVM (Ruby Version Manager), then a version of Ruby (1.9.3), then Rails and finally Bundler, and is specifically written for a development environment on Debian based systems.
Under no circumstance should you install Ruby, Rubygems or any Ruby-related packages from apt-get. This system is out-dated and leads to major headaches. Avoid it for Ruby-related packages.
We do Ruby, we know what's best. Trust us.
First of all, we’re going to run sudo apt-get update
so that we have the latest sources on our box so that we don’t run into any package-related issues, such as not being able to install some packages.