havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU2 has joined #ruby
ChmEarl has quit [Quit: Leaving]
ur5us_ has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
travonted has joined #ruby
bambanx has quit [Ping timeout: 246 seconds]
Vashy has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
ur5us_ has quit [Ping timeout: 240 seconds]
TheMoonMaster has joined #ruby
jetchisel has quit [Ping timeout: 246 seconds]
jetchisel has joined #ruby
bruce_lee has quit [Ping timeout: 256 seconds]
ur5us_ has joined #ruby
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
cnsvc has joined #ruby
inanepenguin has quit [Quit: inanepenguin]
cnsvc has quit [Ping timeout: 240 seconds]
jinmiaol1 has joined #ruby
shansen has quit [Quit: ZNC 1.7.4+deb0+bionic0 - https://znc.in]
cnsvc has joined #ruby
shansen has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
cd has joined #ruby
Vashy has quit [Ping timeout: 252 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
hassox has joined #ruby
jetchisel has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
banisterfiend has quit [Ping timeout: 260 seconds]
renich has quit [Quit: renich]
drincruz has joined #ruby
travonted has quit [Quit: WeeChat 2.8]
drincruz has quit [Ping timeout: 264 seconds]
rickhull has joined #ruby
spectra has quit [Ping timeout: 272 seconds]
spectra has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Vashy has joined #ruby
Vashy has quit [Ping timeout: 252 seconds]
Vashy has joined #ruby
johnny56_ has quit [Ping timeout: 256 seconds]
johnny56 has joined #ruby
DTZUZU2 has quit [Quit: WeeChat 2.8]
hardball has joined #ruby
jinmiaol1 has quit [Ping timeout: 256 seconds]
jinmiaol1 has joined #ruby
ur5us_ has quit [Ping timeout: 244 seconds]
sauvin has joined #ruby
mangold has joined #ruby
wymillerlinux has quit [Ping timeout: 260 seconds]
mangold has quit [Ping timeout: 256 seconds]
mangold has joined #ruby
mangold has quit [Quit: Leaving]
schne1der has joined #ruby
jinmiaol1 has quit [Remote host closed the connection]
jinmiaol1 has joined #ruby
rickhull has quit [Ping timeout: 245 seconds]
burgestrand has joined #ruby
jinmiaol1 has quit [Remote host closed the connection]
jinmiaol1 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
jinmiaol1 has quit [Ping timeout: 260 seconds]
jinmiaol1 has joined #ruby
conta has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
ldepandis has joined #ruby
cliluw has quit [Ping timeout: 272 seconds]
imode has quit [Ping timeout: 258 seconds]
vondruch has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
valphilnagel has quit [Quit: Leaving]
deathwishdave has joined #ruby
dionysus69 has joined #ruby
bruce_lee has joined #ruby
deathwishdave has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has quit [Remote host closed the connection]
jinmiaol1 has quit [Remote host closed the connection]
gato has joined #ruby
jinmiaol1 has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
Xeago_ is now known as Xeago
cnsvc has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
fercell has quit [Ping timeout: 272 seconds]
gato has quit [Ping timeout: 240 seconds]
hax has quit [Read error: Connection reset by peer]
hiroaki_ has joined #ruby
burgestrand has quit [Quit: burgestrand]
burgestrand has joined #ruby
ur5us_ has joined #ruby
chalkmonster has joined #ruby
Rudd0 has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
jetchisel has joined #ruby
gato has joined #ruby
pwnd_nsfw has quit [Quit: Leaving]
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
Xeago_ is now known as Xeago
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
spectra has quit [Ping timeout: 252 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
jinmiaol1 has quit [Ping timeout: 260 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
pwnd_nsfw has joined #ruby
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
ur5us_ has quit [Ping timeout: 252 seconds]
va5c0 has quit [Client Quit]
spectra has joined #ruby
va5c0 has joined #ruby
henninb has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
schne1der has quit [Quit: schne1der]
kinduff has joined #ruby
schne1der has joined #ruby
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 272 seconds]
yokel has quit [Ping timeout: 256 seconds]
yokel has joined #ruby
vondruch has joined #ruby
henninb has quit [Quit: leaving]
va5c0_ has joined #ruby
va5c0 has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
va5c0 has joined #ruby
va5c0_ has quit [Ping timeout: 264 seconds]
drincruz has quit [Ping timeout: 256 seconds]
gato has quit [Quit: Connection closed]
plutes has quit [Read error: Connection reset by peer]
drincruz has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
cadbury_ has quit [Quit: Connection closed for inactivity]
pwnd_nsfw has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
cow[moo] has joined #ruby
shansen has quit [Ping timeout: 272 seconds]
cliluw has joined #ruby
orbyt_ has joined #ruby
akem has quit [Ping timeout: 246 seconds]
akem has joined #ruby
cliluw has quit [Ping timeout: 260 seconds]
tpanarch1st has joined #ruby
fanta1 has joined #ruby
wymillerlinux has joined #ruby
va5c0 has quit [Quit: WeeChat 2.8]
giorgian has quit [Ping timeout: 240 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
vondruch has joined #ruby
va5c0 has quit [Quit: WeeChat 2.8]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shansen has joined #ruby
conta has quit [Remote host closed the connection]
va5c0 has joined #ruby
SeepingN has joined #ruby
giorgian has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
factormystic has quit [Read error: Connection reset by peer]
factormystic has joined #ruby
hassox has quit [Read error: Connection reset by peer]
darkstardev13 has joined #ruby
rippa has joined #ruby
gato has joined #ruby
null__ has left #ruby [#ruby]
ellcs has joined #ruby
TCZ has joined #ruby
inanepenguin has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ChmEarl has joined #ruby
kristian_on_linu has joined #ruby
wymillerlinux has quit [Ping timeout: 246 seconds]
burgestrand has quit [Quit: burgestrand]
FastJack has quit [Ping timeout: 240 seconds]
FastJack has joined #ruby
giorgian has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
ChanNode has joined #ruby
TomyWork has joined #ruby
ChanNode has quit [Remote host closed the connection]
titanbiscuit has quit [Ping timeout: 256 seconds]
tbisker8 has joined #ruby
NODE has joined #ruby
NODE has left #ruby [#ruby]
burgestrand has joined #ruby
wymillerlinux has joined #ruby
va5c0 has quit [Ping timeout: 258 seconds]
NODE has joined #ruby
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
vondruch has quit [Ping timeout: 260 seconds]
Garb0 has joined #ruby
burgestrand has quit [Quit: burgestrand]
Garb0 has quit [Ping timeout: 265 seconds]
crankharder has joined #ruby
TCZ has quit [Quit: Leaving]
inanepenguin has quit [Quit: inanepenguin]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
pwl has joined #ruby
code_zombie has joined #ruby
darkstardev13 has quit [Quit: Leaving]
darkstardev13 has joined #ruby
giorgian has joined #ruby
cliluw has joined #ruby
gitter1234 has joined #ruby
cliluw has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
DTZUZU has joined #ruby
imode has joined #ruby
TomyWork has quit [Remote host closed the connection]
howdoi has joined #ruby
pwl has quit [Quit: WeeChat 2.8]
tpanarch1st_ has joined #ruby
tpanarch1st has quit [Ping timeout: 258 seconds]
sauvin has quit [Read error: Connection reset by peer]
inanepenguin has joined #ruby
vqrs has quit [Ping timeout: 272 seconds]
vqrs has joined #ruby
jasonswett has joined #ruby
fanta1 has quit [Quit: fanta1]
jasonswett has left #ruby [#ruby]
jasonswett has joined #ruby
pwl has joined #ruby
hardball has quit [Quit: Konversation terminated!]
DTZUZU has quit [Ping timeout: 256 seconds]
gsingh93 has quit [Ping timeout: 260 seconds]
NODE has quit [Quit: changing servers]
DTZUZU has joined #ruby
NODE has joined #ruby
gsingh93 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
inanepenguin has quit [Quit: inanepenguin]
chalkmon1 has quit [Quit: WeeChat 2.8]
bovis has joined #ruby
Tempesta has quit [Quit: See ya!]
u235psycho has joined #ruby
<bovis> I'm trying to work with the Google Analytics API. I receive the error "undefined method 'each_with_index'" related to the API's DimensionFilter class when running my script.
<bovis> Relevant parts are here: https://bpa.st/3XXQ
<bovis> The code seems to work fine when it's called *the first time*.
<bovis> It outputs all the correct values. Nowhere else do I use DimensionFilter. I'm just stuck about how to proceed.
Emmanuel_Chanel has joined #ruby
gix has joined #ruby
jasonswett has quit [Quit: leaving]
gato has quit [Quit: Connection closed]
<adam12> bovis: Hard to say because the stack trace references Representable which isn't even in your code paste.
<adam12> bovis: Can you show us the entire stack trace? Maybe there will be some hints in there.
leitz has joined #ruby
<bovis> adam12: The whole thing is here: https://bpa.st/TAUA
<bovis> The final four lines show me I'm grabbing the right information from the json and that i reach the end of the entire Analytics query
<adam12> bovis: Are you able to show the entire weekly-analytics-shortened.rb script? the get_analytics_data method? or is that what you pasted in your original paste?
<adam12> bovis: Actually it's probably not relevant.
<adam12> bovis: Out of curiosity, what happens if you do `clause_obj.filters = [filters_obj]` instead.
<bovis> adam12: I can post it if it will help. I'll try that suggestion first
leah2 has quit [Ping timeout: 260 seconds]
Tempesta has joined #ruby
<bovis> adam12: That worked, at least to get past that specific error.
<bovis> I assume something in the ruby gem was seeking an array and getting an object instead?
<adam12> bovis: Yeah. Signature of that setter was `Array<DimensionFilter>
<adam12> bovis: Normally it would probably not matter since a developer would be defensive and accept an Array or a single argument and convert it into an Array, but .. ?? :)
<bovis> adam12: Very helpful. Thank you
<adam12> bovis: Good luck!
segnet has joined #ruby
beanie__ has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
tpanarch1st_ has quit [Ping timeout: 265 seconds]
leah2 has joined #ruby
chalkmonster has joined #ruby
cd has quit [Quit: cd]
<segnet> this may be a shot in the dark, but does anyone here use fluentd? reason I ask is because it's ruby under the hood and supports embedded ruby code - which I can't get to work. it's definitely just my code and hoping someone may have some input on what I'm doing wrong: https://dpaste.org/owh3
inanepenguin has joined #ruby
leah2 has quit [Ping timeout: 272 seconds]
u235psycho has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mwlang has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
<mwlang> vague question time: when did Ruby make it _a lot_ easier to establish SSL connections and verify certificates? It used to be that we had to prepare our own CA bundles and load that file and set it when establishing SSL or HTTPS connections. Now it seems to largely work.
ur5us_ has joined #ruby
<mwlang> specifically, I don’t recall having easy access to the system’s built-in certificates with store = OpenSSL::X509::Store.new && store.set_default_paths
ellcs has joined #ruby
wymillerlinux has quit [Ping timeout: 258 seconds]
dfucci has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
ellcs has quit [Ping timeout: 260 seconds]
leah2 has joined #ruby
dviola has joined #ruby
sphex has quit [Read error: Connection reset by peer]
<mwlang> looks like maybe around Ruby 1.9.3 era
elcuervo has joined #ruby
sphex has joined #ruby
leah2 has quit [Ping timeout: 272 seconds]
wymillerlinux has joined #ruby
leah2 has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
leitz has quit [Quit: Leaving]
_aeris has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
_aeris is now known as _aeris_
cnsvc has joined #ruby
mwlang has quit [Quit: mwlang]
schne1der has quit [Ping timeout: 272 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
Mawile has joined #ruby
pwnd_nsfw` has joined #ruby
Azure|dc has joined #ruby
Mawile has quit [Client Quit]
pwnd_nsfw has quit [Read error: Connection reset by peer]
Archenoth has quit [Ping timeout: 258 seconds]
Azure has quit [Ping timeout: 258 seconds]
bovis has quit [Ping timeout: 265 seconds]
tpanarch1st_ has joined #ruby
beanie__ has quit [Ping timeout: 272 seconds]
ur5us_ has quit [Ping timeout: 260 seconds]
<d3bug> how do i install from a .gem file locally
<d3bug> i tried rubygems but im getting timeouts
gitter1234 has quit [Quit: Connection closed for inactivity]
<havenwood> d3bug: gem unpack
<havenwood> d3bug: then build and install
<d3bug> damn its not my connection its rubygems on macOS
<d3bug> i tried a vm and it installed it from the gems server
<havenwood> d3bug: Show the output of?: gem install hola --verbose
<ruby[bot]> d3bug: we in #ruby do not like irccloud.com, it has no syntax highlighting, distracting formatting and loads slowly for most. Please use https://gist.github.com
<d3bug> oh my bad ill use github if you cant see that
<ruby[bot]> d3bug: as I told you already, please use https://gist.github.com
siery has joined #ruby
crankharder has joined #ruby
SuperL4g has joined #ruby
SuperLag has quit [Ping timeout: 256 seconds]
SuperL4g has quit [Ping timeout: 258 seconds]
SuperLag has joined #ruby
<havenwood> d3bug: Interesting it work with direct install. Does it only fail via Bundler?
<havenwood> d3bug: Does it also work to?: gem install metasm
<havenwood> (Assuming it does.)
<d3bug> i tried gem install metasm, once more and i waited a long time and got it finally installed. taking much longer than the vm, which was xubuntu
<d3bug> sorry for wasting your time i know your very helpful havenwood
<siery> Hey, can someone help me figure out carc.in http requests?
<siery> Or can you actually controll this by http requests?
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
<havenwood> d3bug: Nice! Glad you got it working.
kristian_on_linu has joined #ruby
ur5us_ has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
stryek has quit [Quit: Connection closed for inactivity]
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
greypack_1 has joined #ruby
greypack has quit [Read error: Connection reset by peer]
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #ruby
bvdw has quit [Client Quit]
bvdw has joined #ruby
<havenwood> siery: Whatcha using it for?
darkstardev13 has joined #ruby
sarmiena_ has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tpanarch1st_ has quit [Ping timeout: 265 seconds]
pwl has quit [Ping timeout: 256 seconds]
cnsvc has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
darkstardev13 has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
m27frogy has quit [Quit: ZNC - https://znc.in]
<siery> havenwood: I want to write a ruby repl for twitch chat application