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

ruby 2.7 for windows build #191

Closed
winezer0 opened this issue Apr 30, 2024 · 2 comments
Closed

ruby 2.7 for windows build #191

winezer0 opened this issue Apr 30, 2024 · 2 comments

Comments

@winezer0
Copy link

winezer0 commented Apr 30, 2024

Please Keep ruby27, Thank you very much.

I packaged haiti as windows exe

https://github.com/winezer0/haiti.exe

But the packaging tool 'rubyc' only supports ruby27

Copy link

Hey, thank you for opening this issue! 🙂 To boost priority on this issue and support open source please tip the team at https://issuehunt.io/r/noraj/haiti/issues/191

@noraj noraj changed the title Please Keep ruby27 ruby 2.7 for windows build May 5, 2024
@noraj
Copy link
Owner

noraj commented May 5, 2024

Hi,

You have several options:

  • Only create .exe for versions until 2.1.0 (before 2.7 support removal)
  • For now, ignore Ruby requirement
    • Indeed, Ruby 2.7 support was removed for several reasons: because it's EOL, because it made the CI fails.
    • But Ruby 2.7 should still work, for now, since I did not introduce breakings changes (for examples while linting with newer syntaxes).
    • For example, gem install --force ignores dependency checks. Another option is to create a patch to change the version required in the gemspec.
    • For now, forcing the use of Ruby 2.7 should have no impact, but I can't guarantee that in the future. For now, it should work, it's just that's no longer tested against ruby 2.7 and that I won't provide help for people using this version.
  • Ruby 3.0-3.3 are available on Windows via RubyInstaller so you could install haiti with gem install haiti-hash on windows too without making a .exe..
  • Use another executable packager other than the unmaintained ruby-packer
    • tebako supports Ruby 3.1 & 3.2
    • ocran should work with 3.x rubies too

@noraj noraj closed this as completed May 5, 2024
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