class Bundler::Bundle
def generate_bins(bundle, options)
def generate_bins(bundle, options) bundle.each do |spec| next if spec.no_bundle? # HAX -- Generate the bin bin_dir = bindir path = gem_path gems_path = @gems_path installer = Gem::Installer.allocate installer.instance_eval do @spec = spec @bin_dir = bin_dir @gem_dir = gems_path.join(spec.full_name) @gem_home = path @wrappers = true @format_executable = false @env_shebang = false end installer.generate_bin end end