-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update Ruby version #12
Comments
I'll try to update this wrapper tomorrow. Vacation ends after this week, so if it takes longer than a couple of hours, it probably won't happen until 2023.
…Sent from my iPhone
Dillon Barnes ***@***.***> 於 05.01.2022 20:05 寫道:
I've been porting a ruby application over to macOS using this app. However, the version of Ruby is too old. Please could you update it to 3.0? I've tried to do this manually, but I don't know how to modify the UNIX executable called Ruby in the macOS folder.
I don't really expect any response here since the last activity was in 2019
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
|
Oops, that was more than two hours. Updating Ruby to version 3.0 worked. The problem is that not only does the You've said you are trying to port a Ruby application. Is it a Gosu game or something else? Have you tried http://foobarwidget.github.io/traveling-ruby/? Another thing that I could try to look at for inspiration is https://github.com/Homebrew/homebrew-portable-ruby. |
I'll try to fix Gosu specifically here gosu/gosu#607 OpenSSL and YAML will remain broken, and I also had to give up texplay and ashton because they won't build anymore. |
The game I'm trying to port is a Gosu game (Flaptus/Flaptus#1). Thanks for the Travelling Ruby link, I've not seen that in my research and I'll give it a go.
I won't be able to help with the referencing of homebrew dylibs, sorry as I have no Ruby knowledge other than running files. |
I've fixed the most important bug. Not sure when I'll have time to retry building the app. Flaptus seems to use some networking code. Unless it uses unencrypted HTTP, which is on the verge of dying out, I don't think it'll work on macOS because I haven't managed to properly bundle OpenSSL into Ruby.app. |
Hrm, it almost works, but now there is a new dependency on libgmp. All of these problems have been solved by the Homebrew team, and I think I (or anyone who has time for this) should try to bundle their Ruby instead of building our own version: https://github.com/Homebrew/homebrew-portable-ruby/releases I'll give up for now, sorry. |
If I'll give up on giving up in the future, things will continue here: #13 - feel free to subscribe. Note that currently the portable Ruby I want to use is stuck on v2.6.8, so this won't help you if you want to run code that requires Ruby 3. |
I've been porting a ruby application over to macOS using this app. However, the version of Ruby is too old. Please could you update it to 3.0? I've tried to do this manually, but I don't know how to modify the UNIX executable called
Ruby
in themacOS
folder.The text was updated successfully, but these errors were encountered: