fix pkg bin
This commit is contained in:
4
dist/resources/pkg/foreman
vendored
4
dist/resources/pkg/foreman
vendored
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env ruby
|
||||
#!/usr/bin/ruby
|
||||
|
||||
require "pathname"
|
||||
bin_file = Pathname.new(__FILE__).realpath
|
||||
|
||||
gem_dir = File.expand_path("../vendor/gems", bin_file)
|
||||
gem_dir = File.expand_path("../../vendor/gems", bin_file)
|
||||
Dir["#{gem_dir}/**/lib"].each do |libdir|
|
||||
$:.unshift libdir
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user