# File lib/phusion_passenger/utils.rb, line 56 def canonicalize_path(path) raise ArgumentError, "The 'path' argument may not be nil" if path.nil? return Pathname.new(path).realpath.to_s rescue Errno::ENOENT => e raise InvalidPath, e.message end