class Bundler::Standalone
def paths
def paths @specs.map do |spec| next if spec.name == "bundler" Array(spec.require_paths).map do |path| gem_path(path, spec). sub(version_dir, '#{RUBY_ENGINE}/#{Gem.ruby_api_version}'). sub(extensions_dir, 'extensions/\k<platform>/#{Gem.extension_api_version}') # This is a static string intentionally. It's interpolated at a later time. end end.flatten.compact end