I'm trying to install RVM on a new machine. I have done it before and then it went fine. 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 on https://rvm.beginrescueend.com/rvm/install/ but it doesn't work.
I used:
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
when installing, I'm not running as root nor using sudo.
I also added this to my .bash_profile file:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
I checked and the "complaining" files do exist, so I guess it's a permission thing. Any tips on how to solve this would be greatly appreciated.
Run rvm notes and check the output. Ensure that OS dependencies are installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With