summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 141d593266..e39a50a586 100644
--- a/Gemfile
+++ b/Gemfile
@@ -3,7 +3,7 @@ gemspec name: "chef"
gem "activesupport", "< 4.0.0", group: :compat_testing, platform: "ruby"
-gem "chef-config", path: "chef-config" if File.exist?(__FILE__ + "../chef-config")
+gem "chef-config", path: "chef-config" if File.exist?(File.expand_path("../chef-config", __FILE__))
# Ensure that we can always install rake, regardless of gem groups
gem "rake"