在 Mac OS X 建構 Ruby on Rails 開發環境
Posted by Steve | Filed under Apple, Development, Mac, RoR, Ruby
如果你是喜歡即食麵及want to keep your hands clean,你可以用 locomotive package 安裝,但如果你和我一樣,凡事都想自己動手的話請繼續看下去。 Are you ready to get your hand dirty?
基本上我都是根據 rubyonrails.org 上的步驟安裝,但好像 Rails 的中文 Document 並不多,所以我也都寫一寫安裝過程,以防自己的忘性 > 記性:
Requirement:
- Mac OS X 10.4 Tiger
- XCode 2.0 以上版本
XCode 是需要自行安裝,XCode 可在 OS X Disk 1 找到。
我們將會安裝以下的 Software:
- Ruby on Rails 1.1
- Ruby 1.8.5
- LightTPD 1.4.13
- MySQL 5.0.27
- FastCGI 2.4.0
- RubyGems 0.9.0
- Readline 5.1
- PCRE 6.6
- FastCGI and MySQL bindings