summaryrefslogtreecommitdiff
path: root/spec/bundler/support/platforms.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/platforms.rb')
-rw-r--r--spec/bundler/support/platforms.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/bundler/support/platforms.rb b/spec/bundler/support/platforms.rb
index 153704e666..f4d63c8ded 100644
--- a/spec/bundler/support/platforms.rb
+++ b/spec/bundler/support/platforms.rb
@@ -71,16 +71,7 @@ module Spec
def local_engine_version
return ENV["BUNDLER_SPEC_RUBY_ENGINE_VERSION"] if ENV["BUNDLER_SPEC_RUBY_ENGINE_VERSION"]
- case local_ruby_engine
- when "ruby"
- RUBY_VERSION
- when "rbx"
- Rubinius::VERSION
- when "jruby"
- JRUBY_VERSION
- else
- RUBY_ENGINE_VERSION
- end
+ RUBY_ENGINE_VERSION
end
def not_local_engine_version