昨天我试图从MRI切换到JRuby,我相信我所有的宝石都是正确的。JRuby on rails编码错误
我使用的是Mongoid而不是ActiveRecord,所以我认为不需要切换gem。
我得到的错误是:
incompatible character encodings: UTF-8 and ASCII-8BIT
完全踪迹可以在这里显示:https://gist.github.com/1305847
而我的Gemfile可以在这里显示:https://gist.github.com/1305882
有没有人有一个线索是什么解决方案可能是?
请寄出'ruby -v'和'jruby -v'的输出 – Rob