class Bundler::Source::Path

def generate_bin(spec)

def generate_bin(spec)
  # HAX -- Generate the bin
  bin_dir = "#{Gem.dir}/bin"
  gem_dir = spec.full_gem_path
  installer = Gem::Installer.allocate
  installer.instance_eval do
    @spec     = spec
    @bin_dir  = bin_dir
    @gem_dir  = gem_dir
    @wrappers = true
    @env_shebang = false
    @format_executable = false
  end
  installer.generate_bin
end