class Bundler::Environment
def load_paths_for_specs(specs, options)
def load_paths_for_specs(specs, options) load_paths = [] specs.each do |spec| next if spec.no_bundle? full_gem_path = Pathname.new(spec.full_gem_path) load_paths << load_path_for(full_gem_path, spec.bindir) if spec.bindir spec.require_paths.each do |path| load_paths << load_path_for(full_gem_path, path) end end load_paths end