aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/support/platforms.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 19:05:26 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:30:00 +0900
commit7255f55dba83aacbde76184aff965162e339ba2a (patch)
tree3ea69fd5c7a4883fe934ab15206b1861c76ff0d2 /spec/bundler/support/platforms.rb
parentd2d6d5c988b66cb110dbb07f92e08f231a31d6bc (diff)
downloadruby-7255f55dba83aacbde76184aff965162e339ba2a.tar.gz
[bundler/bundler] RUBY_ENGINE should always be defined after 1.8.7
https://github.com/bundler/bundler/commit/d6c9196d18
Diffstat (limited to 'spec/bundler/support/platforms.rb')
-rw-r--r--spec/bundler/support/platforms.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/platforms.rb b/spec/bundler/support/platforms.rb
index caac7734bf..153704e666 100644
--- a/spec/bundler/support/platforms.rb
+++ b/spec/bundler/support/platforms.rb
@@ -65,7 +65,7 @@ module Spec
end
def local_ruby_engine
- ENV["BUNDLER_SPEC_RUBY_ENGINE"] || (defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby")
+ ENV["BUNDLER_SPEC_RUBY_ENGINE"] || RUBY_ENGINE
end
def local_engine_version