diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 4cae6cd892..31b9517693 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -476,9 +476,6 @@ module Bundler end end - attr_reader :sources - private :sources - def nothing_changed? return false unless lockfile_exists? @@ -504,6 +501,8 @@ module Bundler private + attr_reader :sources + def should_add_extra_platforms? !lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform] end