summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/runtime/with_unbundled_env_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/runtime/with_unbundled_env_spec.rb b/spec/runtime/with_unbundled_env_spec.rb
index b901f28c8b..d6f186e27e 100644
--- a/spec/runtime/with_unbundled_env_spec.rb
+++ b/spec/runtime/with_unbundled_env_spec.rb
@@ -214,6 +214,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)
@@ -234,6 +236,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)
@@ -254,6 +258,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)