安装后如何卸载 gem 特定文档
我刚刚安装了engineyard gem,想知道如何卸载engineyard安装后的所有 ri / RDoc文档
Is it safe to remove all files from the following folder c:\Ruby192\lib\ruby\gems\1.9.1\doc
c:\Ruby192\bin>gem install engineyard
Welcome to Engine Yard!
Deploying for the first time? The Engine Yard Pandas want to help you!
Email [email protected] with your questions or queries.
(Panda = 1. Polite Agent of Non-Destructive Assimilation; 2. Cute fluffy an
imal.)
We wish you every success with your business!
- The Pandas
Successfully installed rest-client-1.6.3
Successfully installed highline-1.6.2
Successfully installed json_pure-1.5.3
Successfully installed escape-0.0.4
Successfully installed engineyard-serverside-adapter-1.4.1
Successfully installed net-ssh-2.1.4
Successfully installed engineyard-1.3.20
7 gems installed
Installing ri documentation for rest-client-1.6.3...
Installing ri documentation for highline-1.6.2...
Installing ri documentation for json_pure-1.5.3...
Installing ri documentation for escape-0.0.4...
Installing ri documentation for engineyard-serverside-adapter-1.4.1...
Installing ri documentation for net-ssh-2.1.4...
Installing ri documentation for engineyard-1.3.20...
Installing RDoc documentation for rest-client-1.6.3...
Installing RDoc documentation for highline-1.6.2...
I just installed the engineyard gem and would like to know how to uninstall all ri / RDoc documentation of engineyard post installation
Is it safe to remove all files from the following folder c:\Ruby192\lib\ruby\gems\1.9.1\doc
c:\Ruby192\bin>gem install engineyard
Welcome to Engine Yard!
Deploying for the first time? The Engine Yard Pandas want to help you!
Email [email protected] with your questions or queries.
(Panda = 1. Polite Agent of Non-Destructive Assimilation; 2. Cute fluffy an
imal.)
We wish you every success with your business!
- The Pandas
Successfully installed rest-client-1.6.3
Successfully installed highline-1.6.2
Successfully installed json_pure-1.5.3
Successfully installed escape-0.0.4
Successfully installed engineyard-serverside-adapter-1.4.1
Successfully installed net-ssh-2.1.4
Successfully installed engineyard-1.3.20
7 gems installed
Installing ri documentation for rest-client-1.6.3...
Installing ri documentation for highline-1.6.2...
Installing ri documentation for json_pure-1.5.3...
Installing ri documentation for escape-0.0.4...
Installing ri documentation for engineyard-serverside-adapter-1.4.1...
Installing ri documentation for net-ssh-2.1.4...
Installing ri documentation for engineyard-1.3.20...
Installing RDoc documentation for rest-client-1.6.3...
Installing RDoc documentation for highline-1.6.2...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还没有使用该 gem 的任何经验,但我希望这可以帮助您跟踪您的 rdoc 和 ri doc 路径。
在我的Mac系统上,我从安装目录找到了这条路径
,当我
打开
它(或在Windows中探索
)时,我看到了一些gems的rdoc /ri doc 在此路径内。尝试删除那里的 gem 文档。如果可以的话请告诉我,它在我的 Mac 上可以正常工作。下次当您安装 rubygems 但不想安装 ri/rdoc 时,请记住在执行
gem install Something
--no-rdoc --no-ri 选项>作为参考比较,我只需将我的
gem env
复制粘贴到此处更新 (7/28/2019):
--no-ri --no-rdoc
不再工作 Rubygems >= 2.0。或者,您可以使用--no-document
省略文档。I haven't had any experience with that gem yet, but I hope this can help you to track your rdoc and ri doc path.
on my Mac system, I found this path from INSTALLATION DIRECTORY
And when I
open
it (orexplore
in Windows) I saw some gems' rdoc/ri doc inside this path. Try to remove your gem's doc there. Let me know if it works, it's working here on my Mac.Next time when you install rubygems but don't want ri/rdoc installed, remember to type this
--no-rdoc --no-ri
option when you dogem install something
As a reference comparison I'll just copy paste my
gem env
hereUpdate (7/28/2019):
--no-ri --no-rdoc
no longer work in Rubygems >= 2.0. Alternatively, you can use--no-document
to omit documentation.