Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ri has empty documentations – Ubuntu 11.10, Ruby 1.9

Tags:

ruby

ubuntu

ri

I'm running Ubuntu 11.10 and installed Ruby 1.9 like this:

$ sudo apt-get install ruby1.9 rubygems

Everything is working very well but ri seems to have empty documentations. ri told me that the documentations were empty and I had to install them. I executed this because I read it would help:

$ rdoc --all --ri

Now, when I try to open any documentations:

$ ri Array
Nothing known about Array

I get the same for everything else I search.

like image 235
js-coder Avatar asked Apr 02 '12 17:04

js-coder


1 Answers

what about this ?

apt-get install ri1.8

EDIT

or try this: (non rvm)

gem install rdoc rdoc-data
rdoc-data --install
like image 118
Said Kaldybaev Avatar answered Sep 21 '22 15:09

Said Kaldybaev