首页 > 代码库 > How to fix the issue that GEM_HOME and/or GEM_PATH not set issue for rvm in mac version 10.12
How to fix the issue that GEM_HOME and/or GEM_PATH not set issue for rvm in mac version 10.12
add following lines below "export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting" into ~/.profile
export GEM_PATH="/Users/spond/.rvm/gems/ruby-2.2.0"
export GEM_HOME="/Users/spond/.rvm/gems/ruby-2.2.0"
export PATH="$GEM_HOME/bin:$PATH"
then run command:
source ~/.bash_profiile
make sure that the GEM_HOME at the first location of PATH.
How to fix the issue that GEM_HOME and/or GEM_PATH not set issue for rvm in mac version 10.12
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。