From: "masa-iwasaki (Masatoshi Iwasaki)" Date: 2022-11-10T06:00:36+00:00 Subject: [ruby-core:110676] [Ruby master Bug#19048] Install of Ruby 3.1.x fails on Ubuntu 20.04 running on WSL Issue #19048 has been updated by masa-iwasaki (Masatoshi Iwasaki). I faced the same error and succeeded to build 3.1.2 by following steps. - (Optional) Uninstall rbenv & ruby-build if you have already installed them with linuxbrew - Disable linuxbrew temporally - Install rbenv & ruby-build by `git clone` - Run `rbenv install 3.1.2` You can disable linuxbrew by commenting out the configuration like below in your dotfiles. ```bash # eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" ``` It seems that linuxbrew has some problems with libcrypt.so.1. You can find them in GitHub Discussions of homebrew. https://github.com/orgs/Homebrew/discussions?discussions_q=libcrypt.so.1 ---------------------------------------- Bug #19048: Install of Ruby 3.1.x fails on Ubuntu 20.04 running on WSL https://bugs.ruby-lang.org/issues/19048#change-100018 * Author: NickGrahamDfE (Nick Graham) * Status: Open * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- -- https://bugs.ruby-lang.org/ Unsubscribe: