The bash error below keeps popping up each time I open a new terminal, why is that?

  • How do I fix the bash error below?

    bash: /home/yonas/.rvm/scripts/rvm: No such file or directory
  • Edit your ~/.bashrc and remove the offending instance of that file. Should be right at the end of the .bashrc – glenn jackman Jan 28 '15 at 20:12

I was installing RVM on a remote server today and had the same issue. It seems that the installation was not executed by default. This is what I did to solve it:

curl -L https://get.rvm.io | bash -s stable

  # In case rvm not found
  cd ~/.rvm/archives
  tar xvzf rvm-1.26.0.tgz # or whatever RVM version you have
  cd mpapis-rvm-xxxxxxx
  cd ..
  rm -Rf mpapis-rvm-xxxxxxxx

source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.