nchambers has joined #rubygems
pombreda has quit [Remote host closed the connection]
houhoulis has joined #rubygems
houhoulis has quit [Remote host closed the connection]
nchambers has quit [Quit: WeeChat 2.2]
KeyJoo has joined #rubygems
drbrain has quit [Ping timeout: 272 seconds]
drbrain has joined #rubygems
KeyJoo has quit [Quit: KeyJoo]
pombreda has joined #rubygems
pombreda has quit [Ping timeout: 246 seconds]
pombreda has joined #rubygems
<darix> why was --no-rdoc killed?
<darix> is it the default now and I would pass --document if i want docs?
<havenwood> darix: it was removed in favor of: --no-document rdoc
<havenwood> darix: or disable all docs with just: --no-document
<havenwood> darix: -N, --no-document
<darix> havenwood: since which ruby/rubygem version is --no-document supported?
<darix> havenwood: our ruby packaging generates one spec file for all ruby versions
<darix> and then builds all ruby versions in parallel in one spec file
<darix> so now I would need to check "am I currently running with ruby 2.1 then use --no-ri otherwise --no-documents=ri"
<darix> I wonder if I can just query the rubygems code if it supports --no-ri and then rewrite it
<darix> hm
<darix> ok seems 2.1 already supports it
<darix> good enough
<darix> havenwood: the docs are wrong on 2.6
<darix> ERROR: While executing gem ... (OptionParser::NeedlessArgument)
<darix> needless argument: --no-document=rdoc,ri
<darix> (ruby 2.6. so i guess rubygems 3)
<darix> hmm no broken on older versions as well
<darix> docs say --no-document TYPES
<darix> i guess TYPES will only be honored on --document
<havenwood> darix: I can confirm that option is broken in RubyGems 3.
<havenwood> darix: (Works in 2.x.)
<darix> well it works without arguments which is good enough
<havenwood> darix: I reopened an issue for it: https://github.com/rubygems/rubygems/issues/2544
<darix> thanks
<havenwood> np
pombreda has quit [Ping timeout: 250 seconds]
pombreda has joined #rubygems
pombreda has quit [Ping timeout: 246 seconds]
<darix> how to do this now
<darix> ?
pombreda has joined #rubygems