summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 9b8002a7db..2d8f1a52c4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -18,7 +18,7 @@
#
# we need this to resolve files required by lib/chef/dist
-$LOAD_PATH.unshift(File.expand_path("../chef-config/lib", __FILE__))
+$LOAD_PATH.unshift(File.expand_path('chef-config/lib', __dir__))
begin
require_relative "tasks/rspec"