You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mon, Aug 21, 2017 at 11:19 AM, Jackson Miller ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAw0AZBMhETCl5qXwAnrU09xxuXLtoCks5sabwJgaJpZM4O9ngT>
.
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...
I am happy to submit a patch and test if wanted.
The text was updated successfully, but these errors were encountered: