Upgrade to 2.2.2 - problem with existing Localization library


#1

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:inconst_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:inrequire’
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:innew_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:ingem_original_require’
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require’
from script/server:3


#2

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”