Skip to content

Instantly share code, notes, and snippets.

@pokka
Created May 26, 2015 06:38
Show Gist options
  • Save pokka/2aead4a6cc1a358f21d5 to your computer and use it in GitHub Desktop.
Save pokka/2aead4a6cc1a358f21d5 to your computer and use it in GitHub Desktop.
brew&rvm
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