Created
May 26, 2015 06:38
-
-
Save pokka/2aead4a6cc1a358f21d5 to your computer and use it in GitHub Desktop.
brew&rvm
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
sudo mkdir /usr/local | |
sudo chown -R $USER /usr/local | |
curl -Lsf \ | |
http://github.com/mxcl/homebrew/tarball/master | \ | |
tar xvz -C /usr/local --strip 1 | |
mkdir -p ~/.rvm/src && cd ~/.rvm/src && rm -rf ./rvm && \ | |
git clone --depth 1 git://github.com/wayneeseguin/rvm.git && \ | |
cd rvm && ./install | |
# Add the following line to the end of your .profile or .bash_profile or .bashrc file. | |
if [[ -s $HOME/.rvm/scripts/rvm ]]; then | |
source $HOME/.rvm/scripts/rvm; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment