baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
moei has quit [Quit: Leaving...]
ornerymoose has joined #ruby
<ornerymoose> Hello. I’m having a difficult time understand how to return the minimum distance per cust, and each cust in the output CSV should be uniq with the associated minimum distance. Given the number of rows in the swfl_fiber_lat and swfl_fiber_long CSVs, there are currently way too many rows outputted to manage. Any insight? https://gist.github.com/ornerymoose/cddf65270bf865978be91e93a7aae3b0
modlin has quit [Ping timeout: 252 seconds]
antoniobeyah has quit [Quit: Connection closed for inactivity]
_djbkd has joined #ruby
haennar has joined #ruby
gusrub has joined #ruby
Pumukel has joined #ruby
User458764 has joined #ruby
montanonic has joined #ruby
pawnbox has joined #ruby
mim1k has joined #ruby
fclausen has quit [Ping timeout: 252 seconds]
haennar has quit [Ping timeout: 260 seconds]
lacour has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 246 seconds]
Burgestrand has quit [Quit: Closing time!]
mim1k has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
ornerymoose has quit [Ping timeout: 268 seconds]
toretore has quit [Ping timeout: 260 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhack has joined #ruby
cagomez has joined #ruby
<cagomez> arr = [1, 2, 3, 4, 5]; arr.detect { |a| a > 5 } || 20 ... is the || a failsafe against nil? so that 20 is returned in case |a| > 5 isn't found?
blackmesa has quit [Ping timeout: 240 seconds]
<Radar> cagomez: yes
<Radar> >> arr = [1, 2, 3, 4, 5]; arr.detect { |a| a > 5 } || 20
<ruby[bot]> Radar: # => 20 (https://eval.in/744935)
<cagomez> cool thanks
<cagomez> >> puts "hi"
<ruby[bot]> cagomez: # => hi ...check link for more (https://eval.in/744936)
mim1k has joined #ruby
blackmesa has joined #ruby
chouhoulis has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
polyidus has joined #ruby
pawnbox has joined #ruby
nowhereman has joined #ruby
allisio has joined #ruby
cschneid_ has joined #ruby
<cagomez> if I have def foo(a, b, c), can I call foo() with args in any order if I name them?
<allisio> cagomez: That'd have to be `def foo(a:, b:, c:)`, but otherwise yes.
pawnbox has quit [Ping timeout: 268 seconds]
<cagomez> I'm actually instantiating a class, not calling a method. would they have to be def foo(a:, b:, c:) in that case?
<allisio> You're always calling a method.
<cagomez> ah i see, thanks
hutch34_ has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
jdelreal has quit [Quit: Connection closed for inactivity]
cagomez has quit []
Suslov has quit [Remote host closed the connection]
Volsus has joined #ruby
mim1k has joined #ruby
hutch34_ has quit [Ping timeout: 268 seconds]
Volsus has quit [Ping timeout: 264 seconds]
<havenwood> Though bsearch is nicer for that clearly realistic usecase. ;-)
mim1k has quit [Ping timeout: 260 seconds]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens is now known as Guest67472
raspado_ has joined #ruby
TPug has joined #ruby
fclausen has joined #ruby
polyidus has quit [Quit: Gone]
raspado has quit [Ping timeout: 240 seconds]
Guest67472 has quit [Ping timeout: 260 seconds]
kristofferR has joined #ruby
nowhereman has quit [Remote host closed the connection]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
ziyangtian has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
Channel6 has joined #ruby
saneax is now known as saneax-_-|AFK
chouhoulis has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
aaaaaaaabbbbbbb has joined #ruby
tau has quit [Remote host closed the connection]
username_ has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
gusrub has quit [Remote host closed the connection]
marchelzo has joined #ruby
<marchelzo> hello ruby family how are things
gusrub has joined #ruby
jameser has joined #ruby
aaaaaaaabbbbbbb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aaaaaaaabbbbbbb has joined #ruby
dnewkerk has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has joined #ruby
padi_ has joined #ruby
raspado_ has quit [Remote host closed the connection]
KicStart has left #ruby [#ruby]
enterprisey has joined #ruby
moei has joined #ruby
Snowy has quit [Quit: ragequit]
padi_ has quit [Read error: Connection reset by peer]
padi_ has joined #ruby
gusrub has quit [Remote host closed the connection]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
malconis has quit [Read error: Connection reset by peer]
tekniq has quit [Ping timeout: 260 seconds]
hutch34_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
pawnbox has joined #ruby
_djbkd has quit [Quit: My people need me...]
cxr has quit [Ping timeout: 246 seconds]
mim1k has joined #ruby
malconis has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 240 seconds]
brent__ has quit [Ping timeout: 240 seconds]
cxr has joined #ruby
Cohedrin_ has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
Volsus has joined #ruby
Cohedrin has quit [Ping timeout: 240 seconds]
Volsus has quit [Ping timeout: 264 seconds]
cxr has quit [Ping timeout: 260 seconds]
cdg_ has joined #ruby
mim1k has joined #ruby
dopamean1 has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 268 seconds]
ahrs is now known as ahrs|AFK
jameser has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
montanonic has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
Irishluck83 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lucky_ABA has joined #ruby
Lucky_ABA has quit [Client Quit]
nettoweb has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest32423
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
jenrzzz has joined #ruby
cdg_ has quit [Remote host closed the connection]
cxr has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
Lucky_ABA has joined #ruby
camilasan has quit [Ping timeout: 255 seconds]
dnewkerk has quit [Quit: dnewkerk]
camilasan has joined #ruby
<axsuul> I'm on rbenv.. I've uninstalled all rails gems but when I do `rails --version`, it still shows "4.2.6". Even if I install a new version of rails, it still says "4.2.6". Anyone know why?
hutch34_ has quit [Ping timeout: 260 seconds]
<axsuul> I've also tried rbenv rehash
d^sh has quit [Ping timeout: 260 seconds]
d0nn1e has quit [Ping timeout: 240 seconds]
<allisio> axsuul: What's `which rails`?
hutch34_ has joined #ruby
<axsuul> allisio: /Users/axsuul/.rbenv/shims/rails
<axsuul> I've also tried deleting that and then doing `rbenv rehash` again
d^sh has joined #ruby
<allisio> axsuul: This appears to be the problem you've run into: https://github.com/rbenv/rbenv/issues/388
d0nn1e has joined #ruby
mim1k has joined #ruby
<ResidentBiscuit> Possibly dumb question, but I'm creating a gem and I've added some runtime dependencies. In my code, I've required one of the gems. When I go to run integration tests, Ruby can't find the file to require. Any "normal" ruby dev I'd just bundle install and pull in all the dependencies. Is there something like that for developing gems?
<axsuul> allisio: i've tried everything in that thread actually, no luck :(
g_maeda has joined #ruby
g_maeda has quit [Client Quit]
cschneid_ has joined #ruby
<marchelzo> ResidentBiscuit: hey that's not a dumb question
jtdoncas has quit [Ping timeout: 240 seconds]
ruid has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 246 seconds]
hutch34_ has quit [Ping timeout: 240 seconds]
xall has joined #ruby
Volsus has joined #ruby
<allisio> axsuul: `rm $(which -a rails)`, but not really.
marcdel has joined #ruby
Volsus has quit [Ping timeout: 246 seconds]
ResidentBiscuit has quit [Remote host closed the connection]
jhack has quit [Quit: Leaving]
ResidentBiscuit has joined #ruby
Volsus has joined #ruby
jdm has quit [Remote host closed the connection]
Suslov has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
Volsus has quit [Ping timeout: 264 seconds]
sepp2k has quit [Quit: Leaving.]
sleetdrop has joined #ruby
jtdoncas has joined #ruby
preyalone has joined #ruby
sspreitz has quit [Ping timeout: 268 seconds]
sspreitz has joined #ruby
Thomas-0725 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ap4y has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
BabyMario has joined #ruby
amclain has quit [Quit: Leaving]
Jackneill has quit [Remote host closed the connection]
duderonomy has joined #ruby
ledestin has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 246 seconds]
pilne has quit [Quit: Quitting!]
genpaku has quit [Remote host closed the connection]
jottr has joined #ruby
eblip has quit [Quit: WeeChat 1.4]
izaac_ is now known as izaac
Guest32423 has quit [Remote host closed the connection]
charliesome has joined #ruby
mim1k has joined #ruby
whathappens has joined #ruby
t-recx has quit [Quit: t-recx]
whathappens is now known as Guest90791
case_ has quit [Quit: Leaving]
Jayson_Virissimo has joined #ruby
ornerymoose has joined #ruby
case_ has joined #ruby
Guest90791 has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
chouhoulis has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 268 seconds]
reverberations has joined #ruby
govg has quit [Ping timeout: 260 seconds]
dviola has quit [Quit: WeeChat 1.7]
xall has quit [Ping timeout: 264 seconds]
arescorpio has joined #ruby
newrubycoder has joined #ruby
chiggins has joined #ruby
<chiggins> Is there a way while debugging with pry, to look at the contents of a defined variable?
<chiggins> Nevermind, figured it out on my own with less difficulty than I expected :)
DTZUZU has joined #ruby
CloCkWeRX has joined #ruby
govg has joined #ruby
gnufied has quit [Ping timeout: 264 seconds]
braincrash has quit [Quit: bye bye]
cibs has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Quit: Leaving...]
cibs has joined #ruby
BabyMario has quit [Quit: bye]
Suslov has quit [Quit: Leaving...]
kobain has quit [Ping timeout: 252 seconds]
mim1k has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
raspado has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
tmtwd has joined #ruby
armando has quit [Quit: WeeChat 1.4]
armando has joined #ruby
jtdoncas has quit [Ping timeout: 268 seconds]
kobain has joined #ruby
claw has quit [Ping timeout: 260 seconds]
gix has quit [Ping timeout: 260 seconds]
raatiniemi has quit [Remote host closed the connection]
charliesome has joined #ruby
sleetdrop has quit [Remote host closed the connection]
Jayson_Virissimo has quit []
claw has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
Irishluck83 has quit [Quit: WeeChat 1.4]
jottr has quit [Ping timeout: 264 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saneax-_-|AFK is now known as saneax
igniting has quit [Ping timeout: 240 seconds]
charliesome has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
charliesome has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 252 seconds]
biox has quit [Quit: brb servers are ded]
biox has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
twistedpixels_ has joined #ruby
astrobunny has quit [Ping timeout: 260 seconds]
reverberations has quit [Read error: Connection reset by peer]
raspado has quit [Quit: Leaving...]
braincrash has joined #ruby
Channel6 has quit [Quit: Leaving]
charliesome_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
astrobunny has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
JoshS has quit [Ping timeout: 240 seconds]
saneax is now known as saneax-_-|AFK
preyalone has quit [Quit: Connection closed for inactivity]
sneakerhax has joined #ruby
DaniG2k has joined #ruby
[r4phid4e has joined #ruby
r4phid4e has joined #ruby
[raph1da3 has joined #ruby
r4ph1dae^ has joined #ruby
r4phida3] has joined #ruby
r4ph1dae_ has joined #ruby
|r4phid4e has joined #ruby
r4phida3^ has joined #ruby
[raph1dae has joined #ruby
_r4ph1dae has joined #ruby
raph1dae] has joined #ruby
[r4phidae has joined #ruby
raphid43_ has joined #ruby
r4phid4e_ has joined #ruby
^raphidae has joined #ruby
raphidae\ has joined #ruby
]r4ph1dae has joined #ruby
\raphidae has joined #ruby
`raphid4e has joined #ruby
]r4phidae has joined #ruby
[r4phida3 has joined #ruby
r4phidae_ has joined #ruby
r4ph1dae has joined #ruby
r4phida3| has joined #ruby
raph1da3- has joined #ruby
raph1dae has joined #ruby
`r4ph1dae has joined #ruby
raphid43 has joined #ruby
|raph1da3 has joined #ruby
]raphida3 has joined #ruby
[raph1d4e has joined #ruby
raphida3^ has joined #ruby
r4phidae[ has joined #ruby
r4phidae has joined #ruby
raphida3- has joined #ruby
raph1dae- has joined #ruby
raph1dae| has joined #ruby
`r4phidae has joined #ruby
raphida3_ has joined #ruby
^raphid4e has joined #ruby
]r4phida3 has joined #ruby
_r4phida3 has joined #ruby
^raph1dae has joined #ruby
raph1da3] has joined #ruby
raphid4e_ has joined #ruby
r4phid4e[ has joined #ruby
^r4phidae has joined #ruby
raphid43- has joined #ruby
r4phidae` has joined #ruby
raphid4e[ has joined #ruby
|r4phida3 has joined #ruby
[raphid4e has joined #ruby
r4phida3_ has joined #ruby
^raphida3 has joined #ruby
17SAAGB43 has joined #ruby
]r4phid4e has joined #ruby
|raph1d4e has joined #ruby
raphid4e^ has joined #ruby
raph1d4e^ has joined #ruby
raph1dae_ has joined #ruby
raph1d4e` has joined #ruby
^raphid43 has joined #ruby
`raphidae has joined #ruby
|r4phidae has joined #ruby
`r4phid4e has joined #ruby
raphid43^ has joined #ruby
raph1dae` has joined #ruby
^raph1d4e has joined #ruby
_r4phidae has joined #ruby
raph1da3_ has joined #ruby
raphidae^ has joined #ruby
r4phidae^ has joined #ruby
r4phid4e| has joined #ruby
|raphida3 has joined #ruby
raphidae] has joined #ruby
]raph1dae has joined #ruby
raph1da3[ has joined #ruby
|raphid43 has joined #ruby
]raphid4e has joined #ruby
r4phid4e` has joined #ruby
raph1d4e| has joined #ruby
raphid43` has joined #ruby
[raphidae has joined #ruby
raphidae- has joined #ruby
r4phid4e] has joined #ruby
r4phida3` has joined #ruby
raphid4e] has joined #ruby
`raph1d4e has joined #ruby
[raphida3 has joined #ruby
r4phida3 has joined #ruby
`raph1da3 has joined #ruby
raph1d4e] has joined #ruby
raphid43[ has joined #ruby
_raph1da3 has joined #ruby
raphidae_ has joined #ruby
|raph1dae has joined #ruby
raphidae[ has joined #ruby
raphid4e` has joined #ruby
_raphida3 has joined #ruby
`r4phida3 has joined #ruby
[r4ph1dae has joined #ruby
`raph1dae has joined #ruby
r4phidae] has joined #ruby
raphid43| has joined #ruby
_raphid4e has joined #ruby
raph1d4e_ has joined #ruby
raph1da3` has joined #ruby
raphid43] has joined #ruby
5EXAAFZ4F has joined #ruby
raph1d4e[ has joined #ruby
raph1da3^ has joined #ruby
raphid4e- has joined #ruby
[raphid43 has joined #ruby
]raphid43 has joined #ruby
raphida3[ has joined #ruby
r4ph1dae[ has joined #ruby
raph1dae^ has joined #ruby
raphid4e| has joined #ruby
raph1da3| has joined #ruby
_raph1d4e has joined #ruby
raphidae` has joined #ruby
`raphida3 has joined #ruby
raph1d4e has joined #ruby
raphida3| has joined #ruby
r4ph1dae- has joined #ruby
]raphidae has joined #ruby
r4ph1dae] has joined #ruby
|r4ph1dae has joined #ruby
r4phidae` has quit [Remote host closed the connection]
r4phid4e^ has joined #ruby
_raph1dae has joined #ruby
raphida3] has joined #ruby
r4ph1dae` has joined #ruby
raphida3 has joined #ruby
r4phida3- has joined #ruby
^r4phida3 has joined #ruby
r4phida3[ has joined #ruby
^r4ph1dae has joined #ruby
[r4phid4e has quit [Read error: Connection reset by peer]
raph1dae has quit [Remote host closed the connection]
_r4ph1dae has quit [Read error: Connection reset by peer]
r4phid4e has quit [Remote host closed the connection]
]r4ph1dae has quit [Remote host closed the connection]
raphidae\ has quit [Remote host closed the connection]
raph1dae] has quit [Remote host closed the connection]
r4phidae[ has quit [Remote host closed the connection]
^raphidae has quit [Remote host closed the connection]
r4ph1dae has quit [Remote host closed the connection]
raphid43_ has quit [Remote host closed the connection]
[r4phida3 has quit [Remote host closed the connection]
]r4phidae has quit [Remote host closed the connection]
`raphid4e has quit [Remote host closed the connection]
r4phida3_ has quit [Remote host closed the connection]
|r4phid4e has quit [Remote host closed the connection]
r4phidae_ has quit [Remote host closed the connection]
r4phida3| has quit [Remote host closed the connection]
[raph1d4e has quit [Remote host closed the connection]
\raphidae has quit [Remote host closed the connection]
r4ph1dae^ has quit [Remote host closed the connection]
r4ph1dae_ has quit [Remote host closed the connection]
r4phidae has quit [Remote host closed the connection]
`r4ph1dae has quit [Remote host closed the connection]
]raphida3 has quit [Remote host closed the connection]
r4phid4e_ has quit [Remote host closed the connection]
r4phida3] has quit [Read error: Connection reset by peer]
raphida3- has quit [Read error: Connection reset by peer]
raphid43 has quit [Remote host closed the connection]
raphida3^ has quit [Remote host closed the connection]
r4phida3^ has quit [Remote host closed the connection]
raph1da3- has quit [Remote host closed the connection]
|raph1da3 has quit [Remote host closed the connection]
[raph1dae has quit [Remote host closed the connection]
[r4phidae has quit [Remote host closed the connection]
[raph1da3 has quit [Write error: Connection reset by peer]
raphida3_ has quit [Remote host closed the connection]
^raphida3 has quit [Read error: Connection reset by peer]
raphid4e^ has quit [Read error: Connection reset by peer]
`r4phidae has quit [Read error: Connection reset by peer]
raphid4e[ has quit [Remote host closed the connection]
raph1dae- has quit [Read error: Connection reset by peer]
_r4phida3 has quit [Remote host closed the connection]
]r4phida3 has quit [Remote host closed the connection]
^raphid4e has quit [Remote host closed the connection]
raph1dae` has quit [Remote host closed the connection]
^r4phidae has quit [Read error: Connection reset by peer]
[raphid4e has quit [Remote host closed the connection]
r4ph1dae` has quit [Read error: Connection reset by peer]
|raph1d4e has quit [Read error: Connection reset by peer]
^raph1d4e has quit [Remote host closed the connection]
raph1da3] has quit [Remote host closed the connection]
r4phid4e[ has quit [Remote host closed the connection]
]r4phid4e has quit [Remote host closed the connection]
r4phid4e^ has quit [Write error: Connection reset by peer]
^raph1dae has quit [Remote host closed the connection]
raphid43- has quit [Write error: Connection reset by peer]
raph1d4e` has quit [Remote host closed the connection]
|r4phida3 has quit [Remote host closed the connection]
raph1dae| has quit [Read error: Connection reset by peer]
raphid43^ has quit [Write error: Connection reset by peer]
raph1dae_ has quit [Remote host closed the connection]
raphid4e_ has quit [Write error: Connection reset by peer]
raph1d4e^ has quit [Remote host closed the connection]
_r4phidae has quit [Write error: Connection reset by peer]
17SAAGB43 has quit [Write error: Broken pipe]
`raphida3 has quit [Write error: Connection reset by peer]
r4phidae^ has quit [Write error: Connection reset by peer]
raph1da3_ has quit [Write error: Connection reset by peer]
^raphid43 has quit [Write error: Connection reset by peer]
^r4ph1dae has quit [Write error: Connection reset by peer]
raph1dae^ has quit [Write error: Broken pipe]
raphidae` has quit [Write error: Broken pipe]
raphid4e| has quit [Write error: Broken pipe]
raphida3| has quit [Write error: Broken pipe]
r4ph1dae[ has quit [Write error: Broken pipe]
raphida3[ has quit [Write error: Broken pipe]
raph1da3^ has quit [Write error: Broken pipe]
raph1d4e[ has quit [Write error: Broken pipe]
[raphid43 has quit [Write error: Broken pipe]
]raphid43 has quit [Write error: Broken pipe]
raphid4e- has quit [Write error: Broken pipe]
^r4phida3 has quit [Write error: Broken pipe]
_raph1dae has quit [Write error: Broken pipe]
|raphid43 has quit [Write error: Broken pipe]
[raphidae has quit [Write error: Broken pipe]
[raphida3 has quit [Write error: Broken pipe]
_raph1da3 has quit [Write error: Broken pipe]
r4phida3[ has quit [Write error: Broken pipe]
raphida3 has quit [Write error: Broken pipe]
r4phida3- has quit [Write error: Broken pipe]
raphida3] has quit [Write error: Broken pipe]
raph1da3[ has quit [Write error: Broken pipe]
r4phid4e` has quit [Write error: Broken pipe]
raph1d4e| has quit [Write error: Broken pipe]
|raph1dae has quit [Write error: Broken pipe]
_raphida3 has quit [Write error: Broken pipe]
raphid4e] has quit [Write error: Broken pipe]
r4phid4e] has quit [Write error: Broken pipe]
raphidae_ has quit [Write error: Broken pipe]
raphidae- has quit [Write error: Broken pipe]
r4phida3` has quit [Write error: Broken pipe]
`raph1d4e has quit [Write error: Broken pipe]
`raph1da3 has quit [Write error: Broken pipe]
raphid4e` has quit [Write error: Broken pipe]
r4phida3 has quit [Write error: Broken pipe]
raph1d4e] has quit [Write error: Broken pipe]
raphid43[ has quit [Write error: Broken pipe]
raphidae[ has quit [Write error: Broken pipe]
]raphidae has quit [Write error: Broken pipe]
|r4ph1dae has quit [Write error: Broken pipe]
_raph1d4e has quit [Write error: Broken pipe]
r4ph1dae] has quit [Write error: Broken pipe]
raph1d4e has quit [Write error: Broken pipe]
raph1da3| has quit [Write error: Broken pipe]
r4ph1dae- has quit [Write error: Broken pipe]
raph1da3` has quit [Write error: Broken pipe]
_raphid4e has quit [Write error: Broken pipe]
]raph1dae has quit [Write error: Broken pipe]
raphid43] has quit [Write error: Broken pipe]
|raphida3 has quit [Write error: Broken pipe]
]raphid4e has quit [Write error: Broken pipe]
raphid43` has quit [Write error: Broken pipe]
r4phid4e| has quit [Write error: Broken pipe]
raphidae] has quit [Write error: Broken pipe]
raph1d4e_ has quit [K-Lined]
5EXAAFZ4F has quit [K-Lined]
`raph1dae has quit [K-Lined]
r4phidae] has quit [K-Lined]
[r4ph1dae has quit [K-Lined]
raphid43| has quit [K-Lined]
`r4phida3 has quit [K-Lined]
`raphidae has quit [Remote host closed the connection]
raphidae^ has quit [Read error: Connection reset by peer]
`r4phid4e has quit [Remote host closed the connection]
|r4phidae has quit [Write error: Broken pipe]
saneax-_-|AFK is now known as saneax
reverberations has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
marcdel has quit [Ping timeout: 260 seconds]
igniting has joined #ruby
marcdel has joined #ruby
jtdoncas has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
jtdoncas has quit [Ping timeout: 240 seconds]
arescorpio has quit [Quit: Leaving.]
renchan has joined #ruby
Mia has joined #ruby
DaniG2k has quit [Quit: leaving]
chiggins has left #ruby ["WeeChat 1.5"]
Axy has quit [Ping timeout: 240 seconds]
pulkit4tech has joined #ruby
jtdoncas has joined #ruby
skweek has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
bocaneri has joined #ruby
bocaneri has quit [Max SendQ exceeded]
skweek has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
anisha has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
patarr has joined #ruby
Sembei has joined #ruby
DaniG2k has joined #ruby
Pisuke has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 264 seconds]
Thomas-0725 has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jtdoncas has joined #ruby
marchelzo has quit [Quit: :*]
djbkd has quit [Quit: Leaving...]
jtdoncas has quit [Ping timeout: 260 seconds]
nofxxx has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
interki has quit [Quit: Going offline, see ya! (www.adiirc.com)]
pulkit4tech has quit [Quit: My Mac is sleepy ZZZ...]
yusrideb has quit [Read error: Connection reset by peer]
pulkit4tech has joined #ruby
DaniG2k has quit [Ping timeout: 260 seconds]
interki has joined #ruby
yusrideb has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
MyMind has joined #ruby
jtdoncas has joined #ruby
Sembei has quit [Ping timeout: 268 seconds]
wade-r has joined #ruby
wilbert has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jtdoncas has quit [Ping timeout: 240 seconds]
linduxed has quit [Ping timeout: 260 seconds]
akkad has quit [Excess Flood]
wilbert_ has joined #ruby
wilbert has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
akkad has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
danguita has joined #ruby
haennar has joined #ruby
wade-r has quit [Quit: Textual IRC Client: www.textualapp.com]
wade-r has joined #ruby
brent__ has joined #ruby
cxr has quit [Ping timeout: 260 seconds]
modin has quit [Ping timeout: 260 seconds]
cfec0b8d has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
modin has joined #ruby
mim1k has joined #ruby
wade-r has quit [Quit: Textual]
mim1k has quit [Ping timeout: 260 seconds]
marcdel has quit [Ping timeout: 246 seconds]
atmosx has joined #ruby
wilbert_ has quit [Ping timeout: 268 seconds]
tildes has joined #ruby
enterprisey has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
tildes has quit [Ping timeout: 246 seconds]
linduxed has joined #ruby
tildes has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.7]
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
last_staff has joined #ruby
eden_ has joined #ruby
ta_ has quit [Remote host closed the connection]
eden_ has quit [Remote host closed the connection]
mangueLinux_ has joined #ruby
jtdoncas has joined #ruby
mangueLinux_ has quit [Read error: Connection reset by peer]
jgnagy has quit [Ping timeout: 260 seconds]
Qchmqs has joined #ruby
fclausen has quit [Ping timeout: 252 seconds]
astrobunny has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox_ has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
tildes has quit [Ping timeout: 246 seconds]
Qchmqs has quit [Ping timeout: 260 seconds]
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
linduxed has quit [Ping timeout: 260 seconds]
Burgestrand has joined #ruby
armyriad has quit [Ping timeout: 260 seconds]
jdm has joined #ruby
haennar has quit [Ping timeout: 260 seconds]
haennar has joined #ruby
milardovich has joined #ruby
kassav_ has joined #ruby
kassav_ is now known as kassav
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
chouhoulis has joined #ruby
mim1k has joined #ruby
skolman has quit [Remote host closed the connection]
skolman has joined #ruby
tildes has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Ping timeout: 268 seconds]
mim1k has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
hutch34_ has joined #ruby
skolman has quit [Ping timeout: 260 seconds]
jpterry has quit [Ping timeout: 268 seconds]
conta has joined #ruby
jpterry has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
hutch34_ has quit [Ping timeout: 240 seconds]
tildes has quit [Ping timeout: 260 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
DoubleMalt has joined #ruby
linduxed has joined #ruby
aganov has joined #ruby
ResidentBiscuit has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
danguita has quit [Remote host closed the connection]
tdy has quit [Read error: Connection reset by peer]
sleetdrop has joined #ruby
milardovich has quit [Remote host closed the connection]
patarr has joined #ruby
milardovich has joined #ruby
szulak has joined #ruby
nebiros has quit [Quit: 🤷‍♂️]
michael_mbp has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
mim1k has joined #ruby
User458764 has joined #ruby
ornerymoose has joined #ruby
Silthias1 has joined #ruby
pawnbox has joined #ruby
Pepi_ has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
patarr has quit [Ping timeout: 268 seconds]
Silthias has quit [Ping timeout: 268 seconds]
fclausen has joined #ruby
Pepi_ has quit [Client Quit]
Mortomes|Work has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 260 seconds]
michael_mbp has joined #ruby
padi_ has quit [Remote host closed the connection]
TomyWork has joined #ruby
pulkit4tech has quit [Quit: My Mac is sleepy ZZZ...]
astrobunny has joined #ruby
nebiros has joined #ruby
mark_66 has joined #ruby
Beams has joined #ruby
Beams has quit [Client Quit]
wade-r has joined #ruby
jdm has quit [Remote host closed the connection]
jajvpy has joined #ruby
armyriad has joined #ruby
tmtwd has quit [Quit: Leaving]
armyriad has quit [Remote host closed the connection]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
Xiti has quit [Quit: Xiti]
modin has quit [Ping timeout: 245 seconds]
modin has joined #ruby
Silthias1 has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Ping timeout: 252 seconds]
Silthias has joined #ruby
teclator has joined #ruby
armyriad has joined #ruby
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
cxr has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
Vivekananda has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 264 seconds]
modin has quit [Ping timeout: 260 seconds]
Dimik has quit [Ping timeout: 240 seconds]
modin has joined #ruby
tdy has joined #ruby
flying has joined #ruby
mim1k has joined #ruby
padi_ has joined #ruby
Pisuke has joined #ruby
MyMind has quit [Ping timeout: 240 seconds]
padi_ has quit [Ping timeout: 268 seconds]
aaaaaaaabbbbbbb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
brent__ has joined #ruby
antgel_ has joined #ruby
mikecmpbll has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
Pumukel has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
astrobunny has quit [Ping timeout: 256 seconds]
jsrn_ has joined #ruby
DTZUZU has quit [Ping timeout: 268 seconds]
jaruga______ has joined #ruby
pagios is now known as Masterol
bruce_lee has joined #ruby
haennar has quit [Ping timeout: 268 seconds]
zacts has quit [Ping timeout: 260 seconds]
Masterol is now known as pagios
saneax is now known as saneax-_-|AFK
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dionysus69 has joined #ruby
sdwrage has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
moei has quit [Quit: Leaving...]
tomphp has joined #ruby
DTZUZU has joined #ruby
acalycine has joined #ruby
workmad3 has joined #ruby
hutch34_ has joined #ruby
haennar has joined #ruby
howdoi has joined #ruby
hutch34_ has quit [Ping timeout: 240 seconds]
moei has joined #ruby
biberu has joined #ruby
pandaant has joined #ruby
ResidentBiscuit has joined #ruby
saneax-_-|AFK is now known as saneax
ResidentBiscuit has quit [Ping timeout: 246 seconds]
<maloik> Not strictly a ruby question, but in CloudFront (or perhaps in general), is there a reason to use anything other than TLS 1.2? I can also enable 1.1 and 1.0, and SSLv3 but I'm not entirely sure what impact that may have
maloik has left #ruby [#ruby]
Beams has joined #ruby
maloik has joined #ruby
sdwrage has quit [Quit: Leaving]
toretore has joined #ruby
<acalycine> http://lets.rabb.it/886j/GuHOjNIO9A watching cat in the heat
blackmesa has joined #ruby
<Zarthus> acalycine: please no /amsg
<acalycine> soryr
<Zarthus> maloik: Don't quote me on it, but clients that don't have TLS 1.2 support would be unable to connect.
<Zarthus> maloik: preferring 1.2 but falling back to 1.1 is common to my knowledge (SSLv3 is obviously a bad idea)
conta has quit [Ping timeout: 240 seconds]
aswen has joined #ruby
mim1k_ has joined #ruby
mim1k has quit [Ping timeout: 264 seconds]
IonutVan_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
milardovich has joined #ruby
<maloik> For simple websites and API, only having 1.1 and 1.2 enabled should be fine, right?
<maloik> well I suppose an API won't use cloudfront :D but you get my point
braincrash has quit [Ping timeout: 246 seconds]
Smudgerdan has joined #ruby
koldbrutality has quit [Ping timeout: 240 seconds]
Polarina has quit [Ping timeout: 255 seconds]
<Smudgerdan> Hello, I have a network path \\server1.main.comp.com\folder and I need to replace the fqdn part with something else so the path becomes \\server2\folder
<Smudgerdan> is regex the best / only way to do this, or is there something simpler, thanks
auzty has joined #ruby
tvw has joined #ruby
xall has joined #ruby
psychicist__ has joined #ruby
Polarina has joined #ruby
noodle has quit [Quit: /quit]
noodle has joined #ruby
nofxxx has quit [Ping timeout: 268 seconds]
anilekm has joined #ruby
noodle has quit [Remote host closed the connection]
anilekm has left #ruby [#ruby]
noodle has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
acalycine has quit [Quit: bye]
jameser has quit [Quit: Textual IRC Client: www.textualapp.com]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
szulak has joined #ruby
KicStart has joined #ruby
auzty has quit [Ping timeout: 268 seconds]
Smudgerdan has quit [Ping timeout: 260 seconds]
Smudgerdan has joined #ruby
auzty has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
Beams has quit [Quit: .]
aryaching_ has joined #ruby
genpaku has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
conta has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
marsjaninzmarsa has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
Lord_of_Life has quit [Excess Flood]
braincrash has joined #ruby
Lord_of_Life has joined #ruby
brent__ has joined #ruby
<toretore> SmudgerDan: regex would work fine for that
brent__ has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
milardovich has quit [Remote host closed the connection]
xen0fon has quit [Quit: xen0fon]
<toretore> >> '\\server1.main.comp.com\folder'.sub(/\\\\.+?\\/, 'other')
<ruby[bot]> toretore: # => "\\server1.main.comp.com\\folder" (https://eval.in/745222)
<toretore> agh
milardovich has joined #ruby
<toretore> i knew i should have practiced that one
<Smudgerdan> lol
Beams has joined #ruby
<SpComb> wtf how does that escaping work
<SpComb> because `'\\server1.main.comp.com\folder'.sub(/\\.+?\\/, '\\\\\\other\\')` => \\other\folder per eval.in
<SpComb> ....but not in irb
<SpComb> well, to start out with, `puts '\\server1.main.comp.com\folder'` => \server1.main.comp.com\folder
<toretore> right, damit
milardovich has quit [Ping timeout: 240 seconds]
jtdoncas has joined #ruby
<toretore> >> '\\\\server1.main.comp.com\folder'.sub(/^\\\\.+?\\/, '\\\\\\\\other\\')
<ruby[bot]> toretore: # => "\\\\other\\folder" (https://eval.in/745232)
<toretore> forget what i said, regex does not work fine for that
<SpComb> but somehow it seems to look like `.sub(/\\\\.+?\\/, '\\\\\\other\\')` - why the six escapes on the sub output?
<SpComb> irb(main):037:0> puts '\\\\server1.main.comp.com\\folder'.sub(/\\\\.+?\\/, '\\\\\\other\\')
<SpComb> \\other\folder
<toretore> i think it interprets it as a back reference
yusrideb has quit [Quit: yusrideb]
<toretore> so first you have to escape \ in the string, and then escape the backref
genpaku has quit [Quit: leaving]
Beams has quit [Quit: .]
yusrideb has joined #ruby
<toretore> i would do:
<toretore> >> host, path = '\\\\server1.main.comp.com\\folder\\sub'.split('\\\\')[1].split('\\', 2)
<ruby[bot]> toretore: # => ["server1.main.comp.com", "folder\\sub"] (https://eval.in/745237)
<toretore> then reconstruct from that
auzty has quit [Quit: Leaving]
Beams has joined #ruby
genpaku has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
ferr1 has joined #ruby
n1ce has quit [Remote host closed the connection]
jameser has joined #ruby
Beams has quit [Quit: .]
<Smudgerdan> toretore: thanks that is really helpful!
haennar has quit [Ping timeout: 260 seconds]
Miron has quit [Ping timeout: 264 seconds]
<gregf_> m: p '\\server1.main.comp.com\folder'.sub(/(.*)(\\[^\/]+)$/,'bar\2')
<gregf_> oops
<gregf_> >> '\\server1.main.comp.com\folder'.sub(/(.*)(\\[^\/]+)$/,'bar\2')
<ruby[bot]> gregf_: # => "bar\\folder" (https://eval.in/745251)
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
User458764 has joined #ruby
xall has quit [Ping timeout: 240 seconds]
hutch34_ has joined #ruby
Beams has joined #ruby
aryaching has quit [Remote host closed the connection]
aryaching has joined #ruby
psychicist__ has quit [Ping timeout: 240 seconds]
Beams has quit [Client Quit]
stamina has joined #ruby
hutch34_ has quit [Ping timeout: 260 seconds]
pulkit4tech has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Remote host closed the connection]
psychicist__ has joined #ruby
nettoweb has joined #ruby
scottschecter has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
pulkit4tech has left #ruby [#ruby]
zacts has joined #ruby
scottschecter has joined #ruby
aglorei has quit [Remote host closed the connection]
Mortomes|Work has quit [Ping timeout: 260 seconds]
Beams has joined #ruby
aglorei has joined #ruby
wade-r has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has joined #ruby
Mortomes|Work has joined #ruby
n1ce has joined #ruby
cxr has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
Miron has joined #ruby
tvw has quit [Read error: Connection reset by peer]
cxr has joined #ruby
blackmesa has joined #ruby
fclausen has quit [Ping timeout: 252 seconds]
govg has quit [Ping timeout: 246 seconds]
cxr has quit [Ping timeout: 260 seconds]
modlin has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
milardovich has quit [Client Quit]
minimalism has quit [Quit: minimalism]
haennar has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Ishido has joined #ruby
cxr has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest44053
Beams has quit [Quit: .]
jlebrech has joined #ruby
hitman_ has joined #ruby
<hitman_> hi
<jlebrech> I have a class that needs multiple methods stubbing, can you open a class a stub that way?
neuraload has joined #ruby
Qchmqs has joined #ruby
cxr has quit [Ping timeout: 264 seconds]
tomphp has quit [Read error: Connection reset by peer]
Lord_of_Life has quit [Excess Flood]
tomphp has joined #ruby
Beams has joined #ruby
alex`` has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
Lord_of_Life has joined #ruby
modlin has quit [Ping timeout: 260 seconds]
Smudgerdan has quit [Ping timeout: 260 seconds]
rikkipitt has joined #ruby
<manveru> jlebrech: for testing?
mim1k_ has quit [Ping timeout: 256 seconds]
<manveru> depends on what you use for stubbing...
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikecmpbll> i'm having a brain fail, what's the best way to pull elements from an array at a set of indices stored in another array?
rwb has quit [Ping timeout: 264 seconds]
synthroid has joined #ruby
<mikecmpbll> to loop over the indices? or is there an [array].gimme(1,7,12)
bkxd has quit [Ping timeout: 264 seconds]
saneax is now known as saneax-_-|AFK
hitman_ has quit [Quit: Page closed]
<mikecmpbll> values_at 😭
synthroi_ has joined #ruby
<mikecmpbll> took me so long to find that.
<manveru> :)
ldnunes has joined #ruby
xen0fon has joined #ruby
synthroid has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
jameser has joined #ruby
marr has joined #ruby
govg has joined #ruby
gnufied has joined #ruby
jgnagy has joined #ruby
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby
rikkipitt has quit [Remote host closed the connection]
ornerymoose has joined #ruby
rikkipitt has joined #ruby
cschneid_ has joined #ruby
rikkipitt has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
jajvpy has quit [Remote host closed the connection]
rikkipitt has joined #ruby
jgnagy has quit [Remote host closed the connection]
pawnbox has joined #ruby
jgnagy has joined #ruby
rikkipitt has quit [Remote host closed the connection]
newrubycoder has joined #ruby
jtdoncas has joined #ruby
ornerymoose has quit [Ping timeout: 268 seconds]
cschneid_ has quit [Ping timeout: 246 seconds]
brent__ has joined #ruby
Lord_of_Life has quit [Excess Flood]
jtdoncas has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
Lord_of_Life has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
<ikopico> Emojis in IRC. Never thought I'd live to see the day.
dopamean1 has quit [Ping timeout: 240 seconds]
hurricanehrndz has quit [Remote host closed the connection]
<Zarthus> ikopico, you expected to die in like, 2005?
jtdoncas has joined #ruby
<ikopico> :)
hurricanehrndz has joined #ruby
jottr_ has joined #ruby
ornerymoose has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
<jlebrech> :aubergine:
jtdoncas has quit [Ping timeout: 260 seconds]
malconis has quit [Ping timeout: 240 seconds]
harfangk has quit [Ping timeout: 260 seconds]
Guest44053 has quit [Remote host closed the connection]
mim1k has joined #ruby
shinnya has joined #ruby
malconis has joined #ruby
harfangk has joined #ruby
cxr has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby
cxr has quit [Ping timeout: 246 seconds]
KicStart has quit [Read error: Connection reset by peer]
KicStart has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
hutch34_ has joined #ruby
toretore has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
ruid has joined #ruby
AlexRussia has joined #ruby
ruid has quit [Client Quit]
brent__ has joined #ruby
hutch34_ has quit [Ping timeout: 240 seconds]
genpaku has quit [Quit: leaving]
genpaku has joined #ruby
genpaku has quit [Client Quit]
rikkipitt has quit [Quit: Leaving...]
brent__ has quit [Ping timeout: 260 seconds]
jtdoncas has joined #ruby
genpaku has joined #ruby
Zamyatin has joined #ruby
last_staff has quit [Quit: last_staff]
psychicist__ has quit [Ping timeout: 268 seconds]
michaeltsmith has joined #ruby
hutch34_ has joined #ruby
michaeltsmith has quit [Client Quit]
jottr_ has quit [Ping timeout: 240 seconds]
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
rwb has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
modlin has joined #ruby
GinoManWorks has joined #ruby
jottr_ has joined #ruby
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
szulak has joined #ruby
mekeor has joined #ruby
synthroi_ has quit [Remote host closed the connection]
jottr has joined #ruby
millerti has joined #ruby
jottr_ has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: This computer has gone to sleep]
jottr has quit [Ping timeout: 268 seconds]
vmffkn has joined #ruby
vmffkn has quit [Remote host closed the connection]
__Yiota has joined #ruby
bauruine has quit [Quit: ZNC - http://znc.in]
__Yiota has quit [Client Quit]
adavia has joined #ruby
__Yiota has joined #ruby
DLSteve_ has joined #ruby
chouhoulis has joined #ruby
eblip has joined #ruby
tyang_ has joined #ruby
tau has joined #ruby
bauruine has joined #ruby
cxr has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cxr has quit [Ping timeout: 260 seconds]
teclator has quit [Remote host closed the connection]
cibs has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
cyphase has joined #ruby
msrkmo has joined #ruby
aswen has quit [Quit: WeeChat 1.5]
railswebdev has joined #ruby
Rodya_ has joined #ruby
kylo_ has joined #ruby
Oldn0rse has joined #ruby
Oldn0rse has quit [Changing host]
Oldn0rse has joined #ruby
fuzzyhorns has joined #ruby
kylo_ has quit [Client Quit]
Silthias1 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
balazs has joined #ruby
kylo_ has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
bmurt has joined #ruby
neuraload has quit [Quit: Leaving]
neuraload has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
uranellus has quit [Ping timeout: 255 seconds]
Axelay has quit [Ping timeout: 240 seconds]
cxr has joined #ruby
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<newrubycoder> how do i circumvent warning: string literal in condition when using `||`?
<newrubycoder> `if @arr[0][0] == "X" || "O"`
alexherbo2 has joined #ruby
kassav has quit [Quit: kassav]
polishdub has joined #ruby
<case_> if @arr[0][0] == "X" || @arr[0][0] == "O"
<case_> right?
rippa has joined #ruby
cxr has quit [Ping timeout: 240 seconds]
flopsec has joined #ruby
msrkmo has quit [Remote host closed the connection]
<newrubycoder> thanks it worked
<case_> you're welcome ^.^
<Papierkorb> newrubycoder: You can't use || like that. What you said there is akin to `if arr[..] is "X", or if "O"`.
<newrubycoder> oh okay
<Papierkorb> newrubycoder: case_'s solution is one and (imho) preferred for few cases (like 2). If you need more, you could do `if ["O", "X", "Y", "Z"].include? @arr[0][0]` instead
<newrubycoder> thanks i'll maybe need it
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
jrafanie has joined #ruby
jrafanie has quit [Remote host closed the connection]
jrafanie has joined #ruby
cdg has joined #ruby
dionysus69 has joined #ruby
GodFather has joined #ruby
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
synthroid has quit [Remote host closed the connection]
synthroid has joined #ruby
A124 has quit [Ping timeout: 268 seconds]
emin has joined #ruby
blackmesa has joined #ruby
teclator has joined #ruby
emin has quit [Remote host closed the connection]
agent_white has joined #ruby
neuraload has quit [Quit: Leaving]
n1ce has quit [Ping timeout: 246 seconds]
n1ce has joined #ruby
synthroid has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
antoniobeyah has joined #ruby
jottr has joined #ruby
Axelay has joined #ruby
inersha has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
certainty has quit [Ping timeout: 260 seconds]
sepp2k has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jdm has joined #ruby
chouhoulis has joined #ruby
<agent_white> Mornin' folks
aganov has quit [Remote host closed the connection]
<newrubycoder> gm
Polarina has quit [Ping timeout: 264 seconds]
Polarina has joined #ruby
cxr has joined #ruby
Rodya_ has joined #ruby
jlebrech has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
jtdoncas has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
A124 has joined #ruby
A124 has quit [Changing host]
A124 has joined #ruby
cxr has quit [Ping timeout: 260 seconds]
Qchmqs has quit [Ping timeout: 246 seconds]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Polarina has quit [Ping timeout: 240 seconds]
GodFather has quit [Read error: No route to host]
millerti has joined #ruby
Polarina has joined #ruby
<newrubycoder> Papierkorb: can i put several .include? commands together in similar fashion to &&? like this won't work `if ["O", "X", "1"].include? @arr[0][0] && ["O", "X", "1"].include? @arr[1][0]`
<Papierkorb> newrubycoder: add missing ()
Vivekananda has joined #ruby
<newrubycoder> where?
xall has joined #ruby
<allisio> Everywhere.
<allisio> I almost said "on the method calls".
<allisio> But `@arr.[](0).[](0)` is overkill.
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<newrubycoder> im still not sure where, i'm not a clever man
stamina has quit [Quit: WeeChat 1.7]
mim1k has quit [Ping timeout: 240 seconds]
tyang__ has joined #ruby
<allisio> On the explicit method calls.
padi_ has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<inersha> Is there a simpler way of converting a hex string to binary than this?:
tubbo has quit [Ping timeout: 276 seconds]
<inersha> [hex].pack("H*")
sniffer has quit [Remote host closed the connection]
tyang_ has quit [Ping timeout: 246 seconds]
tdy has quit [Ping timeout: 264 seconds]
<canton7> looks pretty simple to me
<allisio> That's not simple at all; it's easy.
padi_ has quit [Ping timeout: 264 seconds]
patarr has joined #ruby
<inersha> Ha thanks, was wondering if the might be something like a "aa".hex2bin method.
<inersha> Not used to having to turn the string in to a hash before it can become binary:
<inersha> ["aa"].pack("H*")
tubbo has joined #ruby
<inersha> in to an array*
jaruga______ has quit [Quit: jaruga______]
<allisio> Well, String#hex gives you back an Integer. Are you sure you *need* an explicitly binary representation of the number?
maloik has quit [Remote host closed the connection]
<allisio> This isn't so bad: https://eval.in/745618
maloik has joined #ruby
nckpz has joined #ruby
<inersha> I'm working with hex data, and I need to send it over a socket in binary.
<allisio> But be advised that you can use Integer#[] to access the individual bits.
GodFather has joined #ruby
duper` has quit [Ping timeout: 240 seconds]
<newrubycoder> idk what a method call is
duper has joined #ruby
szulak has joined #ruby
<allisio> Yeah, you do.
GodFather has quit [Read error: No route to host]
cschneid_ has joined #ruby
<newrubycoder> no i literally dont, notice my name
tdy has joined #ruby
conta has quit [Ping timeout: 260 seconds]
kylo_ has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mwlang has joined #ruby
<baweaver> newrubycoder: they mean [array].include?(value)
pawnbox has joined #ruby
<baweaver> it's better to be explicit on those when you have conditionals
mark_66 has quit [Remote host closed the connection]
jottr has quit [Quit: WeeChat 1.7]
<newrubycoder> thanks, been awake 17 hours so not my smartest atm
<baweaver> Coffee works wonders
<baweaver> but so does sleep
cxr has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
<Papierkorb> sleep sounds more reasonable after 17hrs
<baweaver> depends, though normally yes.
sniffer has joined #ruby
* mekeor wonders how to print other escape characters other than \", \\, \a, \b, \r, \n, \s, and \t in ruby. – esp. \ESC.
synthroid has joined #ruby
<Papierkorb> mekeor: "\e[1m;"
<toretore> mekeor: http://www.zenspider.com/ruby/quickref.html#strings under "Backslashes"
<Papierkorb> mekeor: Or good ol "\033"
* baweaver wonders if `p "string\tstring"` would work for mekeor's problem
<mekeor> thanks, Papierkorb :)
cxr has quit [Ping timeout: 258 seconds]
<Papierkorb> cheers
<mekeor> no, baweaver, i want to print ansi color escape codes (because with https://github.com/fazibear/colorize you can only color a given string but i'd like to colorize all the output of functions i can't control, if you know what i mean)
<baweaver> ah, that type
howdoi has quit [Quit: Connection closed for inactivity]
aufi has quit [Quit: Leaving]
jaruga______ has joined #ruby
jaruga______ has quit [Remote host closed the connection]
TomyWork has quit [Remote host closed the connection]
koldbrutality has joined #ruby
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
raspado has joined #ruby
tyang__ has quit [Read error: Connection reset by peer]
tyang__ has joined #ruby
nettoweb has joined #ruby
modlin has quit [Quit: Konversation terminated!]
koooge has joined #ruby
mekeor has quit [Remote host closed the connection]
millerti has joined #ruby
millerti has quit [Client Quit]
bkxd has quit [Ping timeout: 260 seconds]
Zamyatin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
Zamyatin has joined #ruby
mim1k has joined #ruby
koooge has quit [Quit: Leaving...]
tekniq has joined #ruby
skolman_ has joined #ruby
username1 has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
adavia has quit [Quit: Leaving]
stomar has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
ozcanesen has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<ozcanesen> I am trying to install jekyll with gem, but i am confused with dependencies. in gem list i can see addressable (2.5.0), but jekyll fails Could not find addressable-2.4.0 in any of the sources
<ozcanesen> i understand it is a different version but why does not gem install dependencies with correct version?
Lucky_ABA has joined #ruby
[Butch] has joined #ruby
akkad has quit [Excess Flood]
akkad has joined #ruby
kinduff has joined #ruby
<ozcanesen> if i run explicitly "sudo gem install addressable -v 2.4.0", it i can see both 2.5.0, 2.4.0 in my gem list and jekyll fails for another package
<ozcanesen> should i install every dependency by hand? this does not seems right
<baweaver> shouldn't be
amclain has joined #ruby
t-recx has joined #ruby
<baweaver> then again there are a lot of odd issues with S3 that might or might not be resolved right now
<baweaver> and I'd almost bet on some of those gems being hosted there
psychicist__ has joined #ruby
<ozcanesen> baweaver, but i have not seen any 404 or time out when installing something, also i could install those dependencies manually
<baweaver> hrm.
<ozcanesen> for example it gives me: Could not find colorator-0.1 in any of the sources, and when i run install Fetching: colorator-0.1.gem (100%) , Successfully installed colorator-0.1
<baweaver> Try it with -V
<baweaver> so: gem install -V jekyll
millerti has joined #ruby
cxr has joined #ruby
<baweaver> then try it for an individual gem afterwards.
<baweaver> the only other thing I can think of is you're trying against two different Ruby versions, one under sudo and one not
mikecmpbll has quit [Excess Flood]
<ozcanesen> baweaver, probably not because ➜ web git:(master) ✗ gem install jekyll, ERROR: While executing gem ... (Errno::EACCES)
<baweaver> gotcha
<baweaver> making sure to cover bases.
mim1k has joined #ruby
shortdudey123 has quit [Max SendQ exceeded]
shortdudey123 has joined #ruby
Cohedrin has joined #ruby
cxr has quit [Ping timeout: 240 seconds]
jsrn_ has quit [Quit: Leaving]
gusrub has joined #ruby
xall has quit [Ping timeout: 246 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fuzzyhorns has quit [Quit: Leaving.]
mim1k has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
chouhoulis has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SteenJobs_ has joined #ruby
zacts has quit [Ping timeout: 246 seconds]
ferr1 has quit [Quit: WeeChat 1.6]
synthroid has quit [Remote host closed the connection]
mim1k has joined #ruby
flying has quit []
Rodya_ has joined #ruby
dionysus69 has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
Anonymoose2 has joined #ruby
nowhereman has joined #ruby
pilne has joined #ruby
tildes has joined #ruby
reverberations has quit [Ping timeout: 240 seconds]
xall has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
kinduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
millerti has joined #ruby
millerti has quit [Client Quit]
wade-r has joined #ruby
millerti has joined #ruby
inersha has quit [Quit: Lost terminal]
kinduff has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
mim1k has joined #ruby
psychicist__ has quit [Ping timeout: 268 seconds]
sneakerhax has quit [Ping timeout: 268 seconds]
SeepingN has joined #ruby
bkxd has joined #ruby
cxr has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
cxr has quit [Ping timeout: 240 seconds]
Lord_of_Life has quit [Excess Flood]
hahuang65 has joined #ruby
KicStart has quit [Quit: Leaving.]
montanonic has joined #ruby
montanonic has quit [Read error: Connection reset by peer]
pandaant has quit [Remote host closed the connection]
montanonic has joined #ruby
Lord_of_Life has joined #ruby
benlieb has joined #ruby
akkad has quit [Excess Flood]
akkad has joined #ruby
txdv has joined #ruby
txdv has left #ruby [#ruby]
mim1k has joined #ruby
Rodya_ has quit [Remote host closed the connection]
akkad has quit [Excess Flood]
Violentr has joined #ruby
wade-r has quit [Quit: Textual]
Snickers has joined #ruby
Beams has quit [Quit: .]
duderonomy has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
whathappens is now known as Guest29363
akkad has joined #ruby
gusrub has quit [Remote host closed the connection]
renchan has quit [Quit: Leaving...]
Cohedrin has quit [Read error: Connection reset by peer]
montanonic has quit [Ping timeout: 268 seconds]
kinduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
tomphp has quit [Ping timeout: 260 seconds]
cxr has joined #ruby
mim1k has joined #ruby
cxr has quit [Ping timeout: 260 seconds]
cyphase has quit [Ping timeout: 258 seconds]
tau has quit [Remote host closed the connection]
montanonic has joined #ruby
xangria has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
Guest29363 has quit [Quit: Leaving...]
xangria has quit [Client Quit]
cyphase has joined #ruby
User458764 has joined #ruby
blackmesa has joined #ruby
antgel_ has quit [Ping timeout: 240 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 260 seconds]
kinduff has joined #ruby
fuzzyhorns has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renchan has joined #ruby
d0nn1e has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
elementaru has joined #ruby
User458764 has joined #ruby
mim1k has joined #ruby
__Yiota has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
mim1k has quit [Ping timeout: 240 seconds]
Sammichmaker has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest64621
chouhoulis has joined #ruby
cxr has joined #ruby
montanonic has quit [Ping timeout: 246 seconds]
cxr has quit [Ping timeout: 240 seconds]
aryaching_ has quit [Ping timeout: 240 seconds]
tildes has quit [Ping timeout: 260 seconds]
SteenJobs_ has quit [Quit: SteenJobs_]
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
aryaching has joined #ruby
Fernando-Basso has joined #ruby
mim1k has joined #ruby
cdg_ has joined #ruby
^mtkd has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
mtkd has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
cdg has quit [Ping timeout: 240 seconds]
cdg_ has quit [Ping timeout: 246 seconds]
montanonic has joined #ruby
skweek has joined #ruby
gsilva has joined #ruby
Xentil has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
samdvr has joined #ruby
mim1k has joined #ruby
samdvr has quit [Client Quit]
skweek has quit [Ping timeout: 258 seconds]
bkxd has quit [Ping timeout: 258 seconds]
gusrub has joined #ruby
machinewar has joined #ruby
Dimik has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
AndBobsYourUncle has joined #ruby
Synthead has joined #ruby
doublemalt_ has joined #ruby
vuoto has joined #ruby
Vivekananda has quit [Ping timeout: 268 seconds]
DoubleMalt has quit [Ping timeout: 260 seconds]
Violentr has quit [Ping timeout: 268 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.7]
workmad3 has quit [Ping timeout: 268 seconds]
jshjsh has quit [Quit: Leaving]
SteenJobs_ has joined #ruby
nanoz has joined #ruby
ozcanesen has joined #ruby
ldnunes has quit [Ping timeout: 240 seconds]
cxr has joined #ruby
guacamol1 has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
cxr has quit [Ping timeout: 240 seconds]
Guest19319 has joined #ruby
gsilva has quit [Remote host closed the connection]
fuzzyhorns has quit [Quit: Leaving.]
kiltzman has quit [Ping timeout: 255 seconds]
montanonic has joined #ruby
mim1k has joined #ruby
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
tekniq has quit [Quit: Textual IRC Client: www.textualapp.com]
machinewar has quit []
tekniq has joined #ruby
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
libastral has quit [Ping timeout: 255 seconds]
zacts has quit [Ping timeout: 258 seconds]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
mim1k has quit [Ping timeout: 260 seconds]
agent_white has quit [Quit: brb]
kubuntu_ has joined #ruby
kubuntu_ has quit [Max SendQ exceeded]
montanonic has quit [Ping timeout: 258 seconds]
kubuntu_ has joined #ruby
kubuntu_ has quit [Max SendQ exceeded]
kubuntu_ has joined #ruby
kubuntu_ has quit [Max SendQ exceeded]
kubuntu_ has joined #ruby
kubuntu_ has quit [Max SendQ exceeded]
t-recx has quit [Quit: t-recx]
kubuntu_ has joined #ruby
kubuntu_ has quit [Max SendQ exceeded]
kubuntu_ has joined #ruby
kubuntu_ has quit [Max SendQ exceeded]
fuzzyhorns has joined #ruby
szulak has joined #ruby
Guest19319 has quit [Ping timeout: 268 seconds]
mwlang has quit [Quit: mwlang]
enterprisey has joined #ruby
jtdoncas has joined #ruby
libastral has joined #ruby
cxr has joined #ruby
montanonic has joined #ruby
blackmesa has joined #ruby
elementaru has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
cxr has quit [Ping timeout: 260 seconds]
haennar has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
last_staff has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
montanonic has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
ap4y has joined #ruby
padi_ has joined #ruby
KicStart has joined #ruby
marxarelli has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
padi_ has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ozcanesen has joined #ruby
chouhoul_ has joined #ruby
tvw has joined #ruby
chouhou__ has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
dfockler has joined #ruby
brent__ has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
chouhou__ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
jdm has quit [Remote host closed the connection]
dfockler has quit [Remote host closed the connection]
username1 has quit [Ping timeout: 264 seconds]
Burgestrand has quit [Quit: Closing time!]
cxr has joined #ruby
gusrub has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
montanonic has joined #ruby
Burgestrand has quit [Client Quit]
electrostat has quit [Quit: uwotm8]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c-c has joined #ruby
electrostat has joined #ruby
phansch has joined #ruby
shaman42_ has joined #ruby
c-c is now known as Guest78872
BadAtom_ has joined #ruby
kke_ has joined #ruby
aaaaaaaabbbbbbb has joined #ruby
Muz_ has joined #ruby
arvindsa- has joined #ruby
nikivi- has joined #ruby
mim1k has joined #ruby
samdvr has joined #ruby
cxr has quit [Ping timeout: 260 seconds]
wilbert_ has joined #ruby
ionte_ has joined #ruby
bob_f has joined #ruby
_br___ has joined #ruby
aruns has joined #ruby
<aruns> Hi, running RVM 1.29.1 on Ubuntu 16.04, need to set GEM_HOME env variable.
username_ has joined #ruby
KrzaQ has quit [*.net *.split]
ionte has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
nikivi has quit [*.net *.split]
phansch_ has quit [*.net *.split]
joast has quit [*.net *.split]
BadAtom has quit [*.net *.split]
arvindsaik has quit [*.net *.split]
ablackack has quit [*.net *.split]
Koshian____ has quit [*.net *.split]
Muz has quit [*.net *.split]
bob_f_ has quit [*.net *.split]
Guest63653 has quit [*.net *.split]
shaman42 has quit [*.net *.split]
_br__ has quit [*.net *.split]
kke has quit [*.net *.split]
greister has quit [*.net *.split]
sheepman has quit [*.net *.split]
<aruns> But not sure whether this should be $HOME/.rvm/.gem or $HOME/.gem
fnord_ is now known as CrazEd
mim1k has quit [Ping timeout: 240 seconds]
CrazEd is now known as Guest37011
ablackack has joined #ruby
sheepman has joined #ruby
KrzaQ has joined #ruby
tyang__ has quit [Quit: Leaving]
Koshian____ has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
cdg has joined #ruby
samdvr has quit [Quit: samdvr]
dionysus69 has quit [Ping timeout: 258 seconds]
benlieb has quit [Quit: benlieb]
<aruns> OK, not an issue anymore.
<atmosx> rvm should set that automatically
elifoster has joined #ruby
benlieb has joined #ruby
haennar has joined #ruby
SteenJobs_ has quit [Quit: peaceee]
Guest64621 has quit [Remote host closed the connection]
certainty has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest58975
greister has joined #ruby
Guest58975 has quit [Remote host closed the connection]
teclator has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 240 seconds]
nckpz has quit [Quit: Leaving]
anothertau has joined #ruby
<anothertau> hello!
tyang has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
zacts has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joast has joined #ruby
ap4y has quit [Ping timeout: 240 seconds]
dfockler has joined #ruby
vuoto has quit [Ping timeout: 258 seconds]
AndBobsYourUncle has joined #ruby
cr3 has joined #ruby
Zamyatin has quit [Quit: Knocking out. Peace y'all...]
<cr3> if I have a proc, how can I call it with a different context?
<baweaver> &ri Proc
<baweaver> See binding
<allisio> cr3: You probably want #instance_exec.
<baweaver> that as well
<apeiros> and class_exec
<allisio> And #module_eval for all we know.
<baweaver> and module_exec
<apeiros> and instance_eval, and class_eval (though those are lesser forms of the _exec variants)
<cr3> allisio: I've been looking at the doc for that too and it seems to do the same as call, but I'm probably doing it wrong. I'll read again with the confidence that I seem to be digging in the right direction :)
tolerablyjake has joined #ruby
<apeiros> class_eval == module_eval, class_exec == module_exec. just so you don't overspend on research ;-)
<allisio> cr3: It's actually kind of the inversion of #call.
<allisio> #instance_exec puts the receiver "on the left", as it were.
tpendragon_ has joined #ruby
<allisio> In hindsight, that wasn't an especially illuminating way to phrase it.
<baweaver> what, is there a right way?
* baweaver laughs at horrid pun
alexherbo2 has joined #ruby
<apeiros> >> x = proc { self }; ["foo".instance_exec(&x), x.call]
<ruby[bot]> apeiros: # => ["foo", main] (https://eval.in/745745)
<apeiros> ^ cr3
<apeiros> self is changed by instance_exec (and in consequence, so is the scope for @ivars)
kinduff has quit [Read error: Connection reset by peer]
<allisio> cr3: https://eval.in/745747
<allisio> apeiros's gets to the heart of the thing, but there's a demonstration of why #call probably isn't quite what you're after.
kinduff has joined #ruby
tyang has quit [Quit: Leaving]
ddffg has joined #ruby
ozcanesen has joined #ruby
workmad3 has joined #ruby
geekb4ck_ has joined #ruby
<geekb4ck_> anyone have a working example that writes to a UNIXSocket(DGRAM) and then reads the response? I'm able to do UNIXSocket(STREAM) but not DGRAM
thoolihan has quit [Ping timeout: 260 seconds]
montanonic has quit [Ping timeout: 240 seconds]
<cr3> apeiros and allisio: thanks so much, I was trying to pass x to instance_exec like `"foo".instance_exec() x` but I see now. thanks so much!
rwb has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
synthroid has joined #ruby
ablackack has quit [Quit: ZNC 1.6.3+deb1+xenial0 - http://znc.in]
chouhoulis has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
chouhoul_ has quit [Ping timeout: 256 seconds]
anothertau has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
ablackack has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
synthroid has quit []
hahuang65 has joined #ruby
montanonic has joined #ruby
fclausen has joined #ruby
hanmac has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
tildes has joined #ruby
wilbert_ has quit [Ping timeout: 260 seconds]
Guest37011 is now known as CrazEd
geekb4ck_ has quit [Quit: Page closed]
ap4y has joined #ruby
CrazEd is now known as Guest92036
gusrub has quit []
mim1k has joined #ruby
stomar has quit [Quit: Konversation terminated!]
gusrub has joined #ruby
wilbert_ has joined #ruby
skweek has joined #ruby
ornerymoose has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 264 seconds]
wilbert_ has quit [Ping timeout: 240 seconds]
jdeville has joined #ruby
renchan has quit [Remote host closed the connection]
bhaak has quit [Quit: leaving]
wilbert_ has joined #ruby
blackwind_123 has quit [Ping timeout: 252 seconds]
braincrash has quit [Ping timeout: 240 seconds]
tildes has quit [Ping timeout: 260 seconds]
jdeville is now known as jredville
workmad3 has joined #ruby
blackwind_123 has joined #ruby
arch___ has joined #ruby
bkxd has joined #ruby
arch___ has quit [Excess Flood]
arch___ has joined #ruby
arch___ has quit [Excess Flood]
mim1k has joined #ruby
arch___ has joined #ruby
arch___ has quit [Excess Flood]
arch___ has joined #ruby
arch___ has quit [Excess Flood]
arch___ has joined #ruby
patarr_ has joined #ruby
arch___ has quit [Excess Flood]
arch___ has joined #ruby
arch___ has quit [Excess Flood]
interki has quit [K-Lined]
baked__beans has joined #ruby
alexherbo2 has quit [Ping timeout: 268 seconds]
patarr has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 240 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
ta_ has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oliv_____ has joined #ruby
<oliv_____> Hi there https://gist.github.com/odoisneau/dfd437ea6734705af5e4da70cca37482 is giving me odd result. I would think su - ubuntu gem env would be the same as a user login.
<oliv_____> anyone know how root can run a command as ubuntu to have the right gem env?
<dgs> rvmsudo?
<dgs> if you use rvm...
<oliv_____> so when I am logged in as sudo I replace gem env with rvm?
<dgs> are you using rvm?
<oliv_____> no gem I think not sure new to ruby
<oliv_____> I want to do a gem install....
<oliv_____> but it needs to be kicked off by root
<oliv_____> within a shell script like setup
bkutil has quit [Remote host closed the connection]
<Radar> oliv_____: why does it need to be kicked off by root?
aruns has quit [Quit: leaving]
<oliv_____> cause t runs as a command from cloud init in aws
<oliv_____> so that is a script run as root
montanonic has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
<oliv_____> do you know why su -l ubuntu not change my gem? and if I run rbenv -init it shows me errors
bmurt has joined #ruby
nunchuck has quit [Ping timeout: 240 seconds]
<oliv_____> so I installed ruby as ubuntu. I wanted to do some root stuff and now I need to install gems as ubunt
<oliv_____> u
<oliv_____> and so gem install... gives me perm issues and tries to install as 2.3
Renich has joined #ruby
<Radar> "it shows me errors"
<Radar> isn't helpful
<oliv_____> :Radar is that to me?
<Radar> oliv_____: You're the only one talking.
<oliv_____> :)
<oliv_____> let me send you that output
elifoster has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
gloscombe_ has joined #ruby
igniting has quit [Ping timeout: 246 seconds]
jredville has quit [Ping timeout: 264 seconds]
rwb has joined #ruby
choke has joined #ruby
KnownSyntax has quit [Ping timeout: 260 seconds]
Oldn0rse has quit []
<Radar> I have no idea what's happening there. I use ruby-install + chruby instead of rbenv.
[Butch] has quit [Quit: I'm out . . .]
workmad3 has quit [Ping timeout: 246 seconds]
<oliv_____> here is my full script if it helps you help me
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
Snickers has quit [Quit: Snickers]
mim1k has joined #ruby
KnownSyntax has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 256 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
benlieb has quit [Quit: benlieb]
<oliv_____> I guess another question would be should I install ruby as root or as the owner of the app? I would think owner of the app no?
ElDoggo has joined #ruby
Guest92036 is now known as CrazEd
KnownSyntax has joined #ruby
CrazEd is now known as Guest59885
pawnbox has quit [Ping timeout: 264 seconds]
wilbert_ has quit [Ping timeout: 258 seconds]
fuzzyhorns has quit [Quit: Leaving.]
Renich has quit [Ping timeout: 264 seconds]
bkxd has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
montanonic has quit [Ping timeout: 268 seconds]
cxr has joined #ruby
tvw has joined #ruby
dfockler has quit []
padi_ has joined #ruby
padi_ has quit [Remote host closed the connection]
padi_ has joined #ruby
mechstru has joined #ruby
braincrash has joined #ruby
montanonic has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
br0d1n has joined #ruby
pifon has quit [Quit: Connection closed for inactivity]
<oliv_____> finally figured it out.
<oliv_____> I added: export PATH=/home/ubuntu/.rbenv/shims:~/.rbenv/plugins/ruby-build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin inside EOF
toretore has quit [Ping timeout: 260 seconds]
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
last_staff has quit [Quit: last_staff]
bhaak has joined #ruby
pawnbox has joined #ruby
jredville has joined #ruby
gusrub has quit [Remote host closed the connection]
lucz has joined #ruby
lucz has quit [Client Quit]
igniting has joined #ruby
lucz has joined #ruby
lucz has quit [Client Quit]
baked__beans has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
lucz has joined #ruby
lucz has quit [Client Quit]
jredville has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
Papierkorb has quit [Ping timeout: 264 seconds]
montanonic has quit [Ping timeout: 240 seconds]
t-recx has joined #ruby
modlin has joined #ruby
haennar has quit [Ping timeout: 240 seconds]
haennar has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
Papierkorb has joined #ruby
enterprisey has quit [Remote host closed the connection]
montanonic has joined #ruby
CloCkWeRX has joined #ruby
pawnbox has joined #ruby
mim1k has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Remote host closed the connection]
aaaaaaaabbbbbbb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
aglorei has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
pawnbox has quit [Ping timeout: 240 seconds]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
Guest59885 is now known as CrazEd
mim1k has quit [Ping timeout: 264 seconds]
CrazEd is now known as Guest39556
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
cschneid_ has quit [Ping timeout: 258 seconds]
kiltzman has joined #ruby
mechstru has quit [Quit: Page closed]