Skip to content

Instantly share code, notes, and snippets.

@matschaffer
Created December 20, 2011 02:42
Show Gist options
  • Select an option

  • Save matschaffer/1499983 to your computer and use it in GitHub Desktop.

Select an option

Save matschaffer/1499983 to your computer and use it in GitHub Desktop.
Script to install ruby via RVM on Mac 10.7
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
brew install git
curl -LO https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg
open -W GCC-10.7-v2.pkg
brew install git
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> $HOME/.profile
source $HOME/.profile
rvm install 1.9.2
rvm use 1.9.2 --default
gem install rails --no-rdoc --no-ri
gem install sqlite3 --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment