summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index e42832c365..cacaee860d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -25,9 +25,11 @@ require_relative "tasks/announce"
# hack the chef-config install to run before the traditional install task
task :super_install do
- chef_config_path = ::File.join(::File.dirname(__FILE__), "chef-config")
- Dir.chdir(chef_config_path)
- sh("rake install")
+ %w{chef-helpers chef-config}.each do |gem|
+ path = ::File.join(::File.dirname(__FILE__), gem)
+ Dir.chdir(path)
+ sh("rake install")
+ end
end
task install: :super_install