Created
November 8, 2011 03:59
-
-
Save parndt/1346958 to your computer and use it in GitHub Desktop.
Get up and running with ruby
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
0: install open source gcc "standalone" using OSX installer: | |
https://github.com/kennethreitz/osx-gcc-installer | |
1: install homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" | |
2: install rvm | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
MAKE SURE you follow the instructions about putting stuff in ~/.bashrc or ~/.bash_profile | |
Now, open a new terminal and: | |
3: install ruby 1.9.3 | |
rvm install 1.9.3 | |
(this should install p0, if not, your rvm is out of date and I'm lost) | |
Now, set up 1.9.3 to run default: | |
rvm --default 1.9.3 | |
4: install bundler | |
rvm use 1.9.3 | |
gem install bundler --pre | |
5: install mysql | |
brew install mysql | |
FOLLOW INSTRUCTIONS about auto-starting (run the commands) | |
brew link mysql | |
6: install postgresql | |
brew install postgresql | |
FOLLOW INSTRUCTIONS about auto-starting (run the commands) | |
brew link postgresql | |
Enjoy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment