summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-04-11 13:52:52 -0700
committerJohn Keiser <john@johnkeiser.com>2016-04-18 14:21:02 -0700
commit612932e984e4a210891e5d2d00d25723afd6b6a4 (patch)
treed2c8b9f1eb3b8002f61dd4dc82f4ad7564f43dae /Gemfile
parent257500a90a17e9604c798f2b73afd0ada5d42903 (diff)
downloadchef-612932e984e4a210891e5d2d00d25723afd6b6a4.tar.gz
Use locked dependencies to build chef
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index cfa05118d1..79589ea903 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,5 +1,8 @@
source "https://rubygems.org"
-gemspec name: "chef"
+# path is needed because when we attempt to load this gemspec to look at it from
+# another bundle, it will expand the path relative to the other bundle rather than
+# this file.
+gemspec path: File.dirname(__FILE__), name: "chef"
gem "activesupport", "< 4.0.0", group: :compat_testing, platform: "ruby"
gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))