Nothing unknown ... when using ri Array - Ruby

I have Ubuntu 11.10 and I am using rvm with ruby ​​1.9.2. I followed this exactly to install Ruby: http://blog.sudobits.com/2011/10/27/how-to-install-ruby-on-rails-in-ubuntu-11-10/

I create documents using

rvm docs generate 

This seems to work for a one-time terminal session, but as soon as I log out and start over, I need to generate the documents again, otherwise I get the message Nothing is Known. This takes a lot of time, so I prefer not having to generate documents every time I start a terminal session.

Is there anything that I can do to constantly access documents?

There are certain questions for this, but I have no problem creating or using documents, just supporting them.

+6
source share
2 answers

This is what I did to install ri docs in my Ubuntu box (I don't use RVM):

 gem install rdoc rdoc-data rdoc-data --install 
+13
source

In ubuntu: sudo apt-get install ri1.9.1

+1
source

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


All Articles