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