0

Rails 2.0: Cannot freeze gems problem

Posted in RoR at December 10th, 2007 / No Comments »

Update 10/12/2007 : It’s fixed in edge changeset 8336, it make rails:freeze:gems work with RubyGems 0.9.5. You can update to edge or follow the change set to update your frameworks.rake

When I try to create my own Rails 2.0 API documentation for reference. I encounter the cannot freeze gems problem. After a little googling, I’ve found the temporary fix. Until there is a solution I’ll stick with this fix.

1. create a dummy_app

rails dummy_app

2. edit /Library/Ruby/Gems/1.8/gems/rails-2.0.1/lib/tasks/framework.rake, add the following below line 6

[original]
line 6: require ‘rubygems’

[Fix]
line 6: require ‘rubygems’
line 7: require ‘rubygems/gem_runner’

3. delete the empty directory under vendor directory

4. rake rails:freeze:gems

5. echo >vendor/rails/activesupport/README

6. rake doc:rails

7. There is no step 7.

0

Rails 2.0 Released

Posted in RoR at December 10th, 2007 / No Comments »

經過差不多一年的 Development effort,Rails 2.0 終於正式推出,Rails 2.0比上一版本 Rails 1.2改善了很多,例如 RESTful 的語法,Action Pack: Multiple View,Active Record 速度上的改進,更簡易的 Active Record: Migration,ActionController::HttpAuthentication 等。

詳情可以到 Rails 的 blog 看看。相信很多的 Rails 書也要跟著改版了,我想 AWDR 也很快會出第三版。

0

O’Reilly Books入手

Posted in Books at December 4th, 2007 / No Comments »

Javascript - The Definitive Guide 5th Ed.

CSS - The Definitive Guide 3rd Ed

RESTful Web Services

Ajax on Rails

Rails Cookbook

Ruby Cookbook

0

Rails 2.0 RC2 and Rails 1.2.6

Posted in RoR, Ruby at November 30th, 2007 / No Comments »

Rails Updated to 1.2.6, 1.2.6 is the stable version.

Rails 2.0 RC2 released, if there is no major issue in this version, Rails 2.0 will be released in a week or two.

0

Application Interface Design

Posted in Design at November 16th, 2007 / No Comments »

Garrett Dimon’s slides from WebJam Session ‘07

本港第一次的 BarCamp -  BarCamp Hong Kong 將於十二月 14-15 日在 Yahoo! 香港 Office 舉行,詳情可以到 http://barcamp.org/BarCampHongKong 看看。

至於什麼是 BarCamp 呢?可以到以下的 Wikipedia entry 看看。

http://en.wikipedia.org/wiki/Foo_Camp

http://en.wikipedia.org/wiki/Bar_camp

0

Rails 2.0 Release Candidate 1

Posted in RoR at November 10th, 2007 / No Comments »

Prototype 及 Script.aculo.us 剛剛推出了新的版本不夠兩日,就推出了 Rails 2.0 Release Candidate 1由 GemRails 升級到 EdgeRails,只要在你的 Rails Application Directory 打入

$ rake rails:freeze:edge TAG=rel_2-0-0_RC1

Rails 2.0 RC1 已包括了最新的 Prototype 及 Script.aculo.us。我想年底前應該就可以推出 Rails 2.0 的正式版本。Rails 2.0 RC1

看到 Rails , Active Record 及 Active Support 等的版本是 1.99.0 就表示已經成功upgrade 到 EdgeRails(Rails 2.0 RC1) 囉﹗

0

Prototype 1.6 and Script.aculo.us 1.8

Posted in RoR at November 8th, 2007 / No Comments »

Prototype 及 Script.aculo.us 剛剛推出了新的版本,分別是Prototype 1.6 及 Script.aculo.us 1.8,我想到 Ruby on Rails 推出 2.0 版本時應該會把 Prototype 及 Script.aculo.us 升級到這兩個版本。

0

升級到 Mac OS X 10.5 Leopard

Posted in Apple, OS X, RoR at October 30th, 2007 / No Comments »

剛剛升級到 Mac OS X 10.5 Leopard

升級到 Mac OS X 10.5 Leopard 的成本︰

Mac OS X 10.5 Leopard HKD 1,000.00
iLife 08 HKD 590.00
總數 HKD 1,590.00

Rails on Leopard
Leopard 預設已經安裝了 Ruby,Rails 等,但最近 Rails 推出了 1.2.4 及 1.2.5 兩個 bugfix 版本,所以要人手 update Rails。

$ gem update rails

Updated

0

Wii入手

Posted in Wii at October 27th, 2007 / No Comments »

今天買了 Wii