开发者

Why am I getting warnings when I'm trying to install RVM?

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.begi开发者_StackOverflow中文版nrescueend.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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜