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
Simply:
development: adapter: postgresql encoding: unicode database: blog_development pool: 5 username: blog password: host: localhost
Source: Configuring Rails Applications