Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gem install rails -v 4.1.0 stuck with ri-documentation

I've run gem install rails -v 4.1.0 on my server, but somehow it's stuck with

Parsing documentation for rails-4.1.0 
Installing ri documentation for rails-4.1.0

Can I abort this? What do I need the ri documentation for? Is it really required?

like image 741
Saggex Avatar asked Apr 24 '14 08:04

Saggex


Video Answer


1 Answers

Though the documentation isn't necessary for rails to run; I have found that it is most likely not stuck.

It took a little over five minutes to complete gem install rails -v 4.1.0 on my quad-core i7, but your experience might be worse if you have a slower computer (it took 15m 47s for just ri and an additional 16m 21s for RDoc on my 4 logical core i5). For those who want to make use of the ri and RDocs you will merely have to wait. For those who have no intent to ever use them you can execute

gem install rails -v 4.1.0 --no-ri --no-rdoc

This took ~30s on my i5 machine.

like image 56
Austin Avatar answered Oct 23 '22 04:10

Austin