Skip to content

Instantly share code, notes, and snippets.

@holysugar
Last active December 15, 2015 11:28
Show Gist options
  • Select an option

  • Save holysugar/5252746 to your computer and use it in GitHub Desktop.

Select an option

Save holysugar/5252746 to your computer and use it in GitHub Desktop.
rvm -> rbenv を cap shell でやってみる
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
for i in 1.9.3-p392 2.0.0-p0; do ~/.rbenv/bin/rbenv install $i; done
for i in 1.9.3-p392 2.0.0-p0; do RBENV_VERSION=$i ~/.rbenv/shims/gem install bundler; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment