Gazler / githug

Git your game on!
MIT License
6.86k stars 1.03k forks source link

Windows 10, error installing githug: "rake" conflicts #244

Closed splanard closed 6 years ago

splanard commented 6 years ago

I tried to install githug on Windows 10. First, I installed Ruby 2.5. Seamed to work fine. Then, gem install github and I got the following :

$ gem install githug
ERROR:  Error installing githug:
        "rake" from rake conflicts with C:/Dev/resources/ruby/Ruby25-x64/bin/rake

Did someone have the same problem ? (I'm totally noob to Ruby...)

Gazler commented 6 years ago

I don't use Windows, but perhaps following this guide up until the point of installing rails, and then installing githug may work.

https://gorails.com/setup/windows/10

splanard commented 6 years ago

A -f option on the install command did the trick... I don't know why (and I don't really care ^^') Githug seems to be installed, but githug command just do nothing... :-(

Edit: the prompt was just not displayed. It was here, waiting, but invisible. I finally figured it out and typed y.

********************************************************************************
*                                    Githug                                    *
********************************************************************************
Name: init
Level: 1
Difficulty: *

A new directory, `git_hug`, has been created; initialize an empty repository in it.