Permalink
Browse files

fix pkg bin

  • Loading branch information...
1 parent 5137605 commit ec7f4a480d53a390ae5b2a996a072384e6db3b98 @ddollar ddollar committed Sep 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 dist/resources/pkg/foreman
@@ -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

0 comments on commit ec7f4a4

Please sign in to comment.