Skip to content

Support for Windows Subsystem Linux #30

@jaxn

Description

@jaxn

When Ruby is running inside of WSL, it can be difficult to tell the difference between truly running on Linux and running within WSL.

The best way I have found to identify if it is WSL is...

def self.wsl?
  `cat /proc/version` =~ /Microsoft/ if linux?
end

I am happy to submit a patch and test if wanted.

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