While looking at a CI failure on the rubyzip gem, I found that an error
was generated from a line like this:
File.open(“data/generated/empty_chmod640.txt”, “w”) { |f| f.chmod(0640)
}
The error was: “RuntimeError: No such file or directory -
data/generated/empty_chmod640.txt”
The error was consistent in the test suite, but I was not able to
reproduce it outside of the test suite. A simple change fixed the
problem:
Could this be a JRuby bug? Are there any known related issues?