Fix for Windows (mingw) #16

Merged
merged 1 commit into from Aug 20, 2011

Conversation

Projects
None yet
2 participants
Contributor

shawwn commented Aug 19, 2011

http://www.railsinstaller.org is a popular Windows solution for installing the Ruby and Rails environment. However, RUBY_PLATFORM is "i386-mingw32", not "mswin":

C:\code\ref\autotest-notification>irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> RUBY_PLATFORM
=> "i386-mingw32"

Currently, autotest-notification only checks for "mswin", not "mingw". This patch adds checks for mingw, enabling this gem to work correctly on Windows.

carlosbrando merged commit fddec3c into carlosbrando:master Aug 20, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment