Installing pre-requisites for successful Ruby install on Ubuntu via RVM
Since I am constantly forgetting to do this before compilation, I thought I would post about it in case it benefits others.
$ gem install rake
ERROR: Loading command: install (LoadError)
cannot load such file — zlib
Installing rvm and ruby requires various per-requisites, namely development libraries ruby builds against during compilation. The RVM site leads you towards installation via RVM package, which introduces a whole other set of sources. A better solution is installing the appropriate native packages beforehand.
See also: