genghis icon indicating copy to clipboard operation
genghis copied to clipboard

Windows installation problems

Open branneman opened this issue 11 years ago • 5 comments

After a lot of trying, I found I needed exactly these steps on Windows before I got Genghis to run:

  1. Install Ruby 2, x64
    inside a directory without spaces

  2. Install Ruby DevKit, instructions here
    inside a directory without spaces

  3. Install extra dependencies:

    gem install genghis
    gem install windows-pr
    gem install win32-process.
    
  4. Run Genghis:

    genghisapp
    
  5. Open http://localhost:5678/ if it's not opened automatically.

Thoughts?

branneman avatar Feb 03 '14 10:02 branneman

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?

bobthecow avatar Feb 03 '14 16:02 bobthecow

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

branneman avatar Feb 03 '14 16:02 branneman

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

branneman avatar Feb 03 '14 16:02 branneman

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.

bobthecow avatar Feb 03 '14 23:02 bobthecow

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).

bobthecow avatar Feb 05 '14 14:02 bobthecow