diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-12-30 19:54:53 +0800 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-12-30 19:54:53 +0800 |
commit | 824c67ed21c296306c950f2d8bef837d19b74d6e (patch) | |
tree | e1a2d4cdf3632cefe0475f8d4c0d2ffc6e8b2007 | |
parent | 3f244c698d1db82d19e8cd660ae0c0f80960f8fe (diff) | |
download | bundler-seg-outdated-fips.tar.gz |
[CLI] Skip the outdated bundler check when MD5 is not availableseg-outdated-fips
-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). |