JRuby `gem install` always hangs on Ubuntu (Digital Ocean)

I am trying to start a new installation of Ubuntu (tried everything in the range 12.04-15.10) with Oracle 8 JDK (also tried with OpenJDK 7) and JRuby> 9.0.0.0.

I use rvm(also tried rbenv) to get it. Once it is installed gem install *, it will forever remain on any gem. psdoesn't show CPU or memory usage, so it looks like it is not doing anything.

Does anyone know how to debug such a thing ?: (

PS Installing an MRI runs on a single computer, so it is clearly not a network problem.

UPD: verified by other PaaS providers. This is only a Digital Ocean issue.

+4
source share
1 answer

I ran into this exact problem and found that JRuby could not install due to lack of entropy in PRNG. By setting havegedto provide additional entropy, the installation completed successfully. Caution: You may be risking your safety .

See also: How to set additional entropy for cloud servers using binder

+2
source

Source: https://habr.com/ru/post/1620608/


All Articles