Remove unsupported ruby version of build
Add code and tests to work on windows and unix.