File.absolute_path is different from MRI #1877

Closed
gutenye opened this Issue Aug 26, 2012 · 0 comments

Comments

Projects
None yet
1 participant

gutenye commented Aug 26, 2012

Ruby 1.9.3

File.absolute_path("fa")  -> "/home/fa"

Rubinus 2.0.0-dev

File.absolute_path("fa") -> "fa"
File.absolute_path("fa", ".") -> "/home/fa"

ghost closed this in 0023413 Aug 26, 2012

@roshats roshats added a commit to roshats/rubinius that referenced this issue Jun 26, 2014

@roshats Robert Gleeson + roshats Expand "~" from File.absolute_path properly.
Fixes #1877.
de39c17

@roshats roshats added a commit to roshats/rubinius that referenced this issue Jun 26, 2014

@roshats Robert Gleeson + roshats Add failing spec for #1877. eb87a1a

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment