gollum的Gihub地址

系统 macos Mojave

安装

sudo gem install gollum
#安装报错
ERROR:  Error installing gollum:
	ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -I /Library/Ruby/Site/2.3.0 -r ./siteconf20190603-15740-15nvb90.rb extconf.rb
checking for main() in -licui18n... no
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
checking for main() in -lz... yes
checking for main() in -licuuc... yes
checking for main() in -licudata... yes
creating Makefile

current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
make "DESTDIR=" clean

current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
...
#查看ruby版本
ruby -v
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]

使用rvm将ruby升级到2.5.1后,重新安装,安装成功

ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin18]
#重新尝试安装
sudo gem install gollum

简单尝鲜,感觉显示效果一般