16 lines
301 B
Ruby
16 lines
301 B
Ruby
#!/usr/bin/ruby
|
|
|
|
require "pathname"
|
|
bin_file = Pathname.new(__FILE__).realpath
|
|
|
|
gem_dir = File.expand_path("../../vendor/gems", bin_file)
|
|
Dir["#{gem_dir}/**/lib"].each do |libdir|
|
|
$:.unshift libdir
|
|
end
|
|
|
|
$:.unshift File.expand_path("../../lib", bin_file)
|
|
|
|
require "foreman/cli"
|
|
|
|
Foreman::CLI.start
|