0

我试图运行我的规范,但出现以下错误:

No DRb server is running. Running in local process instead ...

1) FinancialAccountsQuery parcial_future_releases LIMIT_DATE_FILTER transactions 
 Failure/Error: let(:financial_account) { FactoryGirl.create(:financial_account_with_church) }
 IOError:
   Couldn't load the Unicode tables for UTF8Handler (dump format error(0x6b)), ActiveSupport::Multibyte is unusable
 # ./spec/queries/financial_accounts_query_spec.rb:4:in `block (2 levels) in <top (required)>'
 # ./spec/queries/financial_accounts_query_spec.rb:106:in `create_transaction'
 # ./spec/queries/financial_accounts_query_spec.rb:8:in `block (3 levels) in <top (required)>'

我尝试使用 rake 删除所有数据库,然后使用anddb:drop再次创建它们,但似乎没有任何解决办法。rake db:createrake db:migrate

我的database.yml

development:
    adapter: "mysql2"
    encoding: "utf8"
    database: "ibc1"
    username: "root"
    password: ""
    host: 127.0.0.1

test:
  adapter: "mysql2"
  encoding: "utf8"
  database: "gi_test"
  username: "root"
  password: ""
  host: 127.0.0.1

任何人有任何想法来解决这个问题?谢谢 :)

4

0 回答 0