I've patched the plugin loader and related initializer test to resolve
a problem I ran into when upgrading a Rails 1.2.6 app to 2.2.2. I
would appreciate some folks trying it out. This is a quickie.

The problem: When starting up the console or server I kept getting a
LoadError message stating that all of my plugins were missing. It
looks like this: "Could not locate the following plugins:
acts_as_audited, acts_as_geocodable, acts_as_list, ...[long list of
plugins]".  After some debugging it turned out I actually had just one
plugin missing, despite the lengthy list in the message.

This patch changes #ensure_all_registered_plugins_are_loaded! to list
exactly the plugins that could not be loaded, rather than listing all
plugins. I believe this is what the method was originally intended to
do.

Has anyone else run into this? A typo in a plugin name within your
configuration.plugins list is sufficient to trigger it.

http://rails.lighthouseapp.com/projects/8994/tickets/1921-plugin-loader-lists-all-plugins-as-missing-when-only-one-is-missing

osh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to