summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 71a3efd2a8..3a3caa9be2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,7 +11,13 @@ gem "chef", path: "."
gem "ohai", git: "https://github.com/chef/ohai.git", branch: "master"
gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))
-gem "chef-bin", path: File.expand_path("../chef-bin", __FILE__) if File.exist?(File.expand_path("../chef-bin", __FILE__))
+
+if File.exist?(File.expand_path("../chef-bin", __FILE__))
+ gem "chef-bin", path: File.expand_path("../chef-bin", __FILE__) # bundling in a git checkout
+else
+ gem "chef-bin" # bundling in omnibus
+end
+
gem "cheffish", "~> 14"
group(:omnibus_package) do