How to fix the issue that GEM_HOME and/or GEM_PATH not set issue for rvm in mac version 10.12
Posted Rosepotato
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章
How to Fix GNOME License Not Accepted Issue on CentOS 7
python安装失败提示“one or more issues caused the setup to fail . Please fix the issues and then retry set
How to solve the problem that Github can't visit in China?
How to resolve the truncate/drop/delete/join hang issue in ADW
How to fix use the cURL to connect to GitHub with a 443 HTTPS error All In One