Created
June 24, 2014 09:24
-
-
Save kmmndr/0bf7d69d8edad346ff72 to your computer and use it in GitHub Desktop.
quickly install a new ruby environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TOOLS_DIR=~/work/tools | |
export PREFIX=$HOME/.local | |
mkdir -p $PREFIX | |
mkdir -p $TOOLS_DIR | |
cd $TOOLS_DIR | |
# ry / ruby version manager | |
git clone git://github.com/jayferd/ry $TOOLS_DIR/ry | |
pushd $TOOLS_DIR/ry | |
make install | |
popd | |
# ruby-build | |
git clone https://github.com/sstephenson/ruby-build.git $TOOLS_DIR/ruby-build | |
pushd $TOOLS_DIR/ruby-build | |
./install.sh | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment