lib/bundler.rb in bundler-1.14.0.pre.2 vs lib/bundler.rb in bundler-1.14.0

- old
+ new

@@ -38,12 +38,10 @@ autoload :Injector, "bundler/injector" autoload :Installer, "bundler/installer" 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" autoload :RubyDsl, "bundler/ruby_dsl" autoload :RubyGemsGemInstaller, "bundler/rubygems_gem_installer" @@ -133,10 +131,10 @@ def locked_gems @locked_gems ||= if defined?(@definition) && @definition definition.locked_gems - elsif Bundler.default_lockfile.exist? + elsif Bundler.default_lockfile.file? lock = Bundler.read_file(Bundler.default_lockfile) LockfileParser.new(lock) end end