summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-06-27 09:39:41 +0000
committerBundlerbot <bot@bundler.io>2019-06-27 09:39:41 +0000
commit391b11966efb140a9ba204ca4e05ec7694296ce0 (patch)
tree821dd12761003abcda6790588e0cfb3271f6e1f3 /Rakefile
parent3b10d9714702edcba290c967671a0e201f594938 (diff)
parentd6c9196d184366694fafb4fedfd72ec375bebaf8 (diff)
downloadbundler-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--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 2aec87d06a..ffd59872d0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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}'"