Sha256: 816bfd60d5a0cc39f97fa45d43951e0adf3c19be65f8f1d8ada7b08f0801faa4
Contents?: true
Size: 577 Bytes
Versions: 2
Compression:
Stored size: 577 Bytes
Contents
#!/usr/bin/env ruby # This is not actually required by the actual library # loads the bundled environment require 'rubygems' begin require 'bundler/setup' rescue LoadError # Let's not complain if bundler isn't around end base = File.basename($0) paths = ENV['PATH'].split(File::PATH_SEPARATOR) here = File.expand_path(File.dirname(__FILE__)) gem_stub = paths.find do |path| path = File.expand_path(path) next if path == here File.exist?("#{path}/#{base}") end if gem_stub load "#{gem_stub}/#{base}" else abort "The gem stub #{base} could not be found" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bundler-1.0.0.beta.2 | lib/bundler/templates/Executable |
bundler-1.0.0.beta.1 | lib/bundler/templates/Executable |