Script/generate not recognizing I18n


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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs