昨天我試圖從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