rvm install 2.1.4 hangs on OSX

て烟熏妆下的殇ゞ 提交于 2021-02-10 04:01:22

问题


when attempting to install a new version of ruby with the command:

rvm install 2.1.4

the process hangs in the middle of compiling:

ruby-2.1.4 - #downloading ruby-2.1.4, this may take a while depending on your connection...
ruby-2.1.4 - #extracting ruby-2.1.4 to /Users/alutz/.rvm/src/ruby-2.1.4....
ruby-2.1.4 - #configuring.....................................................
ruby-2.1.4 - #post-configuration.
ruby-2.1.4 - #compiling.......\

回答1:


This solved my issue:

rvm install 2.1.4 -- --with-setjmp-type=setjmp

original source of fix

issue report on ruby-lang.org



来源:https://stackoverflow.com/questions/26744971/rvm-install-2-1-4-hangs-on-osx

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!