From 51aaed128a7949fffdc5847ee1949e4b2acc86ff Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Tue, 23 Jul 2019 13:56:01 +0200 Subject: [bundler/bundler] Skip specs using `Process.fork` on Windows https://github.com/bundler/bundler/commit/ebcb25a3c3 --- spec/bundler/runtime/with_unbundled_env_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/bundler/runtime/with_unbundled_env_spec.rb b/spec/bundler/runtime/with_unbundled_env_spec.rb index d5eed096c2..30e8518043 100644 --- a/spec/bundler/runtime/with_unbundled_env_spec.rb +++ b/spec/bundler/runtime/with_unbundled_env_spec.rb @@ -218,6 +218,8 @@ RSpec.describe "Bundler.with_env helpers" do end it "runs exec inside with_original_env" do + skip "Fork not implemented" if Gem.win_platform? + lib = File.expand_path("../../lib", __dir__) system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'") expect($?.exitstatus).to eq(0) @@ -238,6 +240,8 @@ RSpec.describe "Bundler.with_env helpers" do end it "runs exec inside with_clean_env" do + skip "Fork not implemented" if Gem.win_platform? + lib = File.expand_path("../../lib", __dir__) system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'") expect($?.exitstatus).to eq(1) @@ -258,6 +262,8 @@ RSpec.describe "Bundler.with_env helpers" do end it "runs exec inside with_clean_env" do + skip "Fork not implemented" if Gem.win_platform? + lib = File.expand_path("../../lib", __dir__) system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'") expect($?.exitstatus).to eq(1) -- cgit v1.2.3