Forum: Ruby on Rails script/generate not recognizing I18n

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Data (Guest)
on 2008-12-09 15:49
(Received via mailing list)

After creating a new, clean Rails-2.2.2 project and inserting

    I18n.default_locale = "de"

in config/environment.rb, the command


ends with

    .../config/environment.rb:76: uninitialized constant I18n

This is strange since I18n of rails-2.2.2 worked fine for me in
another project. Just `script/generate` complains.

Hints appreciated!
This topic is locked and can not be replied to.