Lee.Longmore-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2008-Dec-17 09:56 UTC
Upgrade to 2.2.2 - problem with existing Localization library
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
MaD
2008-Dec-17 10:24 UTC
Re: Upgrade to 2.2.2 - problem with existing Localization library
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, "Lee.Longm...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org" <Lee.Longm...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---