Uninstallable 1.8.7 patch releases #2255
Replies: 1 comment 1 reply
-
Thank you for researching and pointing this out! Note that since this is a legitimate bug with how
Ruby 1.8 is so old that I doubt that the Ruby core team would be interested in publishing tags for ancient versions. I would rather just fix The problem is here: Line 493 in bfffe34 We could detect the length of the git ref given to |
Beta Was this translation helpful? Give feedback.
-
When we try to install ruby-1.8.7-p375 we get:
This error lines up with changes in #2120 where the 1.8.7-p375 config was updated to reference the dabc9036 commit.
So it looks like the error means install_git doesn't support a commit. Notably a branch/tag works. I updated the commit to an existing branch (
ruby_1_8_7
) and later a tag (v1_8_7_374
). I was able to successfully install with both. So ultimately the config needs a tag corresponding to 1.8.7-p375. Problem is no such tag exists in ruby/ruby. The latest is p374.Likewise the latest release of 1.8.7 is p374 on https://www.ruby-lang.org/en/downloads/releases/:
Where does 1.8.7-p375 come from then? Turns out there is a commit on the ruby_1_8_7 branch corresponding to 1.8.7-p375 (dabc9036, same one as above). There's also a commit for for 1.8.7-p376 (f48ae0d1). Looks like commits were made for each of these patch versions, but tags / releases were not made. Ultimately this prevents the 1.8.7-p375 install.
Possible solutions:
install_git
to work off of a commitObserved using:
rbenv 1.2.0
ruby-build 20230914.1
git version 2.1.4
Beta Was this translation helpful? Give feedback.
All reactions