I have installed postgresql-9.2.4 from the source, now in rails app when I execute:
postgresql-9.2.4
rake db:create command I get:
rake db:create
$ bin/rake db
As for me, I just change the line from database.yml:
database.yml
encoding: unicode
to:
encoding: SQL_ASCII
just that and it all works.