diff --git a/README.md b/README.md index da1e185b..0992223a 100644 --- a/README.md +++ b/README.md @@ -456,7 +456,7 @@ Base Docker image: Debian GNU/Linux trixie/sid | Ruby/jruby | 9.4.8.0 | | Ruby/truffleruby | 24.1.1 | | Rust | 1.82.0 | -| Scala | 1.4.3 | +| Scala | 3.5.2 | | Swift | 6.0.2 | | Tcl | 8.6 | | V | 0.4.8 2ab1523 | diff --git a/docker/versions.rb b/docker/versions.rb index 3751397b..5ab3af41 100755 --- a/docker/versions.rb +++ b/docker/versions.rb @@ -70,7 +70,7 @@ def cat(filename, content = nil) CLANG `clang -o #{cat('clang')} #{cat('clang.c', prog)} && ./#{cat('clang')}` end, - 'Scala' => -> { `scala -version 2>&1`.split[4] }, + 'Scala' => -> { `scala version --scala` }, 'Node.js' => -> { `node -e "console.log(process.version)"` }, 'Python' => lambda do `python3 -c "import platform;print(platform.python_version())"`