summaryrefslogtreecommitdiff
path: root/omnibus/files/chef/build-chef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'omnibus/files/chef/build-chef.rb')
-rw-r--r--omnibus/files/chef/build-chef.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/omnibus/files/chef/build-chef.rb b/omnibus/files/chef/build-chef.rb
index a4a6becfdd..b0d41c185b 100644
--- a/omnibus/files/chef/build-chef.rb
+++ b/omnibus/files/chef/build-chef.rb
@@ -28,17 +28,9 @@ module BuildChef
#
# Get the (possibly platform-specific) path to the Gemfile.
- # /var/omnibus/cache/src/chef/Gemfile or
- # /var/omnibus/cache/src/chef/Gemfile.windows
#
def chef_gemfile
- gemfile = File.join(project_dir, "Gemfile")
- # Check for platform specific version
- platform_gemfile = "#{gemfile}.#{Omnibus::Ohai["platform"]}"
- if File.exist?(platform_gemfile)
- gemfile = platform_gemfile
- end
- gemfile
+ File.join(project_dir, "Gemfile")
end
#