7

I want to use the wiki on GitHub, and also use without Internet.
So I focus on gollum -- A git-based Wiki,but it is not possible on Windows.
But in the README.md on GitHub, they say in the Windows JRuby (1.9.3+ compatible) is needed, and gollum is almost supported.

I want to ask for a guide about how to use gollum on Windows, but i don't find further.

Aleksey
  • 2,289
  • 17
  • 27
54wall
  • 116
  • 1
  • 6

3 Answers3

3

So according to a comment (from 2020) in the ticket linked in the other answer, it is possible to run Gollum using JRuby.

I just tried that (February 2021) with JRuby 9.2.14.0 and it worked for me.

Brief instructions (from said comment):

Just use the JRuby for Windows installer and gem install gollum.

0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
  • @miile7 Ah, so even the official Ruby (not just JRuby) works. Great to know. – 0xC0000022L Sep 20 '21 at 07:11
  • 1
    sorry, I have to revert my comment. I have never used ruby before. I just discovered that the install did not work properly. I couldn't run `gollum` and I thought it was caused by some other issues. But you are right, it seems like it does not work with plain ruby :( – miile7 Sep 20 '21 at 07:23
  • 1
    @miile7 Fair enough, but it still means you could give JRuby a try. Worked fine for me. – 0xC0000022L Sep 20 '21 at 09:27
2

The short answer is no. There is a discussion of Gollom's Windows support here. There are a few nasty hacks to get some of it working, but if you value your time choose another wiki.

https://github.com/gollum/gollum/issues/23

There have been several other Gollum based projects like Realms Wiki but they continued to have problems with Windows. There are lots of enthusiastic discussions between people who want to get them working under Windows but there appears to be too many issues relating to Posix/Windows incompatibilities that it didn't seem worth the time or effort to make it work.

The general advice moved towards installing Vagrant, VirtualBox, WSL or another virtual machine and run it under a Unix operating system instead.

Hendy Irawan
  • 20,498
  • 11
  • 103
  • 114
David Newcomb
  • 10,639
  • 3
  • 49
  • 62
  • Thanks a lot ! I have installed ubuntu to use the gollum, it's really easy.So I get your suggestion to intall a virtual machine to run gollum on windows. – 54wall Nov 23 '16 at 03:44
  • Maybe you can accept my answer, or at least up vote it! – David Newcomb Nov 23 '16 at 12:04
  • Sorry,I am a fresh here."Thanks for the feedback! Votes cast by those with less than 15 reputation are recorded, but do not change the publicly displayed post score." – 54wall Dec 02 '16 at 07:47
2

@20211225 - gollum on Windows 10

  1. Install cmake (https://cmake.org/download/)
    I've used cmake-3.22.1-windows-x86_64.msi

  2. Install ruby (https://rubyinstaller.org/)
    I've used Ruby+Devkit 3.0.3-1 (x64)

  3. gem install gollum
    Installation really took a while, then be patient.

Everything worked ok.

I've had just problems to make gollum to access the home.md
page of my wiki, then I solved it using this url
http://localhost:4567/home.md

Dharman
  • 30,962
  • 25
  • 85
  • 135
fman
  • 175
  • 2
  • 4