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

Support Ruby 3.1 #19043

Open
navjotjsingh opened this issue Apr 1, 2024 · 4 comments
Open

Support Ruby 3.1 #19043

navjotjsingh opened this issue Apr 1, 2024 · 4 comments
Labels
suggestion-feature New feature suggestions

Comments

@navjotjsingh
Copy link

Ruby 3.0 has reached EOL. https://www.ruby-lang.org/en/downloads/branches/

Plus it doesn't support OpenSSL 3.0 which means it takes a lot of workarounds to get it working if you want to install it using the source code.

It's high time we should update Metasploit to work with Ruby 3.1.

Also meanwhile this happens, we should at least immediately add support for Ruby 3.0.6 which is the last stable 3.0.x version.

@navjotjsingh navjotjsingh added the suggestion-feature New feature suggestions label Apr 1, 2024
@adfoster-r7
Copy link
Contributor

Metasploit-framework supports Ruby 3.1 and OpenSSL 3.x transparently; were there specific issues/bugs you were hitting?

@navjotjsingh
Copy link
Author

The .ruby-version file says Ruby 3.0.5 is required which causes issues when you try to install because it requires OpenSSL 1.1.1 to work.

@adfoster-r7
Copy link
Contributor

You should be able to change that locally and everything should work 🤞

@adfoster-r7
Copy link
Contributor

adfoster-r7 commented Apr 2, 2024

We'll be enabling Ruby 3.1 by default soon, but for now you can change that file yourself and everything should work without issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion-feature New feature suggestions
Projects
None yet
Development

No branches or pull requests

2 participants