http://blog.teamtreehouse.com/installing-ruby-rails-and-mysql-on-os-x-lion
http://ryanbigg.com/2011/06/mac-os-x-ruby-rvm-rails-and-you/
http://coderwall.com/p/fywjrw
xcode - app store
(need to install after download completed: open xcode in application, ...)
xocde - go to preference -> download -> command line tools
(try $gcc -v to ensure it works.)
Install the followings using su login:
homebrew - http://mxcl.github.com/homebrew/
gcc (non-LLVM) -
brew tap homebrew/dupes
brew install apple-gcc42
xquartz - apple's X11
http://xquartz.macosforge.org/landing/
git - brew install git
Install the followings using local login:
rvm - $ curl -L https://get.rvm.io | bash -s stable --ruby
CPPFLAGS=-I/opt/X11/include CC=/usr/local/bin/gcc-4.2 rvm install --force ree
Install the followings using su login:
postgresql - brew install postgresql
or
mysql - brew install mysql
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.