Skip to content

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

@CrazyCoder

Description

@CrazyCoder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions