简体   繁体   中英

Ruby/RVM install problems

In trying to update my openSSL, I have uninstalled rvm. Now I have reinstalled rvm, when I run rvm -v I am up to date with:

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

/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

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更新-这不是一个相同的问题,但是解决方案+说明是相同的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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