-
Notifications
You must be signed in to change notification settings - Fork 29
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
Older Rubies (2.1 to 2.3 at least) don't install on default macOS image (10.13.6) #68
Comments
I am not sure if we can reliably support Rubies <= 2.3.x on macOS at this point. The problem is quite complicated:
It is conceivably possible to:
|
As I mentioned in my mail to support, there are at least two ways to do so:
or
|
@hurricup Do you have a URL to the working build? |
No. This is how I set up locally. But travis for some reason can't do the same. And this is really strange. |
With language: generic
os: osx
osx_image: xcode10.3
before_install:
- env HOMEBREW_NO_AUTO_UPDATE=1 brew install rbenv/tap/[email protected]
- rvm reinstall 2.3.0 --with-openssl-dir=$(brew --prefix [email protected])
install:
- true
script:
- "ruby -v -ropenssl -e \"puts OpenSSL::VERSION\"" You can compile OpenSSL 1.0 and Ruby 2.3.0 This takes about 30 minutes. |
I presume travis could pre-build them and use like binary distribution. I know it's kinda tricky on macos, but still possible. |
In theory, yes, but I have not found a way to play nicely with Homebrew. |
|
As in, bundling up what Homebrew writes on the build machine in such a way that can be reused elsewhere. Some of it might be simulated by caching, but it seems to fail in a very hard-to-understand ways. Ruby 2.4 support is already dropped. I question the benefit of continuing to support 2.3, to be honest. |
The question is not about lifetime from devs, but usage statistics. Like https://stats.rubygems.org/ |
Since this is RVM's problem, you either supplement its logic in travis-build ( Alternatively, you can use |
I've described this issue here but will post it here as well since I believe it belongs here as well. Feel free to close this issue if this is not the place. I'm not sure if it's a Travis CI issue or if I should open an issue in the rvm repo.
It seems a new OpenSSL version was released on Homebrew (1.1, from 1.0 (this also contains a successful and a failed test run)) and also the macOS build image on Travis changed since the last test run of
jaro_winkler
(check also the available Rubies etc).That seems to be the cause for the failures.
Somebody posted a possible workaround to get an older OpenSSL version installed via homebrew.
Further reading:
https://travis-ci.community/t/rvm-install-fails-on-osx-due-to-missing-libraries/5596
rvm/rvm#4819
rvm/rvm#4781
rvm/rvm#4463
Homebrew/homebrew-core#46454
The text was updated successfully, but these errors were encountered: