The documentation does not come immediately with Ruby installations, even before 1.9.3. An effective shortcut to installing Ruby Documentation is to use the code:
sudo apt-get install ri
There is no need to specify which version as the terminal will capture documentation from the latest Ruby information, and this should work as long as you have the latest version of Ruby installed on Ubuntu.
user2942719
source
share