Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Strange init.rb error

#1

Error happen if the project has restfull_authentification (RA) plugin

It happen for rails 2.0.2 and 2.1.0 on my machine. After when installed globalize truck, server works. But after install click to globalize I have this error:

/Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin/loader.rb:145:in `ensure_all_registered_plugins_are_loaded!': Could not locate the following plugins: globalize and restful_authentication (LoadError)

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin/loader.rb:36:in `load_plugins'

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:283:in `load_plugins'

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:138:in `process'

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:93:in `send'

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:93:in `run'

from /Users/valery/RubyProjects/wbt5/vendor/plugins/click_to_globalize/init.rb:7:in `evaluate_init_rb'

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb:95:in `evaluate_init_rb'

from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'

... 36 levels...

from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39

from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'

from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'

from script/server:3

That could happen if because (RA) plugin has no init.rb file. Just drop empty init.rb file into plugins folder help.

Reported by Valery Alex · June 27th, 2008 @ 01:04 PM

State: new
Milestone: none
Assigned to: Luca Guidi Luca Guidi

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.