Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

GitHub is rolling out ubuntu-24.04 as their new ubuntu-latest, and I just discovered that this image is missing readline.h. As a result, readline-ext cannot be installed without first installing the development packages, and several of my builds failed.

Since readline-ext was removed from ruby 3.3, maybe this isn't something that needs to be addressed here. But it took me a few minutes to debug and I couldn't find any documentation of this issue, neither in this repo nor in actions/runner-images. So, rather than create an issue, I'm simply posting about it here, in case it might help someone else.

I assume that this can be fixed by simply adding a sudo apt-get install libreadline-dev step, before the ruby/setup-ruby setup. That said, I no longer need this dependency in the project that triggered this issue, so I'm simply removing it from our Gemfile. 😉

You must be logged in to vote

Replies: 1 comment

Comment options

That makes sense.
It's expected that installing some extension gems need some extra system packages for headers and/or libraries.
It's surprising that the package is no longer there in the newer images, but that's something for https://github.com/actions/runner-images indeed.

I think readline-ext is not very common so this shouldn't be a frequent issue.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.