diff options
-rw-r--r-- | .azure-pipelines/steps.yml | 6 | ||||
-rw-r--r-- | spec/support/rubygems_ext.rb | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/.azure-pipelines/steps.yml b/.azure-pipelines/steps.yml index 3c8f2f9512..50e13fb499 100644 --- a/.azure-pipelines/steps.yml +++ b/.azure-pipelines/steps.yml @@ -10,12 +10,6 @@ steps: displayName: 'ruby -v + ridk version' - script: | - mkdir tmp - cd tmp - mkdir home - displayName: 'work around readline crash (for https://github.com/bundler/bundler/issues/6902)' - -- script: | bash .azure-pipelines\patch_readline.sh displayName: 'patch local readline implementation (for https://github.com/bundler/bundler/issues/6907)' diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb index aee1f85594..9bc3d3ccbe 100644 --- a/spec/support/rubygems_ext.rb +++ b/spec/support/rubygems_ext.rb @@ -67,6 +67,9 @@ module Spec manifest_path.open("w") {|f| f << manifest.join } end + FileUtils.mkdir_p(Path.home) + FileUtils.mkdir_p(Path.tmpdir) + ENV["HOME"] = Path.home.to_s ENV["TMPDIR"] = Path.tmpdir.to_s |