gettextでinternal server error
rails2.0は多くのプラグインが動作しないとのことで、ドキドキしながらgettextを導入してみました(プラグイン…ではないか)。
コントローラにアクセスすると500InternalServerError。
development.logは
/!\ FAILSAFE /!\ Tue Dec 11 01:13:58 +0900 2007 Status: 500 Internal Server Error You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[]
となっている。
http://zargony.com/2007/07/29/using-ruby-gettext-with-edge-rails/の方法でとりあえず回避。ここによると、Ruby 1.8.6-p26でこの問題は修正されているとのことだけど、開発マシンのfedoraにruby1.8.6を入れる方法がわからず。yumとかパッケージ管理システム苦手!