I am installing ruby using asdf and I encounter the issue shown below:
$ asdf list
ruby
3.0.2
$ ruby -v
Command 'ruby' not found, but can be installed with:
sudo apt install ruby
How to link the ruby-v
to asdf?
I am installing ruby using asdf and I encounter the issue shown below:
$ asdf list
ruby
3.0.2
$ ruby -v
Command 'ruby' not found, but can be installed with:
sudo apt install ruby
How to link the ruby-v
to asdf?
asdf
by following the asdf-vm documentation# Delete the following in your .bashrc file
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
# Remove the $HOME/.asdf directory and all asdf config files by typing
# the following in your terminal
rm -rf ${ASDF_DATA_DIR:-$HOME/.asdf}
rm -rf $HOME/.tool-versions $HOME/.asdfrc
asdf
, read the post I made after successfully making the versions correct Install asdf (ruby, nodejs and yarn) in WSL2