carlosbrando / autotest-notification

This gem set the autotest to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
http://www.nomedojogo.com/
MIT License
183 stars 27 forks source link

Fix for Windows (mingw) #16

Closed shawwn closed 13 years ago

shawwn commented 13 years ago

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.