2013年3月13日水曜日

Ruby ri Problem In Windows (Solved)

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

1 件のコメント:

  1. ADDED:
    rdoc-data --install
    is only supported under ruby version 1.8.7, 1.9.2, 1.9.3, 2.0.0

    返信削除