I have just installed the RVM and I am reading The Well-Grounded Rubyist book. In the first chapter I am supposed to try ri String#upcase to view documentation
ri String#upcase
Did you generate the docs?
rvm docs generate
https://rvm.io/rubies/docs/