rbenvでrubyのversion管理をするよ

rbenvをcloneする $ cd ~/ $ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv 環境設定 $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc $ source ~/.bashrcこれでrbenvコマンドが使えます。 ruby-buildをclone $ cd ~/ $ git clone https://git…