JRuby
From https://www.jruby.org/news
- JRuby 10.0.2.x targets Ruby 3.4 compatibility. (src)
- JRuby 9.4.x targets Ruby 3.1 compatibility (src)
- JRuby 9.3.x is compatible with Ruby 2.6.x (src)
- JRuby 9.2.x is compatible with Ruby 2.5.x (src)
- JRuby 9.1.x ... compatible with Ruby 2.3.x (src)
# have javac
docker run -it --rm -v $(pwd):/app -w /app jruby:10.0.2.0-jdk bash
# no javac
docker run -it --rm -v $(pwd):/app -w /app jruby:10.0.2.0 bash
docker run -it --rm -v $(pwd):/app -w /app jruby:9.4.9.0 bash
# packages you want
apt-get update
apt-get install -y git gcc
javac is needed to build Puma, for example (issue)