I am trying to install RVM on a new machine. I did it before, and then everything went well. But now I keep getting these errors:
WARNING:
Could not source '/Users/anders/.rvm/scripts/base' as file does not exist.
RVM will likely not work as expected.
WARNING:
Could not source '/Users/anders/.rvm/scripts/version' as file does not exist.
RVM will likely not work as expected.
WARNING:
Could not source '/Users/anders/.rvm/scripts/selector' as file does not exist.
RVM will likely not work as expected.
WARNING:
Could not source '/Users/anders/.rvm/scripts/cd' as file does not exist.
RVM will likely not work as expected.
WARNING:
Could not source '/Users/anders.rvm/scripts/cli' as file does not exist.
RVM will likely not work as expected.
WARNING:
Could not source '/Users/anders/.rvm/scripts/override_gem' as file does not exist.
RVM will likely not work as expected.
cat: /Users/anders/.rvm/VERSION: No such file or directory
/Users/anders/.rvm/src/rvm/scripts/rvm: line 133: __rvm_conditionally_add_bin_path:
command not found
I followed the steps https://rvm.beginrescueend.com/rvm/install/ , but this did not work.
I used:
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
during installation, I do not start as root and do not use sudo.
I also added this to my .bash_profile file:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
I checked and the “complaint” files exist, so I assume this is permission. Any advice on how to solve this problem would be greatly appreciated.
source
share