<henk>
and another rake question: I want to generate statistics from my webserver logs. and I want to process all available logs without having to specify what the target files are called, i.e. not say "I want thisandthat.stats" but "I want stats from /var/log/httpd/*/access.log". how could I do that?
pages_ has quit [Ping timeout: 244 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
mange has quit [Quit: Zzz...]
grenierm has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
ftajhii has quit [Ping timeout: 246 seconds]
donofrio has joined #ruby
s-liao-200 has joined #ruby
Linux_Kerio has quit [Ping timeout: 260 seconds]
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
user71 has joined #ruby
Jado has quit [Ping timeout: 244 seconds]
Jado has joined #ruby
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
crankharder has joined #ruby
nil78 has quit [Quit: ZNC 1.8.2+deb2+deb11u1 - https://znc.in]
nil78 has joined #ruby
s-liao-200 has quit [Quit: Client closed]
s-liao-200 has joined #ruby
jhass has quit [Ping timeout: 248 seconds]
s-liao-200 has quit [Client Quit]
jhass has joined #ruby
donofrio has quit [Ping timeout: 260 seconds]
infernix has quit [Ping timeout: 246 seconds]
donofrio has joined #ruby
hwpplayer1 has joined #ruby
Linux_Kerio has joined #ruby
donofrio has quit [Ping timeout: 265 seconds]
denvermullets has joined #ruby
ih8u has quit [Quit: ih8u]
<adam12>
henk: no rake maintainers in here, afaik. you could submit a PR to fix if you know how.
<henk>
ok, thanks
jhass has quit [Remote host closed the connection]
<tsv>
What would you be expecting it to return if there are no usable IPv6 addresses?
Sampersand has joined #ruby
sarna has quit [Remote host closed the connection]
sarna has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
eddof13 has joined #ruby
crankharder has quit [Quit: leaving]
jhass has quit [Remote host closed the connection]
jhass has joined #ruby
Inline has quit [Quit: Leaving]
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 248 seconds]
Vonter has joined #ruby
<weaksauc_>
kjetilho you'd have to figure out what use_ipv6? does inside that class. the code use each_address to populate the list
<weaksauc_>
you might be able to force it via refinements to always return true for a call of use_ipv6?
donofrio has joined #ruby
JulioPapel has quit [Ping timeout: 260 seconds]
donofrio has quit [Ping timeout: 268 seconds]
donofrio has joined #ruby
grenierm has joined #ruby
infernix has joined #ruby
miah has quit [Quit: WeeChat 4.2.1]
donofrio has quit [Ping timeout: 252 seconds]
Inline has joined #ruby
miah has joined #ruby
wbooze has joined #ruby
wbooze has quit [Remote host closed the connection]
wbooze has joined #ruby
donofrio has joined #ruby
niv has quit [Read error: Connection reset by peer]
cybniv has joined #ruby
grenierm has quit [Quit: Client closed]
donofrio has quit [Ping timeout: 246 seconds]
hwpplayer1 has quit [Quit: Tomorrow is another day ! see you and take care]
donofrio has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
user71 has quit [Quit: Leaving]
eddof13 has quit [Quit: eddof13]
pwl has joined #ruby
wbooze has quit [Remote host closed the connection]
wbooze has joined #ruby
denvermullets has quit [Ping timeout: 252 seconds]
wbooze has quit [Remote host closed the connection]
wbooze has joined #ruby
eddof13 has joined #ruby
pwl has quit [Changing host]
pwl has joined #ruby
mange has joined #ruby
pwl has quit [Quit: Leaving]
Linux_Kerio has quit [Ping timeout: 248 seconds]
wbooze has quit [Ping timeout: 265 seconds]
wbooze has joined #ruby
wbooze has quit [Remote host closed the connection]
wbooze has joined #ruby
wbooze has quit [Remote host closed the connection]
Sampersand has quit [Quit: Client closed]
nmollerup has quit [Remote host closed the connection]
nmollerup has joined #ruby
wbooze has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Sampersand has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
<kjetilho>
tsv: I just want all addresses, usable or not
<kjetilho>
tsv: in this case, the service is running in a IPv4-only container, but the users are IPv6 capable
eddof13 has quit [Client Quit]
<o0x1eef>
If Socket.ip_address_list does not include an IPv6 address, then IPv6 support is disabled. However, you could probably monkey match use_ipv6? to work around this. There's no other way as far as I can see. More or less I'm repeating what weaksauc_ said. Here's the code in case it helps: https://github.com/ruby/resolv/blob/master/lib/resolv.rb
<o0x1eef>
s/monkey match/money patch/ (^:
<kjetilho>
o0x1eef: thanks!
<kjetilho>
I guess it's best to make MR/PR to get A and AAAA resources explicitly
<kjetilho>
huh. `warn "Support for separate use_ipv6 keyword is deprecated, as it is ignored if an argument is provided. Do not provide a positional argument if using the use_ipv6 keyword argument.", uplevel: 1`
<o0x1eef>
It's bit of a hack, but it does appear to work
<o0x1eef>
nameserver_port is important, at least in my case
<kjetilho>
impressive :)
<kjetilho>
I really appreciate you digging into this - but I did end up with `Resolv::DNS.new.each_resource(value, rr) do |addr| x = addr.address end` with `rr` set to either Resolv::DNS::Resource::IN::A or ::AAAA