When doing unicode/ascii char work in parallel getting error: uninitialized 
constant ActiveSupport::Multibyte::Chars
--------------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-5945
                 URL: https://jira.codehaus.org/browse/JRUBY-5945
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6.3
         Environment: OSX Snow Leopard
            Reporter: Chris Kimpton
            Assignee: Thomas E Enebo


This project demonstrates the issue.

https://github.com/kimptoc/unicode-parallel-bug

Repeatably gives an error under jruby, but works for MRI 1.8.7 and 1.9.2 (see 
its branches)


This loads a csv file of unicode'd words and tries to convert them to ascii - 
doing it in parallel.

Works fine when not run in parallel.

Gives this error:

uninitialized constant ActiveSupport::Multibyte::Chars
/Users/kimptoc/.rvm/gems/jruby-1.6.3@p-unicode-paralle-bug/gems/activesupport-3.0.9/lib/active_support/multibyte.rb:22:in
 `proxy_class'
/Users/kimptoc/.rvm/gems/jruby-1.6.3@p-unicode-paralle-bug/gems/activesupport-3.0.9/lib/active_support/core_ext/string/multibyte.rb:59:in
 `mb_chars'
/Users/kimptoc/Documents/ruby/ecom/unicode-parallel-bug/app/models/test_main.rb:27:in
 `replace_non_ascii'
/Users/kimptoc/Documents/ruby/ecom/unicode-parallel-bug/app/models/test_main.rb:13:in
 `go'
...


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to