resting
resting

Reputation: 17467

Ruby 2.1.3 installation in Ubuntu 14.04.1 hang?

Anyone has this problem where the installation of Ruby 2.1.3 in Ubuntu 14.04.1 hang (using rvm).

This 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 configuring portion just keeps spinning for over 30 mins until I kill it with Crtl-C.

RVM version:

root@ubuntu:~# rvm -v
rvm 1.25.31 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]

Upvotes: 3

Views: 1449

Answers (1)

Matt Huggins
Matt Huggins

Reputation: 83289

Looks like this might do the trick. It worked for me on OS X.

rvm install 2.1.3 -- --with-setjmp-type=setjmp

Found the solution in this rvm issue, which references a core Ruby installation issue.

Upvotes: 4

Related Questions