diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -40,7 +40,7 @@ namespace :pre_install do %w{chef-utils chef-config}.each do |gem| path = ::File.join(::File.dirname(__FILE__), gem) Dir.chdir(path) do - sh("rake install") + system "rake install" end end end @@ -61,16 +61,16 @@ end # hack in all the preinstall tasks to occur before the traditional install task task install: "pre_install:all" - # make sure we build the correct gemspec on windows -gemspec = Gem.win_platform? ? "chef-universal-mingw32" : "chef" +gemspec = Gem.win_platform? ? "chef-universal-mingw-ucrt" : "chef" + Bundler::GemHelper.install_tasks name: gemspec # this gets appended to the normal bundler install helper task :install do chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin") Dir.chdir(chef_bin_path) do - sh("rake install:force") + system "rake install:force" end end @@ -80,7 +80,7 @@ namespace :install do task :local do chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin") Dir.chdir(chef_bin_path) do - sh("rake install:local") + system "rake install:local" end end end |