Gem is installed, but...no such file to load -- localization

Hi all,

This problem is driving me crazy. I have re-uploaded my rails
application from localhost to the server, and rails refuses to start.
The plugin “localization” seems to be the problem.
However, it works on localhost, and it is successfulle installed on the
server (it worked before). I really need some help here :frowning:

My “development.log” says:
no such file to load – localization

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
`new_constants_in’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require’

…/config/…/app/controllers/application.rb:3

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in
`load_without_new_constant_marking’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in
`load_file’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
`new_constants_in’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:202:in
`load_file’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:94:in
`require_or_load’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:60:in
`depend_on’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:442:in
`require_dependency’

/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:110:in
`prepare_application’

/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:39:in
`dispatch’

dispatch.cgi:10

Thanks in advance!

I found the error! The reason the server wouldn’t start was that I have
the “Debugger” gem installed on localhost, but not on the server.
Deleting all references to debugger in my enviroment.rb solved it!

Thanks to the error message “no such file to load – localization” for
sending me off on a 4 hour wild goose chase! Grrr.

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