aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bundler.rb2
-rw-r--r--lib/bundler/settings.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index d4837524..2cd8d991 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -40,8 +40,6 @@ module Bundler
autoload :LazySpecification, "bundler/lazy_specification"
autoload :LockfileParser, "bundler/lockfile_parser"
autoload :MatchPlatform, "bundler/match_platform"
- autoload :Mirror, "bundler/mirror"
- autoload :Mirrors, "bundler/mirror"
autoload :RemoteSpecification, "bundler/remote_specification"
autoload :Resolver, "bundler/resolver"
autoload :Retry, "bundler/retry"
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index b2136384..4ba7ab4a 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -3,6 +3,9 @@ require "uri"
module Bundler
class Settings
+ autoload :Mirror, "bundler/mirror"
+ autoload :Mirrors, "bundler/mirror"
+
BOOL_KEYS = %w(
allow_offline_install
auto_install