English 中文(简体)
我没有为宝石安装耳光和高射线,就失去了一些东西?
原标题:Am I missing something by not installing ri and rdoc for gems?

我从未看到过安装高射线和高射线的点,而我的高射线文件有——诺-里和——诺-底。 由于每个灰色都包括里和大脑,我很想知道我是否失踪了东西? 安装灰色和doc是否有什么好处?

增 编

Chris

<<>Summary

如果你不安装耳机和doc,你不会失去任何价值。 我或许认为,它可能被用于一些国际民主和选举援助学会(I m an Emacsuser)的工作,但情况似乎并非如此。

最佳回答

安装里面文件只是说,你可以使用“ri”指挥系统获取方法文件。 例如,尝试: 紧急“q”。

试验RDoc文件,操作“高服务器”,然后与当地托管人连接:8808台。 我认为这样做是有用的——你甚至可以点上看来源代码的方法名称。 当然,你只能走到你的手脚上,在文件夹中打开超文本文档。

进入RDoc的另一种途径是教会指挥部。 见。 http://www.pedhencelis.com/2008/06/12/bashly-yours-gem-shortcuts.html。 这很奇怪,IMHO。

无论如何,你可以 la,等待你们需要RDS文件,然后用“高射”制作。

问题回答

个人而言,我安装了我手工艺的宝石,因为通常你可以找到你所需要的所有文件(即www.rdoc.info),因此没有必要投资硬磁盘空间,而一代人需要时间。

否则,如果你想要在当地获得有关文件。

本条使人想起使用权的原因和方式:

rel=“nofollow”>http://jstorimer.com/ri.html

名单上的最好点是:阅读的是Ruby。 例如:

$ ri ActiveRecord::Base#save
(from gem activerecord-3.2.8)
Implementation from ActiveRecord::Persistence

[...]

(from gem activerecord-3.2.8)
Implementation from ActiveRecord::Validations

[...]

即便不是直接在“积极记录”上发现该方法:基本原理本身。





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签