Fixed Gemfile configuration to use postgresql for production, Fixed config/database.yml for the same