diff options
author | Brandon Fish <brandon.j.fish@oracle.com> | 2020-04-08 12:18:21 -0500 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 14:13:29 +0900 |
commit | 163539434701235b46ad14e10d573c0b85cb6b50 (patch) | |
tree | 8ea12826a8f5947a7281cc406c6c383845eeebe5 /test | |
parent | 90427875085f480c4c8e02d4252804cac29d7aaa (diff) |
[rubygems/rubygems] Update test_realworld_default_gem to use rubygems project sources
https://github.com/rubygems/rubygems/commit/7506f7eb07
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3092
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_require.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb index e6c69c8b87..6297f86fb4 100644 --- a/test/rubygems/test_require.rb +++ b/test/rubygems/test_require.rb @@ -391,7 +391,8 @@ class TestGemRequire < Gem::TestCase require "json" puts Gem.loaded_specs["json"] RUBY - output = Gem::Util.popen(Gem.ruby, "-e", cmd).strip + rubygems_libdir = File.expand_path('../../../lib', __FILE__) + output = Gem::Util.popen(Gem.ruby, "-I#{rubygems_libdir}", "-e", cmd).strip refute_empty output end |