Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues installing gollum #1621

Closed
j3mdamas opened this issue Oct 15, 2020 · 2 comments
Closed

Issues installing gollum #1621

j3mdamas opened this issue Oct 15, 2020 · 2 comments

Comments

@j3mdamas
Copy link

Hi,

I was following the instructions here to install on Ubuntu 16.04.6 LTS, but I faced some issues:

  1. rugged depends on libssl-dev (see partial log 1 below). Doing apt-get install libssl-dev solved it
  2. gollum-lib requires Ruby version 2.4 (see log 2 below). Installing Ruby 2.4 follow instructions from here fixed it.

[1]

-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) 
CMake Error at cmake/Modules/SelectHTTPSBackend.cmake:27 (MESSAGE):
  Unable to autodetect a usable HTTPS backend.Please pass the backend name
  explicitly (-DUSE_HTTPS=backend)
Call Stack (most recent call first):
  src/CMakeLists.txt:110 (Include)


-- Configuring incomplete, errors occurred!
See also "/var/lib/gems/2.3.0/gems/rugged-0.99.0/vendor/libgit2/build/CMakeFiles/CMakeOutput.log".
See also "/var/lib/gems/2.3.0/gems/rugged-0.99.0/vendor/libgit2/build/CMakeFiles/CMakeError.log".
 -- /usr/bin/make
*** extconf.rb failed ***

[2]

$ sudo gem install gollum
Building native extensions.  This could take a while...
Successfully installed rugged-0.99.0
Fetching: gollum-rugged_adapter-1.0.gem (100%)
Successfully installed gollum-rugged_adapter-1.0
Fetching: rouge-3.24.0.gem (100%)
Successfully installed rouge-3.24.0
Fetching: mini_portile2-2.4.0.gem (100%)
Successfully installed mini_portile2-2.4.0
Fetching: nokogiri-1.10.10.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.10.10
Fetching: crass-1.0.6.gem (100%)
Successfully installed crass-1.0.6
Fetching: loofah-2.7.0.gem (100%)
Successfully installed loofah-2.7.0
Fetching: github-markup-3.0.4.gem (100%)
Successfully installed github-markup-3.0.4
Fetching: gemojione-4.3.3.gem (100%)
Successfully installed gemojione-4.3.3
Fetching: octicons-8.5.0.gem (100%)
Successfully installed octicons-8.5.0
Fetching: twitter-text-1.14.7.gem (100%)
Successfully installed twitter-text-1.14.7
Fetching: gollum-lib-5.0.6.gem (100%)
ERROR:  Error installing gollum:
	gollum-lib requires Ruby version >= 2.4.
@dometto
Copy link
Member

dometto commented Dec 1, 2020

Thanks for sharing @j3mdamas! FYI, the wiki is publicly editable, so anyone who reads this: feel free to keep the installation instructions up to date when something changes.

@dometto dometto closed this as completed Dec 1, 2020
@j3mdamas
Copy link
Author

j3mdamas commented Dec 1, 2020

@dometto sorry, I didn't know I could edit the wiki. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants