rbenv install 3.1.2 Build Failed checksum mismatch #2128
-
Hello everyone, I am going through the Odin Project ruby tutorial, and I am trying to use rbenv to install ruby version 3.1.2 but no matter what I do I always get a checksum mismatch error. I have tried following the tutorial on GitHub to no success. I figured that the files are becoming corrupt when I use git clone, so I manually downloaded them from the github page, but that didn't work. I tried installing rbenv with sudo apt install rbenv, and then copying the updated ruby-build files over but I am still getting the checksum mismatch. I am currently on WSL1 Ubuntu 22.04. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, I'm sorry you're having trouble. I haven't heard of this problem before. Can you paste the exact output you are getting, plus these pieces of information:
That is very unlikely. It should be safe to install ruby-build using git clone, and if anything was corrupted, there would be other errors than checksum mismatch. |
Beta Was this translation helpful? Give feedback.
Hi, I'm sorry you're having trouble. I haven't heard of this problem before. Can you paste the exact output you are getting, plus these pieces of information:
rbenv install --version
type shasum openssl sha256sum
That is very unlikely. It should be safe to install ruby-build using git clone, and if anything was corrupted, there would be other errors than checksum mismatch.