diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 7744a6f8018..229ceb48bec 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -718,6 +718,8 @@ def warn_on_outdated_bundler command_name = current_command.name return if PARSEABLE_COMMANDS.include?(command_name) + return unless SharedHelpers.md5_available? + latest = Fetcher::CompactIndex. new(nil, Source::Rubygems::Remote.new(URI("https://rubygems.org")), nil). send(:compact_index_client).