I\'m running Ruby on Windows though I don\'t know if that should make a difference. All I want to do is get the current working directory\'s absolute path. Is this possible fr
Through this you can get absolute path of any file located in any directory.
File.join(Dir.pwd,'some-dir','some-file-name')
This will return
=> "/User/abc/xyz/some-dir/some-file-name"