Use Dir.pwd to get the current directory