undefined method `init_gettext’ for ApplicationController:Class

In : ruby, Posted by admin 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 :

 
close Reblog this comment
blog comments powered by Disqus