Install Ruby 2.1.3 in Ubuntu 14.04.1 hang?
Every issue has a problem where the Ruby 2.1.3 installation on Ubuntu 14.04.1 hangs (using rvm).
Here's where it hangs:
root@ubuntu:~# rvm install 2.1.3
ruby-2.1.3 - #removing src/ruby-2.1.3..
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/14.04/x86_64/ruby-2.1.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.1.3, this may take a while depending on your cpu(s)...
ruby-2.1.3 - #downloading ruby-2.1.3, this may take a while depending on your connection...
ruby-2.1.3 - #extracting ruby-2.1.3 to /usr/local/rvm/src/ruby-2.1.3..........................................................
ruby-2.1.3 - #configuring....
The config part just keeps spinning for over 30 minutes until I kill it with Crtl-C.
RVM version:
root@ubuntu:~# rvm -v
rvm 1.25.31 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
+3
source to share
1 answer
It looks like it might do the trick. This worked for me on OS X.
rvm install 2.1.3 -- --with-setjmp-type=setjmp
Found a solution in this rvm issue which refers to a core Ruby installation issue .
+4
source to share