lib/bundler/cli/cache.rb in bundler-2.2.0.rc.1 vs lib/bundler/cli/cache.rb in bundler-2.2.0.rc.2

- old
+ new

@@ -22,11 +22,11 @@ Bundler.settings.temporary(:cache_all_platforms => options["all-platforms"]) do Bundler.load.cache(custom_path) end end - private + private def install require_relative "install" options = self.options.dup options["local"] = false if Bundler.settings[:cache_all_platforms] @@ -35,14 +35,8 @@ def setup_cache_all all = options.fetch(:all, Bundler.feature_flag.cache_all? || nil) Bundler.settings.set_command_option_if_given :cache_all, all - - if Bundler.definition.has_local_dependencies? && !Bundler.feature_flag.cache_all? - Bundler.ui.warn "Your Gemfile contains path and git dependencies. If you want " \ - "to cache them as well, please pass the --all flag. This will be the default " \ - "on Bundler 3.0." - end end end end