diff options
author | Bundlerbot <bot@bundler.io> | 2019-07-15 18:55:10 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-07-15 18:55:10 +0000 |
commit | 36ce7ccf84968d2a7f0eba98c605a5eac8e17e68 (patch) | |
tree | 806ecf4db84886f2b81164ad91de39d7ad7d3968 /lib/bundler/inline.rb | |
parent | 53bc81ecdf3e4a94c25a856c3227fb94d76c1769 (diff) | |
parent | 2a7a5daba077b9c626ca75ea0e802914c2e988b0 (diff) | |
download | bundler-36ce7ccf84968d2a7f0eba98c605a5eac8e17e68.tar.gz |
Merge #7239
7239: Fully remove compatibility guard r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that this code is untested and never run.
### What was your diagnosis of the problem?
My diagnosis was that we can remove it.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the code.
### Why did you choose this fix out of the possible options?
I actually intented to remove this in https://github.com/bundler/bundler/pull/6983, but after a discussing it with @simi I decided to keep it (see https://github.com/bundler/bundler/pull/6983#discussion_r259327593). After a second though I think this is safe to remove and that the potential use case (that the latest bundler is allowed to be installed by a really really old rubygems that didn't support ruby version constraints) is not a problem. The `required_ruby_version` constraint landed in [rubygems 0.6, 15 years ago](https://github.com/rubygems/rubygems/commit/240a9d3a3dc7211cad9680ce2579f502e215b519).
Co-authored-by: David RodrÃguez <deivid.rodriguez@riseup.net>
Diffstat (limited to 'lib/bundler/inline.rb')
-rw-r--r-- | lib/bundler/inline.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bundler/inline.rb b/lib/bundler/inline.rb index fed31ba4e3..c7c58de52b 100644 --- a/lib/bundler/inline.rb +++ b/lib/bundler/inline.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require_relative "compatibility_guard" - # Allows for declaring a Gemfile inline in a ruby script, optionally installing # any gems that aren't already installed on the user's system. # |