I have several gems installed in multiple locations.
What is the hard/easy way to generate/re-generate:
The list command is used to view the gems you have installed locally.
The main place where libraries are hosted is RubyGems.org, a public repository of gems that can be searched and installed onto your machine. You may browse and search for gems using the RubyGems website, or use the gem command. Using gem search -r , you can search RubyGems' repository.
When you use the --user-install option, RubyGems will install the gems to a directory inside your home directory, something like ~/. gem/ruby/1.9. 1 . The commands provided by the gems you installed will end up in ~/.
You can check your Ruby version by running ruby --version , and you can check your RubyGems version by running gem --version . If you need to upgrade Ruby, use your ruby version manager's instructions. If you need to upgrade RubyGems, run gem update --system .
Have you tried one of these?
gem rdoc --all gem rdoc --all --overwrite
yard gems
or
sudo yard gems
should do the job. You may also want to use the --rebuild flag. If you want to run a local Yardoc server for your installed gems, then run
yard server -g
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With