From 8fa32171addbaf2767ce3e93527b44df42b380fb Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 23 Aug 2018 15:42:29 -0700 Subject: Build the appropriate chef gem on Windows This allows us to remove similar logic from the omnibus-software definition and allows this rake command to actually work for developers on Windows. Signed-off-by: Tim Smith --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Rakefile') 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 -- cgit v1.2.1