Skip to content

Instantly share code, notes, and snippets.

View zhrivodkin's full-sized avatar

Max Tolkachev zhrivodkin

View GitHub Profile
///see also https://wiki.postgresql.org/wiki/Adventures_in_PostgreSQL%2C_Episode_1
======= Prolbem =================================================================================================================
I have installed : ruby-2.0.0,postgres-9.2 , now in rails app when I execute:
rake db:create , command I get:
PG::InvalidParameterValue: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.