summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 287bfccb49..f37bf469f2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -32,7 +32,9 @@ end
task install: :super_install
-Bundler::GemHelper.install_tasks name: "chef"
+# make sure we build the correct gemspec on windows
+gemspec = Gem.win_platform? ? "chef-universal-mingw32" : "chef"
+Bundler::GemHelper.install_tasks name: gemspec
task :pedant, :chef_zero_spec