Created
December 20, 2011 02:42
-
-
Save matschaffer/1499983 to your computer and use it in GitHub Desktop.
Script to install ruby via RVM on Mac 10.7
This file contains hidden or 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
| /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