Forum: Ruby on Rails Upgrade to 2.2.2 - problem with existing Localization library

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.
(Guest)
on 2008-12-17 11:57
(Received via mailing list)
I upgraded my application to Rails 2.2.2 from 1.2.6 last night.

I encountered a problem with the Localization library (1.0.7) that I
installed at the time of installing SaltedHashLoginGenerator (requires
Localization). Error message below. Error occurs when I fire up
WeBrick.

Is there a new localization feature in Rails 2 that is causing a
problem?

Thanks!

****

/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:442:in `load_missing_constant': uninitialized constant
Localization::CONFIG (NameError)
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:77:in `const_missing'
    from /home/leelon/workspace/pingi/lib/localization.rb:85
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
    from /home/leelon/workspace/pingi/app/controllers/application.rb:4
     ... 33 levels...
    from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/
server.rb:49
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
    from script/server:3
MaD (Guest)
on 2008-12-17 12:25
(Received via mailing list)
yes there is. but it's not (only) causing problems, but adding a
translation feature. imho it's actually nice to have.

check out railscasts to learn more about i18n:
http://railscasts.com/episodes/138-i18n

On 17 Dez., 10:56, "removed_email_address@domain.invalid"
This topic is locked and can not be replied to.