summaryrefslogtreecommitdiff
path: root/spec/support/platforms.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/platforms.rb')
-rw-r--r--spec/support/platforms.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/platforms.rb b/spec/support/platforms.rb
index caac7734bf..153704e666 100644
--- a/spec/support/platforms.rb
+++ b/spec/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