Installing Ruby 1.9.3 (in a usable state)
Out Of Date Warning
This article was published on 08/02/2012, this means the content may be out of date or no longer relevant.
You should verify that the technical information in this article is still up to date before relying upon it for your own purposes.
Here are some thoughts on how to install Ruby with rvm and most features on a Debian/Ubuntu plattform:
apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core \ zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 \ libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake \ libtool bison subversion bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) rvm install 1.9.3 rvm use 1.9.3 --default rvm use @global #using global gemset, which all gemsets inherit gem install bundler pry awesome_print nokogiri capistrano guard \ rspec rb-inotify guard-rspec
We also install RVM and compile the latest 1.9.3 branch and setting it to our shell’s default. Aftwards I install some gems which i need in almost every project.
Reposted from notes.it-jobs-und-stellen.de