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