diff options
| -rw-r--r-- | spec/bundler/support/hax.rb | 6 | ||||
| -rw-r--r-- | test/rubygems/helper.rb | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/spec/bundler/support/hax.rb b/spec/bundler/support/hax.rb index 772a125ec7..46718f5fa4 100644 --- a/spec/bundler/support/hax.rb +++ b/spec/bundler/support/hax.rb @@ -66,3 +66,9 @@ module Gem Socket.singleton_class.prepend FakeResolv end end + +# mise installed rubygems_plugin.rb to system wide `site_ruby` directory. +# This empty module avoid to call `mise` command. +module ReshimInstaller + def self.reshim; end +end diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index af78bab724..2f4abff1e8 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -1578,3 +1578,9 @@ class Object end require_relative "utilities" + +# mise installed rubygems_plugin.rb to system wide `site_ruby` directory. +# This empty module avoid to call `mise` command. +module ReshimInstaller + def self.reshim; end +end |
