RVM is not working in ZSH

后端 未结 5 1716
Happy的楠姐
Happy的楠姐 2020-12-12 10:28

I\'d like to try out the ZSH shell on my Mac, but I also do a lot of Ruby and Rails development, so I use RVM quite a bit too. The problem is that I can\'t seem to get RVM t

5条回答
  •  伪装坚强ぢ
    2020-12-12 10:49

    Note March 2014:

    With latest RVM, the following line:

    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" 
    

    isn't needed anymore, and it shouldn't be in your ~/.zshrc.

    Documentation has been updated in RVM documentation with Zsh:

    Make sure in iTerm2 Preferences: Login shell option is set (do not use Command option). This is required for RVM to work.

    If you are still getting rvm is not a function errors on iTerm, try:

    rvm get stable --auto-dotfiles
    

提交回复
热议问题