I\'m importing an existing rails project that I was working on into my new arch linux system, I already installed all gems and postgresql correctly, but I having some issues whe
To fix this in Rails, I've found that you can simply add the following line to each section (development/production etc.) of your database.yml file:
database.yml
template: template0
See ActiveRecord/ConnectionAdapters/PostgreSQL/SchemaStatements#create_database for other options.