我试图运行我的规格但是我收到以下错误:
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 db:drop
删除所有数据库,然后使用rake db:create
和rake 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
任何人有任何想法解决这个问题? 谢谢:))