红联Linux门户
Linux帮助

Ubuntu 16.04 LTS安装gollum

发布时间:2016-05-01 14:23:07来源:linux网站作者:ytxing

先安装gem:

$ sudo apt install gem


如果国外的源用不了,换成淘宝的:

$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org

确保只有 ruby.taobao.org


然后就可以放心安装了:

$ sudo gem install gollum


如果缺ruby-dev和zlib也需要安装:

$ sudo apt install ruby-dev zlib1g-dev


本文永久更新地址:http://www.linuxdiyf.com/linux/20261.html