summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--test/rubygems/test_gem_specification.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 26db3bcd87..4eb5e2eb31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 18 15:02:15 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * test/rubygems/test_gem_specification.rb: '/' is not always the root.
+
Thu Sep 18 09:36:37 2014 Scott Francis <scott.francis@shopify.com>
* vm_method.c (Init_Method): make global method cache size
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 146e249381..dd626d9292 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -1820,7 +1820,7 @@ dependencies: []
@ext.require_paths = 'lib'
- assert_equal ['/foo/ext-1', 'lib'], @ext.require_paths
+ assert_equal [File.expand_path('/foo/ext-1'), 'lib'], @ext.require_paths
end
ensure
class << Gem