summaryrefslogtreecommitdiff
path: root/spec/runtime/require_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 18:44:21 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-17 13:39:39 +0200
commitac655ffeda6433ce16f0013801c19ec361ce20a2 (patch)
treead832c359aa6b8595d222bbdcf2334f99784a75c /spec/runtime/require_spec.rb
parenta3d72a34aba89df3951fc629096b66b73bc56f95 (diff)
downloadbundler-ac655ffeda6433ce16f0013801c19ec361ce20a2.tar.gz
Remove unnecessary rubygems monkeypatch
Instead, make sure we always load the local copy of bundler during specs, and never end up using the default copy.
Diffstat (limited to 'spec/runtime/require_spec.rb')
-rw-r--r--spec/runtime/require_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/require_spec.rb b/spec/runtime/require_spec.rb
index 016fc14dfe..7874a86c32 100644
--- a/spec/runtime/require_spec.rb
+++ b/spec/runtime/require_spec.rb
@@ -193,7 +193,7 @@ RSpec.describe "Bundler.require" do
G
cmd = <<-RUBY
- require 'bundler'
+ require '#{lib}/bundler'
Bundler.require
RUBY
ruby(cmd)