lib/bundler/plugin/installer/path.rb
raw| 1 | # frozen_string_literal: true |
| 2 | |
| 3 | module Bundler |
| 4 | module Plugin |
| 5 | class Installer |
| 6 | class Path < Bundler::Source::Path |
| 7 | def root |
| 8 | SharedHelpers.in_bundle? ? Bundler.root : Plugin.root |
| 9 | end |
| 10 | |
| 11 | def generate_bin(spec, disable_extensions = false) |
| 12 | # Need to find a way without code duplication |
| 13 | # For now, we can ignore this |
| 14 | end |
| 15 | end |
| 16 | end |
| 17 | end |
| 18 | end |