From: Shota Fukumori Date: 2010-10-26T20:32:30+09:00 Subject: [ruby-dev:42459] [Ruby 1.9-Bug#3985] test_pathname fail on OSX via cron チケット #3985 が更新されました。 (by Shota Fukumori) sora_hです。 以下パッチのほうが効果的かもしれません。 diff --git test/pathname/test_pathname.rb test/pathname/test_pathname.rb index 235d0fb..ea709c3 100644 --- test/pathname/test_pathname.rb +++ test/pathname/test_pathname.rb @@ -309,6 +309,7 @@ class TestPathname < Test::Unit::TestCase def with_tmpchdir(base=nil) Dir.mktmpdir(base) {|d| d = Pathname.new(d).realpath.to_s + File.chown(-1, Process.gid, d) Dir.chdir(d) { yield d } ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3985 ---------------------------------------- http://redmine.ruby-lang.org