mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-07 11:20:04 -04:00
22 lines
663 B
Ruby
22 lines
663 B
Ruby
$NetBSD: patch-test_rubygems_test__gem.rb,v 1.1 2015/12/30 14:59:42 taca Exp $
|
|
|
|
* Use vendordir instead of sitedir.
|
|
|
|
--- test/rubygems/test_gem.rb.orig 2015-12-16 05:07:31.000000000 +0000
|
|
+++ test/rubygems/test_gem.rb
|
|
@@ -660,12 +660,12 @@ class TestGem < Gem::TestCase
|
|
end
|
|
|
|
def test_self_prefix_sitelibdir
|
|
- orig_sitelibdir = RbConfig::CONFIG['sitelibdir']
|
|
+ orig_sitelibdir = RbConfig::CONFIG['vendorlibdir']
|
|
RbConfig::CONFIG['sitelibdir'] = @@project_dir
|
|
|
|
assert_nil Gem.prefix
|
|
ensure
|
|
- RbConfig::CONFIG['sitelibdir'] = orig_sitelibdir
|
|
+ RbConfig::CONFIG['vendorlibdir'] = orig_sitelibdir
|
|
end
|
|
|
|
def test_self_read_binary
|