简体   繁体   English

Ruby / RVM安装问题

[英]Ruby/RVM install problems

In trying to update my openSSL, I have uninstalled rvm. 在尝试更新我的openSSL时,我已经卸载了rvm。 Now I have reinstalled rvm, when I run rvm -v I am up to date with: 现在,我重新安装了rvm,当我运行rvm -v我的最新信息是:

rvm 1.18.15 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

but when I run ruby -v I get the following 但是当我运行ruby -v我得到以下信息

/Users/marty/.rvm/bin/ruby: line 6: /Users/marty/.rvm/bin/ruby: Argument list too long
/Users/marty/.rvm/bin/ruby: line 6: /Users/marty/.rvm/bin/ruby: Undefined error: 0

What am I missing to get ruby installed? 我缺少安装红宝石的地方吗?

I have run rvm reinstall 1.9.2 --with-openssl-dir=/usr/local 我已经运行了rvm reinstall 1.9.2 --with-openssl-dir=/usr/local

and got the following: 并得到以下信息:

/Users/marty/.rvm/src/ruby-1.9.2-p320 has already been removed.
/Users/marty/.rvm/rubies/ruby-1.9.2-p320 has already been removed.
The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.

试试这个答案运行RVM要求,跳过brew更新-这不是一个相同的问题,但是解决方案+说明是相同的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM