Skip to content

Conversation

@uuunk
Copy link

@uuunk uuunk commented Oct 25, 2021

No description provided.

nehresma and others added 30 commits March 31, 2020 09:21
… 2.7.0 to 2.7.1 (#310)

* Upgrade Ruby version 2.4.9 to 2.4.10, 2.5.7 to 2.5.8, 2.6.5 to 2.6.6, 2.7.0 to 2.7.1

* correct SHA256 hash values for the .tar.xz files

* updating Ruby version/hashes in a few missed files
Ruby docker images officially provided by ruby-lang.org set `LANG` as `C.UTF-8` by default.

https://hub.docker.com/r/rubylang/ruby/

https://github.com/ruby/ruby-docker-images/blob/36c5d8b68eb91e34825500e50ca677f5574401f7/Dockerfile#L3

#45 (comment)

> I'd rather see something more official from either Ruby or Rails upstreams
> recommending a UTF-8 locale by default than just the anecdote that it's
> "more common" or "more convenient".

I think it's the one so we should set it by default.
Ruby 3.0.0 is released
Update generate-stackbrew-library.sh for Ruby 3.0
Only two versions of alpine are supported at a time
[security] Update to 3.0.1, 2.7.3, 2.6.7, 2.5.9
https://www.ruby-lang.org/en/downloads/branches/

https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-5-9-released/

> After this release, Ruby 2.5 reaches EOL. In other words, this is the last release of Ruby 2.5 series. We will not release Ruby 2.5.10 even if a security vulnerability is found. We recommend all Ruby 2.5 users to upgrade to Ruby 3.0, 2.7 or 2.6 immediately.
Also add "g++" during compilation (the upstream configure script looks for it, even though it doesn't appear to be used).
Add initial jq-based templating engine
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Script Fails on Non-x86_64 Architectures

The versions.sh script hard-codes the download of the yq_linux_amd64 binary without detecting the host architecture. This causes an "Exec format error" and script failure when run on non-x86_64 machines (e.g., ARM64 CI runners), breaking multi-architecture support that previously worked.

versions.sh#L12-L22

ruby/versions.sh

Lines 12 to 22 in 3c44d7e

fi
versions=( "${versions[@]%/}" )
yq='./.yq'
# https://github.com/mikefarah/yq/releases
# TODO detect host architecture
yqUrl='https://github.com/mikefarah/yq/releases/download/v4.40.5/yq_linux_amd64'
yqSha256='0d6aaf1cf44a8d18fbc7ed0ef14f735a8df8d2e314c4cc0f0242d35c0a440c95'
if command -v yq &> /dev/null; then
# TODO verify that the "yq" in PATH is https://github.com/mikefarah/yq, not the python-based version you'd get from "apt-get install yq" somehow? maybe they're compatible enough for our needs that it doesn't matter?
yq='yq'

Fix in CursorFix in Web


Comment bugbot run to trigger another review on this PR
Was this report helpful? Give feedback by reacting with 👍 or 👎

docker-library-bot and others added 14 commits July 24, 2025 04:03
For Ruby 3.2 `libreadline-dev` is being installed which causes
unwanted output during `dpkg-query --search`:
```sh
dpkg-query --search *lib/x86_64-linux-gnu/libreadline.so.8
diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8
diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged
diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8.2
diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged
libreadline8t64:amd64: /usr/lib/x86_64-linux-gnu/libreadline.so.8.2
libreadline8t64:amd64: /usr/lib/x86_64-linux-gnu/libreadline.so.8
diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8
diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged
diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8.2
diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged
```

I don't believe there is any way to control this output, so ignore those lines.
Doesn't hurt to have this run on other versions, even though there aren't
any other relevant packages that are affected.
Add debian trixie/Drop debian bullseye
Update to 4.0.0-preview2
Drop Alpine 3.21 accordingly
More details at https://bugs.ruby-lang.org/issues/21221

ZJIT requires rust 1.85, so bump the version.
Build Ruby 4.0 with ZJIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.