Added pg gemfile and cofigured database.yml for postgres instead of mysql