rails new app=>
The current database.yml is like that=>
# SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your
development: adapter: postgresql encoding: utf8 database: name username: hading password: my_db_password host: localhost # not mandatory pool: 5 # not mandatory timeout: 5000 # not mandatory