diff options
-rw-r--r-- | lib/bundler/cli.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 7744a6f801..229ceb48be 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -718,6 +718,8 @@ module 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). |