ruby_gntp icon indicating copy to clipboard operation
ruby_gntp copied to clipboard

Doesn't work on mingw ruby because of the incorrect OS check

Open CrazyCoder opened this issue 15 years ago • 0 comments

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.

CrazyCoder avatar Jan 06 '10 04:01 CrazyCoder