Installation - tttaaaa/gollum GitHub Wiki

Ubuntu 14.04

Install gollum system-wide.

sudo apt-get install ruby1.9.1 ruby1.9.1-dev make zlib1g-dev libicu-dev build-essential git
sudo gem install gollum

Ubuntu 15.04/15.10/16.04

Install gollum system-wide.

sudo apt-get install ruby ruby-dev make zlib1g-dev libicu-dev build-essential git
sudo gem install gollum

Debian

Install gollum system-wide.

apt-get install build-essential make ruby1.9.3 rubygems ruby-dev \
    libicu-dev zlib1g-dev libicu-dev
gem1.9.3 install gollum

CentOS 7

Install gollum system-wide.

sudo yum group install "Development Tools"
sudo yum install ruby ruby-devel libicu libicu-devel zlib zlib-devel git
sudo gem install gollum

Windows

Warning: Windows support is still in the works! Many things do not work right now, and many of the tests are currently failing. Proceed at your own risk!

First, install JRuby and then:

~$ gem install gollum

OS X

Install gollum system-wide.

Using Homebrew package manager

This is based on [https://github.com/brianmario/charlock_holmes#homebrew]. Last tested on a Snow Leopard machine.

brew install icu4c
gem install charlock_holmes -- --with-icu-dir=/usr/local/opt/icu4c
gem install gollum

On Yosemite (10.10), there seem to be additional problems installing nokogiri (more can be found here). Working fix seems to be:

sudo gem install nokogiri -v '1.6.6.2' -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib

Using MacPorts package manager

First install Ruby. Replace <ruby-portname> for the Ruby you wish to install and use (e.g. ruby21 or jruby):

sudo port install ruby_select <ruby-portname>

Then set the installed Ruby as default so that commands like ruby --version can use it:

sudo port select --set ruby <ruby-portname>

Then install gem compilation dependency:

sudo port install icu

And finally, install gollum:

sudo gem install gollum

Using Ruby Version Manager (RVM)

Use RVM to install the current version of ruby and use this version as the default ruby command:

sudo rvm install current && rvm use current

Install gem compilation dependency:

sudo port install icu

Install gollum:

sudo gem install gollum