Comments (8)
Ruby 2.3 is not supported currently (or not yet).
Do you need it for testing some gem which still supports 2.3?
FWIW, Ruby 2.3 is end-of-life and does not support any recent OpenSSL (1.1.x), but I can give it a try to build it in https://github.com/eregon/ruby-install-builder
Ruby <= 2.3 needs OpenSSL 1.0.2 which is also end-of-life since 31 Dec 2019 and therefore considered insecure.
from setup-ruby.
BTW, the message above is actually an error message from actions/setup-ruby, not from this action.
from setup-ruby.
FWIW, the error message of this action for 2.3
is:
Run eregon/use-ruby-action@master
with:
ruby-version: 2.3
##[error]Unknown version 2.3 (2.3)
##[error]Node run failed with exit code 1
We could probably make that better.
from setup-ruby.
I improved the error message in 7d189e2:
https://github.com/eregon/use-ruby-action/runs/373716540
##[error]Unknown version 2.3 for ruby
input: 2.3
available versions for ruby: 2.4.9, 2.5.7, 2.6.5, 2.7.0
File an issue at https://github.com/eregon/ruby-install-builder/issues if would like support for a new version
##[error]Node run failed with exit code 1
from setup-ruby.
I tried in https://github.com/eregon/ruby-install-builder/runs/373803355 but it's a mess:
- Homebrew no longer has an
[email protected]
formula - ubuntu-16.04 runners have openssl 1.1 and apparently no way to install openssl 1.0
- ubuntu-18.04 can install openssl 1.0 with
apt-get install -y libssl1.0-dev
So it's not looking good so far.
I think it's time to say goodbye to Ruby 2.3. It can only be run insecurely at this point and no longer builds on any recent OS or with any supported OpenSSL version.
from setup-ruby.
Do you need it for testing some gem which still supports 2.3?
Yes, unfortunately, but I think we can actually drop it. I gotta talk to other core team folks about it.
from setup-ruby.
Thanks, please tell me the result.
I'm looking to use ruby-build
which might help as it builds its own openssl, but currently only on macOS (--if has_broken_mac_openssl
in https://github.com/rbenv/ruby-build/blob/bac1f1cae63cea697ca8d63b167e0bd7587295ee/share/ruby-build/2.3.8#L1). It seems possible to make it build old openssl versions as well on Linux, I'll try that.
from setup-ruby.
I managed to get builds of Ruby 2.3 working with ruby-build
and making ruby-build
build its own OpenSSL on Ubuntu too.
I mentioned this in the README:
Note that Ruby 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life, which means Ruby 2.3 is unmaintained and considered insecure.
But if you need to use Ruby 2.3, it should work as good as any other build of Ruby 2.3.
from setup-ruby.
Related Issues (20)
- Ruby v3.2.3 support HOT 1
- Support non `runner` user on self-hosted runners HOT 3
- Missing Ruby 3.3.1 on Windows HOT 5
- Download link is invalid for Ruby 2.5.9 on macos 13 arm64
- Ruby version should be read from Gemfile.lock by default HOT 6
- Faild in ubuntu-24.04 runner HOT 4
- Request: Support Windows on Arm64 HOT 7
- Download link is invalid for macos-latest (macos-13) with Ruby 2.5 HOT 12
- Cannot install the `actiontext` gem with Rails 7.1 and Ruby 3.1/3.2 on the Ubuntu 22.04 runner HOT 2
- Considering to move the list of ruby versions to ruby-builder HOT 3
- Are the rubies built with, or allow using, jemalloc? HOT 1
- Bundle step does not seem to respect .bundle/config files in the CWD HOT 4
- It does work with `2.2.17`, but doesn't work with `2.1.4`. I'm not going to bisect that further, but that's the fix - you need to use a more recent Bundler on Windows than you do on other platforms, and it needs to be at least I guess `2.2` or so. HOT 1
- Add jruby-9.4.8.0 to @v1 HOT 1
- Error: Unavailable version 24.0.1 for truffleruby on windows-2022 HOT 2
- Feature request: infer the ruby version from the Gemfile's `ruby` HOT 2
- Could not locate Gemfile or .bundle/ directory HOT 1
- Permissions errors on runners with Ruby preinstalled HOT 6
- Is there
- ruby-dev-builder - macOS head - use OpenSSL 3 ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-ruby.