modified gemfile and config/database.yml for postgresql