Home > Enterprise >  How to solve bash: /etc/profile.d/rvm.sh: No such file or directory?
How to solve bash: /etc/profile.d/rvm.sh: No such file or directory?

Time:01-25

I have downloaded and installed RVM using this guide. However when I run /bin/bash --login so as to switch to a different ruby version I get the following error bash: /etc/profile.d/rvm.sh: No such file or directory. How can I fix this?

I'm using Ubuntu 20.04

CodePudding user response:

RVM have dedicated Ubuntu package, so please follow instructions posted here: https://github.com/rvm/ubuntu_rvm (taken from here: https://rvm.io/rvm/install).

Otherwise, you can skip that step and just use the next command in the tutorial, rvm use 3.0.0 or whatever version you want.

  • Related