nesquena/gitdocs

Installation does not work on macOS Sierra (10.12.3)

Opened this issue · 4 comments

lekv commented

Installation failed with below error, ruby version is ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

sudo gem install gitdocs
Fetching: hitimes-1.2.4.gem (100%)
Building native extensions.  This could take a while...
Successfully installed hitimes-1.2.4
Fetching: timers-4.0.4.gem (100%)
Successfully installed timers-4.0.4
Fetching: celluloid-0.16.0.gem (100%)
Successfully installed celluloid-0.16.0
Fetching: nio4r-2.0.0.gem (100%)
ERROR:  Error installing gitdocs:
        nio4r requires Ruby version >= 2.2.2.
acant commented

@lekv thank you for the report. I will look into this and see if I can clarify what the requirements are.
Would you be able to upgrade your system ruby, if necessary?

lekv commented

Good question, @acant. I'm not familiar with Ruby no MacOS and whether it's safe to upgrade. If it's something that can be done with brew I can give it a try.

acant commented

You can. :)

brew install ruby

Which should update the system ruby, and then you can re-install the gitdocs gem.

lekv commented

Updating ruby through brew worked.