Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Windows Subsystem Linux #30

Open
jaxn opened this issue Aug 21, 2017 · 1 comment
Open

Support for Windows Subsystem Linux #30

jaxn opened this issue Aug 21, 2017 · 1 comment

Comments

@jaxn
Copy link

jaxn commented Aug 21, 2017

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.

@rdp
Copy link
Owner

rdp commented Aug 22, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants