Virtual Box に Ubuntu 12.4 を入れて、それに rbenv で各種Ruby をインストールしたので、その方法のメモ。 sudo aptitude install libssl-dev libyaml-dev libreadline-dev zlib1g-dev sudo aptitude install libncurses5-dev libgdbm-dev tk-dev # for maglev sudo aptitude install build-essential # for java sudo aptitude install openjdk-7-jre-headless openjdk-7-jdk # for git sudo aptitude install git-all # for rbenv sudo aptitude install rbenv