Ruby 2.2.2 ri documentation -


i'm starting learn ruby, installed ruby 2.2.2 via macports. understand ri documentation not install default, want generate it. read few questions/answers on , came this:

gem install rdoc-data

rdoc-data --install

and told: your ruby version 2.2.2 not supported, 1.8.7, 1.9.2, 1.9.3, 2.0.0

how ri documentation 2.2.2? there method?

if using version 2.0 or latest, , use ruby installer windows following:

in command prompt , while in ruby installation folder, sufficient type gem install rdoc-data in command prompt. results generating rdocs in folder named doc in ruby installation folder.

instead of browsing online check api or documentations, can conveniently open files in doc folder. know kind of against teaching of books , tutorials ruby, keep in mind generated api in hard-drive , not have use ri in command prompt. can have api open entire time while coding.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -