summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index b54411af4c..a147fc3435 100644
--- a/Rakefile
+++ b/Rakefile
@@ -17,6 +17,9 @@
# limitations under the License.
#
+# we need this to resolve files required by lib/chef/dist
+$LOAD_PATH.unshift(File.expand_path("../chef-config/lib", __FILE__))
+
begin
require_relative "tasks/rspec"
require_relative "tasks/dependencies"
@@ -27,6 +30,8 @@ rescue LoadError => e
puts "Skipping missing rake dep: #{e}"
end
+require "bundler/gem_helper"
+
ENV["CHEF_LICENSE"] = "accept-no-persist"
# hack the chef-config install to run before the traditional install task