Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Substitute Pathname to get tests to pass in ruby 1.9.3
Moved pathname.rb from ruby 1.9.2 into project in order to continue compatibility to 1.9.3 where the functionality has been moved into c. In the c version of the file, the unset_const trick doesn't work because the constant rb_cFile in the c file is never modified. I think this is actually a bug in how ruby MRI operates, but the fix is a little bit complicated.
- Loading branch information
1 parent
332735b
commit dc0d08d
Showing
4 changed files
with
873 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.