Ruby Gollum 编辑保存报错

verfino · June 12, 2014 · Last by hengyunabc replied at November 18, 2014 · 3833 hits

具体错误信息是这样 Encoding::CompatibilityError - incompatible character encodings: UTF-8 and ASCII-8BIT:

系统是 OS X Ruby 版本 不论是 1.9.3-p* 还是 2.* 都不行 Gemfile 里面只有

gem 'thin'
gem 'gollum'
gem 'creole'
gem 'redcarpet'
gem 'org-ruby'
gem 'wikicloth'
gem 'RedCloth'

即使是重新搭建一个空的环境也是这样。换过几台机器(同样都是 OS X)也没办法解决。有遇到并且解决过的吗?

今天下午再搞不定怕是要弄个新东西代替 Gollum 了。

都提示编码错误了,不妨找找究竟是哪一行代码出错了。

grit 的问题吧,试下gem 'gitlab-grit', '2.6.0'

这个 bug 都好久了,一直没有人修。 https://github.com/gollum/gollum/issues/843

You need to Sign in before reply, if you don't have an account, please Sign up first.