Created
July 21, 2010 19:25
-
-
Save davidray/484992 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dave@trisano-ee-trial-core:/opt/csi/trial/current$ rake db:create RAILS_ENV=production | |
(in /opt/csi/trial/current) | |
PGError: 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. | |
: CREATE DATABASE "trisano" ENCODING = 'utf8' | |
/opt/csi/trial/current/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log' | |
/opt/csi/trial/current/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:550:in `execute' | |
/opt/csi/trial/current/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:633:in `create_database' | |
/opt/csi/trial/current/vendor/rails/railties/lib/tasks/databases.rake:70:in `create_database' | |
/opt/csi/trial/current/vendor/rails/railties/lib/tasks/databases.rake:31 | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' | |
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 | |
/usr/local/bin/rake:19:in `load' | |
/usr/local/bin/rake:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment