今更rbenvでrubyを管理してみる
· 1 min read
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
exec $SHELL -l
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install --list
rbenv install 2.0.0-p247
rbenv rehash
rbenv versions
rbenv global 2.0.0-p247
rbenv local system
Comments
comments powered by Disqus