Forum: Ruby on Rails NameError: uninitialized constant I18n

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Remco S. (Guest)
on 2009-01-23 09:53
Just installed the plugin as described on the link below.

http://factore.ca/on-the-floor/11-introducing-has-...

If i fire up my console and then:

I18n.default_locale = "en"

i got the error message:

NameError: uninitialized constant I18n
  from
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:278:in
`load_missing_constant'
  from
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:467:in
`const_missing'
  from
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:479:in
`const_missing'
  from (irb):1

Am i missing something here...a gem?

I use rails 2.2.

remco
This topic is locked and can not be replied to.