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 haven't tried with rake db:setup on a rails app. This is a setup I'm trying in order to run all of the Rails test suite against itself. In order to get it to run the postregsql tests this database has to exist.