summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-09 15:11:45 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-09 15:40:56 -0700
commit3aacc9d3720ac69c3bd3df7b3f4425a1474b88c2 (patch)
treed65d938183ece9f800349d39e1ad6cc47be630ed
parentbd6f49e04f56729853f54f2d2d94356edc2c6e8c (diff)
downloadchef-3aacc9d3720ac69c3bd3df7b3f4425a1474b88c2.tar.gz
Avoid __dir__ in instance_evalfile
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--chef.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec
index 1ff409c8d3..77140a6b15 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -1,4 +1,4 @@
-$:.unshift(__dir__ + "/lib")
+$:.unshift(File.dirname(__FILE__) + "/lib")
require "chef/version"
Gem::Specification.new do |s|