nesquena / gitdocs

Open-source Dropbox using Ruby and Git
https://blog.codepath.com/2011/11/30/collaborate-and-track-tasks-with-ease-using-gitdocs/
MIT License
1.14k stars 48 forks source link

Installation does not work on macOS Sierra (10.12.3) #129

Open lekv opened 7 years ago

lekv commented 7 years ago

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 7 years ago

@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 7 years ago

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 7 years ago

You can. :)

brew install ruby

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

lekv commented 7 years ago

Updating ruby through brew worked.