summaryrefslogtreecommitdiff
path: root/spec/realworld
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/realworld
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/realworld')
-rw-r--r--spec/realworld/double_check_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/realworld/double_check_spec.rb b/spec/realworld/double_check_spec.rb
index 07593ac493..323e0d5735 100644
--- a/spec/realworld/double_check_spec.rb
+++ b/spec/realworld/double_check_spec.rb
@@ -25,9 +25,9 @@ RSpec.describe "double checking sources", :realworld => true, :sometimes => true
RUBY
cmd = <<-RUBY
- require "bundler"
+ require "#{lib}/bundler"
require #{File.expand_path("../../support/artifice/vcr.rb", __FILE__).dump}
- require "bundler/inline"
+ require "#{lib}/bundler/inline"
gemfile(true) do
source "https://rubygems.org"
gem "rails", path: "."