Try rake command instaed of psql