Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

[CLI] Skip the outdated bundler check when MD5 is not available #6238

Merged
merged 1 commit into from
Jan 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/bundler/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down