#1 new
Valery Alex

Strange init.rb error

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

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.

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Click to Globalize is an extension for Globalize plugin, it allows to edit in place globalized labels. With this plugin you don't have to create a
globalization back-end, but just edit your interface in place!!

People watching this ticket