rubygitwindows-7grit

Does Grit works with Windows 7 well?


I have tried the last day to work with the Ruby gem git (version 1.2.5), but I am not sure that it works well enough. I stumbled over grit, which is more active, but was not able to get it working under Windows 7. Do you have used grit under Windows 7, especially to use the methods status, add and others?

My working environment:


Solution

  • Unfortunately at this point and time the answer to your question apparently is "no". The grit gem requires the posix-spawn gem which, according to the project page, currently does not support Windows:

    Potentially portable - abstracts lower-level process and stream management APIs so the class can be made to work on platforms like Java and Windows where UNIX process spawning and stream APIs are not supported.

    The key above is "can be made to work on platforms like... Windows".