Skip to content

Instantly share code, notes, and snippets.

@alvin2ye
Last active December 15, 2015 05:58
Show Gist options
  • Save alvin2ye/5212537 to your computer and use it in GitHub Desktop.
Save alvin2ye/5212537 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~
git clone git://github.com/sstephenson/rbenv.git .rbenv
mkdir ~/.rbenv/plugins
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $HOME/.bash_profile
echo 'eval "$(rbenv init -)"' >> $HOME/.bash_profile
source $HOME/.bash_profile
CONFIGURE_OPTS="--no-tcmalloc" rbenv install ree-1.8.7-2012.02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment