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.

时间: 2024-10-16 01:17:13

How to fix the issue that GEM_HOME and/or GEM_PATH not set issue for rvm in mac version 10.12的相关文章

mac上 go-delve 安装出现The specified item could not be found in the keychain 解决方法

安装go语言的编译环境,在安装到 delve时候出现如下错误: If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/go-delve/homebrew-delve/issues These open issues may also help: Upgrade to delve fails https://github.com/go-delve/homebr

hive0.13权限bug fix

最近线上的hive升级到了0.13,遇到不少问题.权限上面,设置了hive.security.authorization.createtable.owner.grants 在hive0.13中,用户自己创建的表也没有权限.通过对源码的分析和debug找到了rc并fix,下面记录下. 1.首先在hive0.11中和hive0.13中分别做建表测试,通过查看数据库中的元数据,发现在hive0.11中如果设置了owner的参数在表创建之后,用户会有这个表的all的权限(具体可以分析db_privs ,

003 /etc/issue /etc/issue.net

/etc/issue 本地登录终端的欢迎信息 /etc/issue.net 003 /etc/issue /etc/issue.net

How to install 64-bit Google Chrome 28+ on 64-bit RHEL/CentOS 6 or 7

How to install 64-bit Google Chrome 28+ on 64-bit RHEL/CentOS 6 or 7 The problem Google developers seem to think that Red Hat Enterprise Linux 6 - aka RHEL 6 - and its free equivalents (e.g. CentOS 6 and Scientific Linux 6) are no longer worth suppor

【故障解决】enq: PS - contention

[故障解决]enq: PS - contention 一.1  BLOG文档结构图       一.2  前言部分   一.2.1  导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① 等待事件 enq: PS - contention的解决办法 ② 一般等待事件的解决办法     Tips:        ① 若文章代码格式有错乱,推荐使用QQ或360浏览器,也可以下载pdf格式的文档来查看,pdf文档下载地址:htt

SQL Server 2008 R2 升级到 Service Pack 3后Report Builder启动不了

一同事将测试服务器从SQL Server 2008 R2 SP2升级到了SQL Server 2008 R2 SP3后发现Report Service的报表编辑时启动不了Report Builder,错误信息如下所示: PLATFORM VERSION INFO     Windows             : 6.1.7601.65536 (Win32NT)     Common Language Runtime     : 4.0.30319.18408     System.Deploy

Asdcplib Update logs

Current stable version Download version 1.12.60MD5 digest value: = 3bb2754744a629813e4db816e081e114 change log: 2015-02-23 – 优化, 1.12.60 Fixed ST 429-5 wrapping to increase header space when ancillary resources are present (fixes a bug that cause the

Autotools Mythbuster

Preface Diego Elio?"Flameeyes"?Pettenò Author and Publisher?<[email protected]> SRC=https://autotools.io/index.html David J.?"user99"?Cozatt Miscellaneous Editing?<[email protected]> Copyright ? 2009-2013 Diego Elio Pettenò

Maste Note for OCR / Vote disk Maintenance Operations (ADD/REMOVE/REPLACE/MOVE)

Doc ID 428681.1 Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1.0 [Release 10.2 to 11.2]Information in this document applies to any platform. Goal The goal of this note is to provide steps to add, remove, replace or mo