ActiveSupport::Multibyte is unusable

307 views
Skip to first unread message

Henry Maddocks

unread,
Sep 17, 2009, 1:25:45 AM9/17/09
to WellR...@googlegroups.com
Got a bit of a problem while upgrading a site from 2.0 to 2.3. The
error I'm seeing is "IOError: Couldn't load the Unicode tables for
UTF8Handler (dump format error), ActiveSupport::Multibyte is
unusable". I've Googled this and the only thing I have found is a note
by Rimu about a corrupt unicode_tables.dat file. His problem doesn't
sound the same as mine.

What makes this more annoying is that the problem only shows up with
rake. if I run the tests 'manually' the problem goes away.

Any ideas?

Henry


rake
test_should_allow_signup(UsersControllerTest):
IOError: Couldn't load the Unicode tables for UTF8Handler (dump format
error), ActiveSupport::Multibyte is unusable
app/controllers/users_controller.rb:17:in `create'
/test/functional/users_controller_test.rb:92:in `create_user'
/test/functional/users_controller_test.rb:18:in
`test_should_allow_signup'
/test/functional/users_controller_test.rb:17:in
`test_should_allow_signup'


ruby test/functional/users_controller_test.rb -n
test_should_allow_signup
Loaded suite test/functional/users_controller_test
Started
.
Finished in 0.473758 seconds.

1 tests, 2 assertions, 0 failures, 0 errors

Nahum Wild

unread,
Sep 17, 2009, 5:38:00 PM9/17/09
to WellRailed
what about from the app itself? do you get the same problem as Rake
or does it work?

random guess: maybe since rake is loading your whole environment,
you're getting something extra that you're not getting when running
the test file.


Nahum.
Reply all
Reply to author
Forward
0 new messages