Closed drewblas closed 3 months ago
Hi thanks for the report. Ruby is installed on these images using rbenv for the vscode
user. Try running the image with that user set and you will see that ruby is installed:
docker run --user vscode -it ghcr.io/rails/devcontainer/images/ruby:3.1.5 zsh
Keep in mind that these images are intended to be used in a dev container so just running them with the docker cli will not necessarily include all the configuration for the image to work as expected.
However, I did notice we are missing 3.2.2 from the matrix of versions we publish so I will fix that and make sure the latest version is published.
Thank you! I have "remoteUser": "vscode",
set in the devcontainer.json but it still doesn't find it, but that must be a different issue.
Hi @drewblas is it possible you still have the earlier defective version on your machine? We overwrite the ruby:3.1.5
tag with the latest version, but if you have an image for that tag on your machine docker will not pull a new version.
I tried pulling a 3.1.5, as well as a few other images and they lack ruby:
Happens both on local (Docker+apple-silicon) and codespaces
I believe maybe this is a duplicate of #28 but looks like many latest published images are still affected? If they can't be fixed, would pulling those images entirely be an option? Seems ruby images with no ruby aren't much use.