diff options
author | Bundlerbot <bot@bundler.io> | 2019-06-27 09:39:41 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-06-27 09:39:41 +0000 |
commit | 391b11966efb140a9ba204ca4e05ec7694296ce0 (patch) | |
tree | 821dd12761003abcda6790588e0cfb3271f6e1f3 /Rakefile | |
parent | 3b10d9714702edcba290c967671a0e201f594938 (diff) | |
parent | d6c9196d184366694fafb4fedfd72ec375bebaf8 (diff) | |
download | bundler-391b11966efb140a9ba204ca4e05ec7694296ce0.tar.gz |
Merge #7223
7223: RUBY_ENGINE should always be defined after 1.8.7 r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that we have code checking that `RUBY_ENGINE` everytime it's used and I think it's unnecessary.
### What was your diagnosis of the problem?
My diagnosis was that every ruby implementation newer than 1.8 should define this.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the unnecessary code.
Co-authored-by: David RodrÃguez <deivid.rodriguez@riseup.net>
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ namespace :spec do end] # JRuby can't build ronn, so we skip that - deps.delete("ronn") if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby" + deps.delete("ronn") if RUBY_ENGINE == "jruby" gem_install_command = "install --no-document --conservative " + deps.sort_by {|name, _| name }.map do |name, version| "'#{name}:#{version}'" |