havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview1: 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!
Swyper has joined #ruby
Skaterhaym has quit [Read error: Connection reset by peer]
Skaterhaym has joined #ruby
bitwinery__ has joined #ruby
Skaterhaym has quit [Ping timeout: 240 seconds]
greengriminal has joined #ruby
Swyper has quit [Remote host closed the connection]
agent_white has quit [Quit: bbl]
bitwinery__ has quit [Read error: Connection reset by peer]
bitwinery__ has joined #ruby
sytherax has quit [Remote host closed the connection]
xGrind has joined #ruby
xGrind has quit [Client Quit]
xco has quit [Quit: xco]
bradleyprice has joined #ruby
tdy has joined #ruby
crichoux is now known as laudecay
sytherax has joined #ruby
tpanarch1st has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
sytherax has quit [Ping timeout: 240 seconds]
SzeregowyPosel has quit [Quit: Bye Bye]
lucasb has quit [Quit: Connection closed for inactivity]
bambanx has quit [Ping timeout: 265 seconds]
drincruz has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
sgen has joined #ruby
dasher00 has quit [Ping timeout: 245 seconds]
cyclonis has quit [Ping timeout: 276 seconds]
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
cyclonis_ has joined #ruby
kyrylo has joined #ruby
teclator has quit [Ping timeout: 268 seconds]
bitwinery__ has quit [Quit: Leaving]
millerti has quit [Ping timeout: 250 seconds]
laudecay has quit [Ping timeout: 240 seconds]
laudecay has joined #ruby
s2013 has joined #ruby
AJA4350 has quit [Quit: AJA4350]
bradleyprice has quit [Remote host closed the connection]
jeremycw has joined #ruby
greengriminal has joined #ruby
jeremycw has quit [Ping timeout: 265 seconds]
sgen has quit [Ping timeout: 250 seconds]
laudecay has quit [Ping timeout: 265 seconds]
sytherax has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
mossplix has quit [Ping timeout: 250 seconds]
bambanx has joined #ruby
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
agent_white has joined #ruby
brool has quit [Ping timeout: 276 seconds]
bambanx has quit [Ping timeout: 268 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bradleyprice has joined #ruby
mossplix has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix- has joined #ruby
gix has quit [Disconnected by services]
mossplix has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
bradleyprice has quit [Client Quit]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
donofrio has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
megeve has joined #ruby
mossplix has joined #ruby
jeremycw has joined #ruby
queip has quit [Ping timeout: 268 seconds]
queip has joined #ruby
jeremycw has quit [Ping timeout: 268 seconds]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
Nicmavr has quit [Read error: Connection reset by peer]
riceandbeans has quit [Read error: Connection reset by peer]
xco has joined #ruby
blackmesa1 has joined #ruby
vondruch_ has joined #ruby
Nicmavr has joined #ruby
riceandb1ans has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
vondruch_ is now known as vondruch
envex has quit []
blackmesa1 has quit [Ping timeout: 250 seconds]
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 240 seconds]
cd has quit [Quit: cd]
queip_ has joined #ruby
queip has quit [Ping timeout: 268 seconds]
queip_ is now known as queip
agent_white has quit [Quit: bbl]
sauvin has joined #ruby
duckpupp- has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
blackmesa1 has joined #ruby
jmcgnh has joined #ruby
conta has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
gix- has quit [Ping timeout: 265 seconds]
Frobozz has joined #ruby
Inline__ has quit [Quit: Leaving]
xco has quit [Quit: xco]
schne1der has joined #ruby
sandstrom has joined #ruby
sytherax has quit [Remote host closed the connection]
sytherax has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
sphex has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
akem__ has joined #ruby
akemhp_ has quit [Ping timeout: 240 seconds]
sytherax has quit [Ping timeout: 250 seconds]
jmcgnh has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
dhollinger has joined #ruby
conta has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
dionysus69 has joined #ruby
mossplix has joined #ruby
mossplix has quit [Ping timeout: 268 seconds]
andikr has joined #ruby
tdy has joined #ruby
sytherax has joined #ruby
absolutejam has joined #ruby
queip has quit [Ping timeout: 268 seconds]
queip_ has joined #ruby
queip_ is now known as queip
absolutejam has quit [Ping timeout: 246 seconds]
mossplix has joined #ruby
cyclonis_ has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 268 seconds]
mossplix has quit [Remote host closed the connection]
sytherax has quit [Remote host closed the connection]
sytherax has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sytherax has quit [Ping timeout: 240 seconds]
poontangmessiah has joined #ruby
FlorianFa has quit [Ping timeout: 268 seconds]
TomyWork has joined #ruby
sytherax has joined #ruby
mossplix has joined #ruby
sarna has joined #ruby
psmolen has quit [Ping timeout: 265 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
davor_ has joined #ruby
davor has quit [Ping timeout: 265 seconds]
davor_ is now known as davor
NL3limin4t0r_afk has quit [Ping timeout: 240 seconds]
FlorianFa has joined #ruby
schne1der has joined #ruby
akem__ is now known as akem
NL3limin4t0r_afk has joined #ruby
suukim has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
absolutejam has joined #ruby
sandstrom has joined #ruby
xco has joined #ruby
krandi has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
ged has quit [Ping timeout: 268 seconds]
mahlon has quit [Ping timeout: 246 seconds]
mossplix_ has joined #ruby
chalkmonster has joined #ruby
mosspli__ has joined #ruby
mossplix has quit [Ping timeout: 240 seconds]
mossplix_ has quit [Read error: Connection reset by peer]
mahlon has joined #ruby
cyclonis has joined #ruby
mahlon has quit [Ping timeout: 246 seconds]
mosspli__ has quit [Remote host closed the connection]
mossplix has joined #ruby
mossplix has quit [Ping timeout: 240 seconds]
conta1 has joined #ruby
tdy has joined #ruby
teclator has joined #ruby
ellcs has joined #ruby
ged has joined #ruby
conta1 has quit [Ping timeout: 240 seconds]
deathwishdave has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
mahlon has joined #ruby
mossplix has joined #ruby
absolutejam has quit [Ping timeout: 268 seconds]
s2013 has joined #ruby
queip has quit [Ping timeout: 265 seconds]
Frobozz has quit [Quit: quit]
queip_ has joined #ruby
queip_ is now known as queip
psmolen has joined #ruby
Intelo has joined #ruby
sarna has quit [Ping timeout: 268 seconds]
absolutejam has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
tsujp_ has joined #ruby
tsujp has quit [Ping timeout: 268 seconds]
lxsameer has joined #ruby
phaul has joined #ruby
gaba1 has joined #ruby
postmodern has quit [Quit: Leaving]
al2o3-cr has quit [Ping timeout: 246 seconds]
vondruch has quit [Read error: Connection reset by peer]
vondruch has joined #ruby
bijan_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gaba1 has quit [Quit: WeeChat 2.6]
psmolen has quit [Ping timeout: 265 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
kyrylo has joined #ruby
xco has quit [Quit: xco]
psmolen has joined #ruby
chalkmonster has joined #ruby
sarna has joined #ruby
dretnx has joined #ruby
_phaul has joined #ruby
RougeR has joined #ruby
<RougeR> hey
<jhass> hi
Intelo has quit [Ping timeout: 240 seconds]
<RougeR> heya, lol was guna ask for some help
<RougeR> but think i have an idea
phaul has quit [Ping timeout: 240 seconds]
dbugger has joined #ruby
absolutejam has quit [Read error: Connection reset by peer]
absolutejam has joined #ruby
sytherax has quit [Quit: Leaving...]
Intelo has joined #ruby
mossplix has quit [Remote host closed the connection]
blackmesa1 has joined #ruby
minvs1 has joined #ruby
mossplix has joined #ruby
mossplix_ has joined #ruby
mossplix has quit [Remote host closed the connection]
minvs1 has quit [Quit: Textual IRC Client: www.textualapp.com]
minvs1 has joined #ruby
minvs1 has quit [Client Quit]
minvs1 has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
<rann> hey all, is it possible to set Gem.user_dir through an environment variable or setting in .gemrc?
phaul has joined #ruby
s2013 has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
minvs1 has quit [Quit: Textual IRC Client: www.textualapp.com]
minvs1 has joined #ruby
Intelo has joined #ruby
sagax has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 250 seconds]
queip_ has joined #ruby
queip_ is now known as queip
_dbugger has joined #ruby
_phaul has joined #ruby
dbugger has quit [Ping timeout: 264 seconds]
jeremycw has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_dbugger has quit [Quit: Leaving]
phaul has quit [Ping timeout: 240 seconds]
absolutejam has quit [Ping timeout: 265 seconds]
jeremycw has quit [Ping timeout: 250 seconds]
mossplix_ has quit [Remote host closed the connection]
mossplix has joined #ruby
Mrgoose845701915 has quit [Read error: Connection reset by peer]
blackmesa1 has quit [Ping timeout: 245 seconds]
Mrgoose845701915 has joined #ruby
blackmesa1 has joined #ruby
mossplix has quit [Ping timeout: 268 seconds]
absolutejam has joined #ruby
queip has quit [Ping timeout: 245 seconds]
vondruch has quit [Quit: vondruch]
queip has joined #ruby
mossplix has joined #ruby
Intelo_ has joined #ruby
phaul has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
_phaul has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
SzeregowyPosel has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
dasher00 has joined #ruby
gigetoo has joined #ruby
<jhass> rann: not really, of course you can influence it a bit with setting `HOME`. Seems like an XY question though, maybe you're just looking for `GEM_HOME`?
sagax has joined #ruby
yokel has joined #ruby
chalkmonster has joined #ruby
<rann> GEM_HOME sets "INSTALLATION DIRECTORY" (Gem.default_dir) but not Gem.user_dir ("USER INSTALLATION DIRECTORY" in gem env)
chalkmon1 has joined #ruby
<rann> I gave up and set GEM_HOME to what Gem.user_dir came up with
chalkmonster has quit [Ping timeout: 240 seconds]
iNs has quit [Ping timeout: 260 seconds]
galaxie has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
paraxial has quit [Ping timeout: 250 seconds]
paraxial has joined #ruby
iNs has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
chalkmon1 has quit [Ping timeout: 268 seconds]
chalkmonster has joined #ruby
paraxial has quit [Ping timeout: 245 seconds]
galaxie has joined #ruby
<rapha> morning
<rapha> is there a list of global variables such as ARGV?
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
<rapha> (i don't know what to call those, really ... "global variables" is not the right term)
conta1 has joined #ruby
AJA4350 has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
zodd has joined #ruby
Intelo_ has quit [Quit: Leaving]
Intelo has joined #ruby
zodd is now known as Guest26625
mossplix has quit [Remote host closed the connection]
Guest26625 is now known as zodd_
zodd_ is now known as zathras
drincruz has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
paraxial has joined #ruby
mossplix has joined #ruby
Omnilord has joined #ruby
darkf has quit [Quit: Connection closed for inactivity]
nowhere_man has quit [Ping timeout: 240 seconds]
brendan- has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
brendan- has joined #ruby
lucasb has joined #ruby
SzeregowyPosel has quit [Quit: Bye Bye]
drincruz has quit [Ping timeout: 268 seconds]
tsujp_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyperreal has quit [Quit: kthxbai]
jacksoow has quit [Read error: No route to host]
hyperreal has joined #ruby
tsujp has joined #ruby
jacksoow has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
tjbp has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
schne1der has quit [Ping timeout: 240 seconds]
stryek has joined #ruby
brendan- has quit [Ping timeout: 264 seconds]
chalkmon1 has joined #ruby
schne1der has joined #ruby
chalkmonster has quit [Ping timeout: 250 seconds]
darkf has joined #ruby
nowhere_man has joined #ruby
linduxed has quit [Ping timeout: 276 seconds]
chalkmonster has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
chalkmon1 has quit [Ping timeout: 265 seconds]
absolutejam has quit [Ping timeout: 240 seconds]
absolutejam has joined #ruby
linduxed has joined #ruby
akemhp_ has joined #ruby
akem has quit [Ping timeout: 240 seconds]
<jhass> predefined constants?
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<jhass> rapha: ^
SzeregowyPosel has joined #ruby
Axy has quit [Ping timeout: 268 seconds]
<rapha> ah, thank you jhass1
jacksoow has quit [Ping timeout: 246 seconds]
jacksoow has joined #ruby
dhollinger has quit [Ping timeout: 276 seconds]
dhollinger has joined #ruby
jacksoow has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
jacksoow has joined #ruby
unreal has joined #ruby
cd has joined #ruby
greengriminal has joined #ruby
Inline has joined #ruby
drincruz has joined #ruby
jacksoow has quit [Read error: Connection reset by peer]
schne1der has quit [Ping timeout: 268 seconds]
jacksoow has joined #ruby
nowhere_man has quit [Ping timeout: 265 seconds]
edwardly has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 264 seconds]
jacksoow_ has joined #ruby
jacksoow_ has quit [Read error: Connection reset by peer]
queip_ has joined #ruby
sarna has quit [Remote host closed the connection]
queip_ is now known as queip
jacksoow has quit [Ping timeout: 268 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
jacksoow has joined #ruby
mossplix has quit [Remote host closed the connection]
edwardly has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: brb]
jacksoow_ has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jacksoow has quit [Ping timeout: 252 seconds]
mozzarella has quit [Ping timeout: 240 seconds]
conta1 has quit [Quit: conta1]
RougeR has quit [Ping timeout: 268 seconds]
krandi has quit [Remote host closed the connection]
davor_ has joined #ruby
absolutejam has quit [Ping timeout: 240 seconds]
davor has quit [Ping timeout: 268 seconds]
davor_ is now known as davor
mossplix has joined #ruby
troulouliou_div2 has joined #ruby
jeremycw has joined #ruby
absolutejam has joined #ruby
jacksoow_ has quit [Read error: No route to host]
Intelo has quit [Ping timeout: 245 seconds]
minvs1 has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
greengriminal has quit [Quit: This computer has gone to sleep]
jacksoow has joined #ruby
Omnilord has quit [Quit: This computer has gone to sleep]
cow[moo] has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
conta1 has joined #ruby
queip_ is now known as queip
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
jacksoow has quit [Ping timeout: 276 seconds]
SzeregowyPosel has quit [Quit: Bye Bye]
jacksoow has joined #ruby
schne1der has joined #ruby
mossplix has quit [Remote host closed the connection]
Intelo has joined #ruby
jacksoow has quit [Read error: Connection reset by peer]
xco has joined #ruby
minvs1 has joined #ruby
mossplix has joined #ruby
SeepingN has joined #ruby
jacksoow has joined #ruby
zathras has quit [Read error: Connection reset by peer]
Cyrus has quit [Ping timeout: 240 seconds]
SzeregowyPosel has joined #ruby
c-c is now known as Cuckooo
Cyrus has joined #ruby
absolutejam has quit [Ping timeout: 268 seconds]
Cuckooo is now known as Cuckoo
Cuckoo has quit [Disconnected by services]
minvs1 has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
TomyWork has quit [Ping timeout: 246 seconds]
ellcs has quit [Ping timeout: 246 seconds]
_kiara has joined #ruby
_kiara has quit [Remote host closed the connection]
_kiara has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
greengriminal has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
greengriminal has quit [Client Quit]
conta1 has quit [Quit: conta1]
mossplix has quit [Ping timeout: 268 seconds]
dbugger has joined #ruby
Intelo has quit [Ping timeout: 265 seconds]
jacksoow has quit [Ping timeout: 240 seconds]
Omnilord has joined #ruby
jacksoow has joined #ruby
tpanarch1st has joined #ruby
orbyt_ has joined #ruby
SzeregowyPosel has quit [Quit: Bye Bye]
jacksoow has quit [Read error: No route to host]
jacksoow has joined #ruby
Omnilord has quit [Quit: This computer has gone to sleep]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
Intelo has joined #ruby
mossplix has joined #ruby
bvdw has quit [Quit: bvdw]
Omnilord has joined #ruby
bvdw has joined #ruby
mossplix has quit [Remote host closed the connection]
fphilipe has quit [Ping timeout: 240 seconds]
mossplix has joined #ruby
Rapture has joined #ruby
blackmesa1 has joined #ruby
Rapture has quit [Client Quit]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
impermanence has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacksoow has quit [Ping timeout: 240 seconds]
jacksoow has joined #ruby
akemhp_ is now known as akem
dretnx2 has joined #ruby
dretnx has quit [Ping timeout: 268 seconds]
jacksoow has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
troulouliou_div2 has quit [Read error: Connection reset by peer]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has joined #ruby
mossplix has quit [Remote host closed the connection]
Intelo has quit [Ping timeout: 240 seconds]
impermanence has quit [Ping timeout: 240 seconds]
Intelo has joined #ruby
xco has quit [Quit: xco]
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
apg has joined #ruby
apg has joined #ruby
apg has quit [Changing host]
rippa has joined #ruby
xco has joined #ruby
apg_ has joined #ruby
greengriminal has joined #ruby
mozzarella has joined #ruby
dbugger has quit [Quit: Leaving]
suukim has quit [Quit: Konversation terminated!]
hiroaki_ has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
Inline__ has joined #ruby
tdy has joined #ruby
hiroaki_ has joined #ruby
poontangmessiah has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
dretnx2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
poontangmessiah has quit [Remote host closed the connection]
edwardly has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
sandstrom has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
gix has joined #ruby
dionysus70 has joined #ruby
poontangmessiah_ has joined #ruby
ellcs has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 is now known as dionysus69
tdy has quit [Quit: WeeChat 1.9.1]
poontangmessiah has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 264 seconds]
queip_ has joined #ruby
queip_ is now known as queip
teclator has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
teclator has joined #ruby
dostoyevsky has quit [Remote host closed the connection]
bambanx has joined #ruby
dostoyevsky has joined #ruby
poontangmessiah has joined #ruby
absolutejam has joined #ruby
poontangmessiah_ has quit [Ping timeout: 240 seconds]
jacksoow has quit [Read error: No route to host]
jacksoow has joined #ruby
orbyt_ has joined #ruby
apg_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
apg has quit [Quit: Leaving]
Inline__ has quit [Quit: Leaving]
Inline has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
jacksoow_ has joined #ruby
jacksoow has quit [Ping timeout: 246 seconds]
apg has joined #ruby
apg is now known as Guest70325
poontangmessiah has quit [Remote host closed the connection]
random-jellyfish has joined #ruby
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #ruby
Guest70325 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<random-jellyfish> is there a way to split a string into a list using start and end delimiters e.g. I want "< hello there > I don't want this <this I want>" split into ["hello there", "this I want"] ? with < and > as delimiters definig the chunks of text that I want to keep and store in the list
<jhass> random-jellyfish: what about nesting? "foo <this I want <do I want this? <how?>>>"
<random-jellyfish> assume there is no nesting
<random-jellyfish> just one level
queip has quit [Ping timeout: 265 seconds]
<jhass> .scan(/(?<=<)[^>]+(?=>)/)
queip has joined #ruby
<random-jellyfish> thanks!
<random-jellyfish> can you explain how that works?
<jhass> how much do you already know about regular expressions?
apg_ has joined #ruby
riceandb1ans has quit [Quit: leaving]
<random-jellyfish> I've worked with regexs before
<jhass> so [^>]+ should be pretty clear
<jhass> (?<=) is a positive lookebehind, the following only matches after successful matches of the lookbehind, in this case <
<random-jellyfish> one or more non-'>' ?
<jhass> yeah
<jhass> (?=) is a positive lookahead, the preceding only matches if there are successfull matches ahead
<jhass> say we swap the <> for idk, foo and bar, /(?<=foo).+(?=bar)/
<random-jellyfish> interesting, I didn't know about lookbehinds and lookaheads, they seem to be very powerful
<random-jellyfish> is it only ruby that has them?
<canton7> they're pretty standard
<jhass> yeah
<canton7> only some languages support variable-length lookarounds though, iirc
blackmesa1 has quit [Ping timeout: 246 seconds]
apg_ has quit [Quit: Til we meet again, my friends]
blackmesa1 has joined #ruby
drincruz has quit [Read error: Connection reset by peer]
drincruz_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
hiroaki_ has quit [Ping timeout: 265 seconds]
matheusmoreira has quit [Ping timeout: 240 seconds]
brendan- has joined #ruby
matheusmoreira has joined #ruby
SzeregowyPosel has joined #ruby
CalimeroTeknik has quit [Quit: バイバイ]
<jhass> didn't know any do actually
hiroaki_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip_ is now known as queip
mynameisdebian has joined #ruby
<mynameisdebian> I am trying to JSON.parse a 1GB JSON file and I get "ArgumentError: negative string size (or size too big)". Is this a common error, and does anyone know what it means in this situation?
akemhp has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip_ is now known as queip
akem has quit [Ping timeout: 264 seconds]
akemhp_ has joined #ruby
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
akemhp has quit [Ping timeout: 268 seconds]
<adam12> mynameisdebian: Can you show the entire block of code you're using? It sounds like you're reading JSON in as a string then parsing.
wildtrees has joined #ruby
<mynameisdebian> adam12, I'm using json = JSON.parse("File.open("myjson.json").read)
<mynameisdebian> whoops
<mynameisdebian> adam12, I'm using json = JSON.parse(File.open("myjson.json").read)
wildtrees has quit [Max SendQ exceeded]
<mynameisdebian> so yes, what you said
<adam12> mynameisdebian: I can't remember how JSON works, but maybe you can leave off the `read` portion and pass it a IO object?
<adam12> mynameisdebian: Just spitballing. json = JSON.parse(File.open("myjson.json"))
wildtrees has joined #ruby
<adam12> mynameisdebian: If that doesn't work, you might need a non-stdlib json parser that streams/reads in chunks.
<mynameisdebian> I think JSON.parse takes a string
bijan_ has quit []
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Yxhuvud has quit [Remote host closed the connection]
bambanx has quit [Read error: Connection reset by peer]
<adam12> mynameisdebian: It's possible. 1GB is fairly large, and due to the nature of JSON parsing it can be hard to parse in chunks.
jacksoow_ has quit [Read error: Connection reset by peer]
g_w has joined #ruby
<jhass> I think https://github.com/brianmario/yajl-ruby is most common
jacksoow has joined #ruby
<jhass> if this is a simple one off data conversion or similar I can also recommend taking a look at crystal which supports streaming parsing in stdlib with JSON::PullParser :)
<Iambchop> mynameisdebian: is that file one large json object or a bunch of small objects?
<mynameisdebian> Iambchop, I'm thinking there's around 20,000 top-level objects in there, rough estimate
g_w is now known as gdubb
<Iambchop> yajl is one option that seems to support streaming and running a block for each object: https://github.com/brianmario/yajl-ruby
queip has quit [Read error: Connection reset by peer]
lxsameer has quit [Ping timeout: 265 seconds]
ur5us has joined #ruby
queip has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
random-jellyfish has quit [Remote host closed the connection]
howdoi has joined #ruby
Yxhuvud has joined #ruby
hiroaki_ has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
peirama has quit [Quit: exit]
teardown has quit [Read error: Connection reset by peer]
teardown has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
mossplix has joined #ruby
teardown has quit [Read error: Connection reset by peer]
teardown has joined #ruby
blackmesa1 has joined #ruby
hiroaki_ has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teardown has quit [Read error: Connection reset by peer]
SeepingN has joined #ruby
teardown has joined #ruby
blackmesa1 has quit [Ping timeout: 246 seconds]
teardown has quit [Read error: Connection reset by peer]
teardown has joined #ruby
xGrind has joined #ruby
jcalla has quit [Quit: Leaving]
poontangmessiah has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #ruby
blackmesa1 has joined #ruby
mossplix has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 265 seconds]
_kiara has quit [Remote host closed the connection]
nowhere_man has joined #ruby
tdy has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
brendan- has quit [Ping timeout: 264 seconds]
brendan- has joined #ruby
bambanx has joined #ruby
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grvgr has joined #ruby
Fernando-Basso has joined #ruby
sputnik13 has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
dinfuehr has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
dinfuehr has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
jeremycw has quit [Ping timeout: 240 seconds]
edwardly has quit [Read error: Connection reset by peer]
jeremycw has joined #ruby
xco has quit [Quit: xco]
greengriminal has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jeremycw has quit [Ping timeout: 268 seconds]
schne1der has quit [Ping timeout: 265 seconds]
absolutejam has quit [Ping timeout: 240 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spiette has quit [Quit: ZNC 1.7.5 - https://znc.in]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz_ has quit [Ping timeout: 276 seconds]
sputnik13 has joined #ruby
spiette has joined #ruby
sputnik13 has quit [Client Quit]
greengriminal has quit [Quit: This computer has gone to sleep]
sputnik13 has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
blackmesa1 has quit [Ping timeout: 276 seconds]
blackmesa1 has joined #ruby
sputnik13 has quit [Client Quit]
sputnik13 has joined #ruby
s2013 has joined #ruby
Swyper has joined #ruby
mikecmpbll has joined #ruby
mossplix has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has quit [Remote host closed the connection]
SzeregowyPosel has quit [Quit: Bye Bye]
jmcgnh has quit [Ping timeout: 276 seconds]
jmcgnh has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sameerynho has quit [Ping timeout: 240 seconds]
stryek has quit [Quit: Connection closed for inactivity]
SzeregowyPosel has joined #ruby
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
tpanarch1st has joined #ruby
AJA4350 has quit [Quit: AJA4350]
blackmesa1 has quit [Ping timeout: 246 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
absolutejam has joined #ruby
absolutejam has quit [Ping timeout: 240 seconds]