ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Error: exit code is 127 Make sure to install rdbg command (gem install debug). If you are using bundler, write gem 'debug' in your Gemfile.
The gem is in the file.
I also see a command failed /usr/bin/zsh -l -c 'rdbg --util=list-socks'
Is this is a path issue?
ZSH with Oh-MY-Zsh. WSL2
How to install ruby on wsl?
I didn't use this but I would now.
https://youtu.be/Hwou03YqH4I
On Tue, Oct 4, 2022, 4:35 AM Koichi Sasada @.***> wrote:
How to install ruby on wsl?
— Reply to this email directly, view it on GitHub https://github.com/ruby/vscode-rdbg/issues/55#issuecomment-1266595690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYO64BTCOYMKEKDIERFFQDWBPT6FANCNFSM6AAAAAAQWKOSSE . You are receiving this because you authored the thread.Message ID: @.***>
Ah sorry I already using WSL2. I've wanted to ask "how do you install ruby on your environment"? On the other words, could you explain your environment more?
Oh, sure thing.
WSL2, Ubuntu, Ruby installed via rbenv but then eventually via asdf.
I do have some things from Homebrew as well.
On Wed, Oct 12, 2022, 2:30 AM Koichi Sasada @.***> wrote:
Ah sorry I already using WSL2. I've wanted to ask "how do you install ruby on your environment"? On the other words, could you explain your environment more?
— Reply to this email directly, view it on GitHub https://github.com/ruby/vscode-rdbg/issues/55#issuecomment-1275658246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYO64CWQ7IPQM7TMAHV333WCZLI7ANCNFSM6AAAAAAQWKOSSE . You are receiving this because you authored the thread.Message ID: @.***>
I also encounter the command failed: /bin/bash -l -c 'rdbg --util=list-socks' message.
env: WSL 版本: 1.2.0.0 rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux] Rails 7.0.4.1
for web server I use thin 1.8.1 codename Infinite Smoothie