PHP 8.2.31
Preview: path.rb Size: 637 B
//proc/thread-self/root/opt/alt/ruby40/share/gems/gems/bundler-4.0.10/lib/bundler/plugin/installer/path.rb

# 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 eql?(other)
          return unless other.class == self.class
          expanded_original_path == other.expanded_original_path &&
            version == other.version
        end

        alias_method :==, :eql?

        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

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
777 B lrw-r--r-- 2026-05-21 12:15:22
Edit Download
637 B lrw-r--r-- 2026-05-21 12:15:22
Edit Download
294 B lrw-r--r-- 2026-05-21 12:15:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).