- aka rvm
2011-03-07 or earlier ∞
\sudo \apt-get install curl \bash < <( \curl http://rvm.beginrescueend.com/releases/rvm-install-head )
~/.zshrc and appended:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
Install Ruby with rvm:
\rvm install 1.8.7 # (this did 1.8.7-p334) \rvm install 1.9.2 # (this did 1.9.2-p180)
To use, do one of:
\rvm use 1.8.7
\rvm use 1.9.2
Update rvm with:
\rvm get head && \rvm reload
Mentee attempts ∞
It worked fine for me. For my mentee his first attempt tried and failed. Gems wouldn't install. Instead, it was recommended he run bootstrap_rails_environment, but that failed too.
This stuff worked http://rvm.beginrescueend.com/packages/zlib/:
rvm package install zlib sudo apt-get install \ g++ \ libgl1-mesa-dev \ libpango1.0-dev \ libboost-dev \ libsdl-mixer1.2-dev \ libsdl-ttf2.0-dev rvm use 1.9.2 gem install gosu