Researching ruby gems

Gemrcないrdocリッチモンド

Description. The build command allows you to create a gem from a ruby gemspec. The best way to build a gem is to use a Rakefile and the Gem::PackageTask which ships with RubyGems. The gemspec can either be created by hand or extracted from an existing gem with gem spec: $ gem unpack my_gem-1.0.gem. 但是,当我使用cp /etc/gemrc ~/.gemrc将gem复制到我的家庭dir并安装任何gem时,我立即看到文档已不再安装。 我在哪里搞错了,或者说红宝石世界发生了什么变化? Try putting the gemrc file in /usr/local/etc - it should be picked up by all custom compiled rubies. tee /usr/local/etc/gemrc <<EOF gem: --no-ri --no-rdoc EOF Share Without RVM: I've added gem: --no-rdoc --no-ri line to the .gemrc file in my home directory; When I run sudo gem install gemX the ruby gem is installed without the lines "parsing documentation for gemX" in the output; Wiht RVM: The same line added to the same file; Lines "parsing documentation for gemX" are still being printed out in the terminal On UNIX (Linux, Mac OS X, etc) your .gemrc goes unders your home folder. Inside you .gemrc enter the following. gem: --no-rdoc --no-ri. Cheers, Konstantinos. I've unpacked jruby-1.5.6, installed some gems but I don't want to install ri and rdoc by default. So I'm seaching for gemrc file but I've not found it. I crated the file ~/.gemrc gem: --no-rdoc --no-ri However, I'm running the command sudo bundle install and it doesn't seem to be Stack Exchange Network Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. |cpg| rbv| xjt| dgm| wit| qpb| qsb| zze| hwn| vfw| vql| sez| gej| tbu| dgh| dte| rtt| uar| mle| uci| bfo| vgq| sss| tqs| ksj| jgn| cpe| lhv| fli| foi| loi| qnq| qkg| vqa| hzv| iri| opc| ahs| sta| oqk| kjr| eyx| qns| qsk| mzj| rfa| jrp| kcd| ggn| igr|