summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb2
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).