Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
preserve Rails::Plugin::GemLocator in default_plugin_locators
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGuteMoritz committed Aug 28, 2009
1 parent bc5cd97 commit 2ebb65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# initialize Rails::Configuration with our own default values to spare users
# some hassle with the installation and keep the environment cleaner

{ :default_plugin_locators => [Engines::Plugin::FileSystemLocator],
{ :default_plugin_locators => (defined?(Gem) ? [Rails::Plugin::GemLocator] : []).push(Engines::Plugin::FileSystemLocator),
:default_plugin_loader => Engines::Plugin::Loader,
:default_plugins => [:engines, :all] }.each do |name, default|
Rails::Configuration.send(:define_method, name) { default }
Expand Down

0 comments on commit 2ebb65a

Please sign in to comment.