I'm trying to run the rails test suite but I keep getting this error:
$ bundle exec rake postgresql:build_databases
createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US
DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1.
createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US
DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1.
I'm running into the same problem. Did you ever find a fix?