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 - Puma compiled without ssl support #3369
Comments
This is a bit messy. You appear to be using a RubyInstaller2 Ruby 3.1.x, and that Ruby is the last to use OpenSSL 1.1.1. You can check it with the following:
The output should be two lines, both should be the same 'basic' OpenSSL version. In your case, both lines should be
So, two points:
The current MSYS2 OpenSSL is version 3.2.1, so you need to manually download the package: Place both of the above in a folder without spaces, then run the following:
After installing the correct OpenSSL package, you should be able to install Puma. Remove the EDIT: If you want to use OpenSSL 3, install Ruby 3.2 or 3.3. For those Rubies, the command to install the package is:
|
Thank you for the answer, I will definitely check it out and let you know. |
You're welcome. I'm 'involved' with 'Windows Ruby', which has nothing to do with my involvement with Puma. I'm pretty sure it should work for you. I have built a 1.1.1.w package locally. If you'd like that, I could upload it somewhere. You'd need to add my signing key to your MSYS2 install (or you could temporarily disable the signing key check). I just used it to build & test Ruby 3.1.4, and all ssl tests passed (with Puma master)... I think the last official MSYS2 build was 1.1.1.s, see https://repo.msys2.org/mingw/ucrt64/ |
Yes, that would be great, many thanks! |
See https://github.com/MSP-Greg/ruby-loco/releases/tag/old-ruby I added some brief instructions for installation... |
Wondering if you've had a chance to see if 1.1.1w works? |
@MSP-Greg hi, yes, thank you very much, it worked well. |
Describe the bug
Cant compile puma with ssl on windows. Did try almost everithing on the internet, but there is mainly only one path line such as:
To Reproduce
Expected behavior
ruby -rpuma -e "puts Puma.ssl?" => true
Desktop (please complete the following information):
what I am doing wrong? please help. Thank you.
The text was updated successfully, but these errors were encountered: