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

msys2-cn@20241208: fix cannot be recognized by ridk #946

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

xrgzs
Copy link
Contributor

@xrgzs xrgzs commented Jan 8, 2025

The Ruby Installerrelies on the scoop prefix msys2 command to ascertain whether MSYS2 has been installed via Scoop. This detection method, however, fails to recognize the variant named msys2-cn in this bucket, leading to unsuccessful detection. Consequently, despite MSYS2 being installed, the installer cannot locate it and erroneously concludes that "MSYS2 seems to be unavailable."

https://github.com/oneclick/rubyinstaller2/blob/ff06a60e42f98807b2d1329d6774cf6c72074157/lib/ruby_installer/build/msys2_installation.rb#L48-L104

The modification is to add an environment variable so that the installer can recognize msys2-cn in MSYS2_PATH.

Copy link
Contributor

github-actions bot commented Jan 8, 2025

All changes look good.

Wait for review from human collaborators.

msys2-cn

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

@chawyehsu chawyehsu merged commit 97675bf into chawyehsu:master Jan 8, 2025
3 checks passed
@xrgzs xrgzs deleted the patch-2 branch January 8, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants