I tried ri in windows 8
Console> ri String#upcase
It returned error message about not having such function.
Solution is found on Stack Overflow
SOLUTION
gem install rdoc-data
# Regenerate system docs
rdoc-data --install
# Regenerate all gem docs
gem rdoc --all --overwrite
# Regenerate specific gem doc with specific version
gem rdoc gemname -v 1.2.3 --overwrite
ADDED:
返信削除rdoc-data --install
is only supported under ruby version 1.8.7, 1.9.2, 1.9.3, 2.0.0