ruby_gntp
ruby_gntp copied to clipboard
Doesn't work on mingw ruby because of the incorrect OS check
if Config::CONFIG['host_os'] =~ /mswin/ should be replaced with if Config::CONFIG['host_os'] =~ /mswin|mingw/
verified with Ruby 1.9.1 One-click installer, works fine after this change
Also calling ver/uname to get the OS version is a bit overkill IMHO, had problems with this approach leaving the stale cmd.exe console when the ruby application was running as a service via FireDaemon.