ruby/lib/bundler/plugin/installer/path.rb
Cody Cutrer c5e661b1d7 [rubygems/rubygems] Fix installing plugins via relative paths
This affected both CLI and Gemfile installs

a0d101a8df
2024-04-11 19:35:28 +00:00

18 lines
412 B
Ruby

# frozen_string_literal: true
module Bundler
module Plugin
class Installer
class Path < Bundler::Source::Path
def root
SharedHelpers.in_bundle? ? Bundler.root : Plugin.root
end
def generate_bin(spec, disable_extensions = false)
# Need to find a way without code duplication
# For now, we can ignore this
end
end
end
end
end