My environment is macOS and I don't have Windows environment. I am writing a blog post about Byebug and I want to know if it fully supports Windows or not. Here is information I got:
Might not work?
- Rails 5 adds
platform: :mri
option to byebug gem. (see here) - And this document says mri does not include Windows.
- I heard some people said that some commands (e.g.
restart
) did not work in their Windows PC. - So Byebug does not support Windows?
Might work?
- CI tests are passing against Windows environment.(see here)
- And I cannot find any limitation on Windows environment in Byebug's README.
- So Byebug supports Windows?
I am not sure which idea is right. Does anyone know about it?
UPDATE
@deivid says Byebug supports Windows. Then, what is the valid platform option for Gemfile?
:platforms => [:mri, :mingw, :x64_mingw]
or :platforms => [:mri, :mswin]
?
Here are the options exctracted from this page.
- ruby => C Ruby (MRI) or Rubinius, but NOT Windows
- mri => Same as ruby, but not Rubinius
- rbx => Same as ruby, but only Rubinius (not MRI)
- jruby => JRuby
- mswin => Windows
- mingw => Windows 32 bit 'mingw32' platform (aka RubyInstaller)
- x64_mingw => Windows 64 bit 'mingw32' platform (aka RubyInstaller x64)
In this comment:
mswin and mingw are completely different things.
And mswin seems these packages:
https://www.artonx.org/data/asr/
And Byebug CI is running against mingw and x64_mingw only, so I guess it should be :platforms => [:mri, :mingw, :x64_mingw]
, correct?