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

Windows, Ruby, MSYS2 update/install #229

Closed
MSP-Greg opened this issue Jan 7, 2020 · 3 comments
Closed

Windows, Ruby, MSYS2 update/install #229

MSP-Greg opened this issue Jan 7, 2020 · 3 comments

Comments

@MSP-Greg
Copy link
Contributor

MSP-Greg commented Jan 7, 2020

  1. Please see Add MSYS2 to Windows #30

  2. Windows currently has three old Rubies, all with embedded MSYS2 installs.

  3. Windows Rubies are self contained and have all the dll's needed to run the code contained in them. See the bin/ruby_builtin_dlls folder.

  4. Windows Ruby releases are available at https://github.com/oneclick/rubyinstaller2/releases. If you look at the the 2.7.0 release at https://github.com/oneclick/rubyinstaller2/releases/tag/RubyInstaller-2.7.0-1, there is the rubyinstaller-2.7.0-1-x64.7z file, which contains Ruby without the embedded MSYS2 install. It does contain html doc files, which are not needed for most CI, if you're concerned about image size.

  5. For building extension gems (which require compile tools/gcc), the Rubies have OS specific code to look for MSYS2. A standard location is C:\msys64.

  6. Lots of other software uses MSYS2 for compiling.

So, rather than have three MSYS2 installs, could we have one, located at C:/msys64?

Over the years, AppVeyor has determined that adding many packages to their images was helpful for their users' CI. I'll not address that, but MSYS2 with current base, base-devel, and mingw-w64-x86_64-gcc would be a good start.

JFYI, a few people involved with Ruby are setting up actions to allow downloading and installing current Rubies for CI use on all platforms.

@eine
Copy link

eine commented Jan 10, 2020

Ref #234

@github-actions
Copy link
Contributor

This issue has not had any activity in 30 days, if you still require assistance please remove the no-issue-activity label

@maxim-lobanov
Copy link
Contributor

Recently, we have removed embedded MSYS from Ruby in scope of #2047
MSYS2 is available by default in C:/msys64
I think this issue can be closed for now but please let me know if you have any concerns

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

No branches or pull requests

6 participants