Skip to content

Instantly share code, notes, and snippets.

@corrupt952
Created February 24, 2014 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corrupt952/9180912 to your computer and use it in GitHub Desktop.
Save corrupt952/9180912 to your computer and use it in GitHub Desktop.
rbenvのインストールスクリプト
#!/bin/bash
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
mkdir -p ~/.rbenv/plugins
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo "export PATH=\"~/.rbenv/bin:~/.rbenv/shims:\$PATH\"" >> ~/.bash_profile
echo 'rbenv init - >> /dev/null' >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment