Archive for October 24th, 2008

undefined method `init_gettext’ for ApplicationController:Class

In : ruby, Posted by on Oct.10, 2008

I just updated to rails 2.1.2 and see this error:

undefined method `init_gettext’ for ApplicationController:Class

To resolve it.

  1. make sure you have the latest gettext gems.
  2. if it does not help, try add this to the first line of your app/controllers/application.rb
    • require ‘gettext/rails’
Tags :