首页 > 系统服务 > 详细

How to fix the issue that GEM_HOME and/or GEM_PATH not set issue for rvm in mac version 10.12

时间:2016-10-12 16:24:22      阅读:1321      评论:0      收藏:0      [点我收藏+]

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

原文:http://www.cnblogs.com/rosepotato/p/5953073.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!