Ruby 及 Ruby on Rails 的書

今天在 Amazon 訂了兩本書,一本是 Agile Web Development with Rails 第2版,這本書是上月中才正式推出,另一本是 Programming Ruby 第2版。準備要好好學習 RoR :)

Agile Web Development with Rails

Programming Ruby

Rails 1.2 正式推出

Ruby on Rails 1.2 版本正式推出,1.2版作出了很多的修改,其中最重要的要數 REST, Unicode Support 及 Prototype 1.5,這些修改也導致了 Agile Web Development with Rails 第2版延遲至上月中才正式推出。

Upgrade 的話只要跟着以下步驟即可:

$ gem install rails --include-dependencies -v=1.2.1

在 Mac OS X 建構 Ruby on Rails 開發環境

如果你是喜歡即食麵及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

RoR - Ruby on Rails

最近正在看 RoR 的資料,RoR 是近兩年冒起得最快的 Web Development Framework,所以這個 Blog 的 Update 會比較慢。Ruby 是由日本人松本行弘(まつもとゆきひろ)(Yukihiro Matsumoto)所開發的 Programming Language,最新版本是1.8.5,而 Ruby on Rails 則是由 David Heinemeier Hansson 所開發,專為 Web Application 開發的 Framwork,最新版本為1.1.6。

Ruby on Rails

Ruby