summaryrefslogtreecommitdiff
path: root/bin/ohai
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ohai')
-rwxr-xr-xbin/ohai2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ohai b/bin/ohai
index 840505fe..06024da1 100755
--- a/bin/ohai
+++ b/bin/ohai
@@ -18,7 +18,7 @@
#
# if we're in a source code checkout, we want to run the code from that.
-$:.unshift File.expand_path("../../lib", __FILE__)
+$:.unshift File.expand_path("../lib", __dir__)
require "ohai/application"
Ohai::Application.new.run