Skip to content

Instantly share code, notes, and snippets.

@Azolo
Created May 23, 2012 01:34
Show Gist options
  • Save Azolo/2772739 to your computer and use it in GitHub Desktop.
Save Azolo/2772739 to your computer and use it in GitHub Desktop.
File.realpath on Windows!
irb(main):063:0> File.realpath "./projects/Ruby/rubyinstaller/recipes/../readme.txt"
=> "C:/Users/Justin/projects/Ruby/rubyinstaller/readme.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment