genghis
genghis copied to clipboard
Windows installation problems
After a lot of trying, I found I needed exactly these steps on Windows before I got Genghis to run:
-
Install Ruby 2, x64
inside a directory without spaces -
Install Ruby DevKit, instructions here
inside a directory without spaces -
Install extra dependencies:
gem install genghis gem install windows-pr gem install win32-process.
-
Run Genghis:
genghisapp
-
Open http://localhost:5678/ if it's not opened automatically.
Thoughts?
Honestly, you got a lot farther than I ever did. I always just gave up and used the PHP version on Windows :)
Want to add a wiki page about it?
Done :) You might want to link to this page from your root level readme.md maybe, so it's easier to find for Windows users. I myself normally don't check the wiki but tend to read the readme and just google it.
https://github.com/bobthecow/genghis/wiki/Howto-install-Genghis-on-Windows
One quick-fix you can already do, is of course add the gems windows-pr
and win32-process
as dependencies, so they're installed automatically whenever someone does gem install genghis
Unfortunately it looks like there's still no way to add platform-specific gem dependencies without requiring them for everyone else, so I won't be doing that.
I think the accepted way to do this is to created a separate version of the gem especially for Windows users. Because they're special ;) I'll look into that.
Okay, I just pushed a change that lets me build and push windows-specific gems. Those gems will have dependencies win32-process
and windows-pr
, so we could drop number 3 from the instructions above (after the next release).