How to rebuild rdoc for all the installed gems?
2012-02-20 23:37
387 查看
http://stackoverflow.com/questions/3152857/how-to-rebuild-rdoc-for-all-the-installed-gems
ruby - How to rebuild rdoc for all the installed gems? - Stack Overflow
How to rebuild rdoc for all the installed gems?
');doc.write(unescape("%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//static.adzerk.net/ados.js%22%3E%3C/script%3E%0A%3Cscript%20type%3D%22text/javascript%22%3E%0A%3C%21--%20load%20placement%20for%20account%3A%20New%20Relic%2C%20campaign%3A%20StackOverflow%2C%20flight%3A%20Q1%20Buy%2C%20creative%3A%20Lean%20Leaderboard%2C%20site%3A%20StackOverflow%2C%20size%3A%20Leaderboard%20--%3E%0Aados_loadInline%28451%2C%2013178%2C%204%29.setFlightCreativeId%2814658%29%3B%0Aados_load%28%29%3B%0A%3C/script%3E"));doc.write("");setTimeout(function() { doc.close(); }, 100);
up vote 3 down vote favorite
share [g+] share [fb] share [tw]
Please login or register to favorite this post.
(click on this box to dismiss)
I have several gems installed in multiple locations.
What is the hard/easy way to generate/re-generate:
rdoc for all these installed gems, all at once?
yardoc for all these installed gems, all at once?
ruby rdoc yard
link|improve this question
edited Jun 30 '10 at 19:58
skaffman
108k7123212
asked Jun 30 '10 at 19:47
satynos
409311
82% accept rate
Related (but not identical) question: stackoverflow.com/questions/664651/… – Andrew Grimm Sep 15 '10 at 2:36
feedback
2 Answers
active oldest votes
up vote 1 down vote accepted
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
link|improve this answer
answered Sep 14 '10 at 11:24
Christoph Petschnig
17615
Is there any way to let yard store the gem object data somewhere else instead of the default .yardoc folder within the gem. The reason is that most of the IDEs while indexing the gems, are also indexing the data in .yardoc folder, which takes longer. I couldn't find a settings to exclude .yardoc pattern in any of the IDES. If I could have yard store this data somewhere like ~/.yardoc, would take care of the problem. – satynos Sep 15 '10 at 17:05
feedback
up vote 1 down vote
Have you tried one of these?
gem rdoc --all
gem rdoc --all --overwrite
ruby - How to rebuild rdoc for all the installed gems? - Stack Overflow
How to rebuild rdoc for all the installed gems?
');doc.write(unescape("%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//static.adzerk.net/ados.js%22%3E%3C/script%3E%0A%3Cscript%20type%3D%22text/javascript%22%3E%0A%3C%21--%20load%20placement%20for%20account%3A%20New%20Relic%2C%20campaign%3A%20StackOverflow%2C%20flight%3A%20Q1%20Buy%2C%20creative%3A%20Lean%20Leaderboard%2C%20site%3A%20StackOverflow%2C%20size%3A%20Leaderboard%20--%3E%0Aados_loadInline%28451%2C%2013178%2C%204%29.setFlightCreativeId%2814658%29%3B%0Aados_load%28%29%3B%0A%3C/script%3E"));doc.write("");setTimeout(function() { doc.close(); }, 100);
up vote 3 down vote favorite
share [g+] share [fb] share [tw]
Please login or register to favorite this post.
(click on this box to dismiss)
I have several gems installed in multiple locations.
What is the hard/easy way to generate/re-generate:
rdoc for all these installed gems, all at once?
yardoc for all these installed gems, all at once?
ruby rdoc yard
link|improve this question
edited Jun 30 '10 at 19:58
skaffman
108k7123212
asked Jun 30 '10 at 19:47
satynos
409311
82% accept rate
Related (but not identical) question: stackoverflow.com/questions/664651/… – Andrew Grimm Sep 15 '10 at 2:36
feedback
2 Answers
active oldest votes
up vote 1 down vote accepted
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
link|improve this answer
answered Sep 14 '10 at 11:24
Christoph Petschnig
17615
Is there any way to let yard store the gem object data somewhere else instead of the default .yardoc folder within the gem. The reason is that most of the IDEs while indexing the gems, are also indexing the data in .yardoc folder, which takes longer. I couldn't find a settings to exclude .yardoc pattern in any of the IDES. If I could have yard store this data somewhere like ~/.yardoc, would take care of the problem. – satynos Sep 15 '10 at 17:05
feedback
up vote 1 down vote
Have you tried one of these?
gem rdoc --all
gem rdoc --all --overwrite
相关文章推荐
- How To List All The Named Events Set For A Database
- How To List All The Named Events Set For A Database [ID 436036.1]
- SCVMM-07 How to view the Cumulative update for software installed
- How To List All The Named Events Set For A Database [ID 436036.1]
- How to Change the Icon for a File Type in Windows 7 and Vista(转)
- how to implement the WaitForMultipleObjects in linux
- how to lock statistics for the tables
- How to use ArcGIS samples for help running the sample
- How to get the MouseEvent coordinates for an element that has CSS3 Transform?
- How to Find the Best Person for the Job
- how to config the tftpd-hpa server in the ubuntu using for remote tftp client '-p' and '-r' command
- How to use the ZooKeeper driver for ServiceGroup in OpenStack Nova
- How to say all the keyboard symbols in English
- Android Studio: how to remove/update the “Created by” comment added to all new classes?
- How to determine the correct setting for JOB_QUEUE_PROCESSES (Doc ID 578831.1)
- Android 如何在自定义界面上启用输入法 (How to enable inputmethod for the custom UI)
- How do I set the timeout for a JAX-WS webservice client? if you want to set timeouts for specific se
- How to add icon for the item of ListCtrl using C++ (Mail Attachment ListCtrl) - 如何用C++为ListCtrl的Item添加图标(邮件附件ListCtrl)
- How to read the Garbage Collector output (for Sun JVM)
- How to use ArcGIS samples for help running the sample