From 7566c85cc02b464e74860b01905e5d70136d77e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 30 Jul 2021 12:40:42 +0200 Subject: [PATCH] [rubygems/rubygems] Use same criteria for ruby engine as in the final script https://github.com/rubygems/rubygems/commit/fcb8c3d188 --- lib/bundler/installer/standalone.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/installer/standalone.rb b/lib/bundler/installer/standalone.rb index 15551080eb..2668ae0d16 100644 --- a/lib/bundler/installer/standalone.rb +++ b/lib/bundler/installer/standalone.rb @@ -33,7 +33,7 @@ module Bundler end def version_dir - "#{Bundler::RubyVersion.system.engine}/#{RbConfig::CONFIG["ruby_version"]}" + "#{RUBY_ENGINE}/#{RbConfig::CONFIG["ruby_version"]}" end def bundler_path