Ruby does not like tilde for home directory.