havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org || Paste 4+ lines of text to https://gist.github.com || Rails questions? Ask in #RubyOnRails || Books: https://goo.gl/wpGhoQ || Logs: https://irclog.whitequark.org/ruby
sylario has quit [Quit: Connection closed for inactivity]
jmhmccr_ has joined #ruby
aotg_ has joined #ruby
HalcyonicStorm_ has joined #ruby
skmp_ has joined #ruby
avdi_ has joined #ruby
manveru_ has joined #ruby
stephenh_ has joined #ruby
jhill_ has joined #ruby
nOgAnOo_ has joined #ruby
pfg_ has joined #ruby
jabreity_ has joined #ruby
leitz has joined #ruby
boxrick_ has joined #ruby
kspencer_ has joined #ruby
tw1sted_ has joined #ruby
tvl has joined #ruby
marens_ has joined #ruby
rprimus_ has joined #ruby
danguita1 has joined #ruby
genpaku_ has joined #ruby
zmo_ has joined #ruby
tbuehlmann_ has joined #ruby
guardian` has joined #ruby
scott4000_ has joined #ruby
pragmatism42 has joined #ruby
Seich_ has joined #ruby
nemesit|znc_ has joined #ruby
TheTFEF has joined #ruby
KramerC_ has joined #ruby
IcyDragon has joined #ruby
white_lilies has joined #ruby
agrecascino_ has joined #ruby
tomaw_ has joined #ruby
pocketprotector- has joined #ruby
mkaito_ has joined #ruby
white_lilies has quit [Client Quit]
darix has quit [*.net *.split]
sparr has quit [*.net *.split]
aotg has quit [*.net *.split]
tjbp has quit [*.net *.split]
nrk has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
creat has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
kspencer has quit [*.net *.split]
pfg has quit [*.net *.split]
HalcyonicStorm has quit [*.net *.split]
Nightmare has quit [*.net *.split]
arahael has quit [*.net *.split]
tw1sted has quit [*.net *.split]
tomaw has quit [*.net *.split]
marens has quit [*.net *.split]
jhill has quit [*.net *.split]
zmo has quit [*.net *.split]
jabreity has quit [*.net *.split]
stephenh has quit [*.net *.split]
jmhmccr has quit [*.net *.split]
pwillard has quit [*.net *.split]
IceDragon has quit [*.net *.split]
KramerC has quit [*.net *.split]
avdi has quit [*.net *.split]
manveru has quit [*.net *.split]
skmp has quit [*.net *.split]
boxrick has quit [*.net *.split]
nOgAnOo has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
guardian has quit [*.net *.split]
shalok has quit [*.net *.split]
agrecascino has quit [*.net *.split]
sunrunner20 has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
xMopx has quit [*.net *.split]
danguita has quit [*.net *.split]
mkaito has quit [*.net *.split]
rprimus has quit [*.net *.split]
kent\n has quit [*.net *.split]
j416 has quit [*.net *.split]
pragmatism has quit [*.net *.split]
akemot has quit [*.net *.split]
spider-mario has quit [*.net *.split]
booboy_ has quit [*.net *.split]
scott4000 has quit [*.net *.split]
genpaku has quit [*.net *.split]
tbuehlmann has quit [*.net *.split]
Seich has quit [*.net *.split]
cats has quit [*.net *.split]
xenops has quit [*.net *.split]
jwheare has quit [*.net *.split]
dan64 has quit [*.net *.split]
yeticry has quit [*.net *.split]
adgtl has quit [*.net *.split]
plexigras has quit [*.net *.split]
mahlon has quit [*.net *.split]
matthewd has quit [*.net *.split]
octomancer has quit [*.net *.split]
christianmello has quit [*.net *.split]
Majost has quit [*.net *.split]
jokester has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
cpallares has quit [*.net *.split]
voker57 has quit [*.net *.split]
S007 has quit [*.net *.split]
haylon_ has quit [*.net *.split]
infernix has quit [*.net *.split]
hsiktas has quit [*.net *.split]
afisher has quit [*.net *.split]
aarongodin has quit [*.net *.split]
ckrailo has quit [*.net *.split]
lipoqil has quit [*.net *.split]
RushPL has quit [*.net *.split]
qyliss has quit [*.net *.split]
heftig has quit [*.net *.split]
nettie has quit [*.net *.split]
Lloyd has quit [*.net *.split]
WhereIsMySpoon has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
oz has quit [*.net *.split]
cjohnson has quit [*.net *.split]
_derpy has quit [*.net *.split]
rideh has quit [*.net *.split]
rubemlrm has quit [*.net *.split]
volix has quit [*.net *.split]
havenwood has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
phaul has quit [*.net *.split]
cagomez has quit [*.net *.split]
KeyJoo has quit [*.net *.split]
apeiros has quit [*.net *.split]
tdy has quit [*.net *.split]
\void has quit [*.net *.split]
Asher has quit [*.net *.split]
dinfuehr_ has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
facest has quit [*.net *.split]
argoneus has quit [*.net *.split]
ccooke has quit [*.net *.split]
spk has quit [*.net *.split]
Junaos has quit [*.net *.split]
tdelam has quit [*.net *.split]
marxarelli|afk has quit [*.net *.split]
yokel has quit [*.net *.split]
eblip has quit [*.net *.split]
fullstack has quit [*.net *.split]
kenichi has quit [*.net *.split]
inukshuk has quit [*.net *.split]
foxxx0 has quit [*.net *.split]
memo1 has quit [*.net *.split]
vircung has quit [*.net *.split]
stephenh_ is now known as stephenh
skmp_ is now known as skmp
jabreity_ is now known as jabreity
pwillard_ has joined #ruby
avdi_ is now known as avdi
sparr has joined #ruby
phaul has joined #ruby
armyriad has joined #ruby
Emmanuel_Chanel has joined #ruby
valkyr2e has joined #ruby
MonicleLewinsky has joined #ruby
ccooke has joined #ruby
hinbody has joined #ruby
argoneus has joined #ruby
tdy has joined #ruby
uplime has joined #ruby
fullstack has joined #ruby
genta has joined #ruby
Asher has joined #ruby
Lyubo1 has joined #ruby
vdl has joined #ruby
dinfuehr_ has joined #ruby
ohcibi has joined #ruby
marxarelli|afk has joined #ruby
spk has joined #ruby
cagomez has joined #ruby
kenichi has joined #ruby
phage has joined #ruby
timmow has joined #ruby
syndikate has joined #ruby
levifig has joined #ruby
facest has joined #ruby
Junaos has joined #ruby
Keltia has joined #ruby
llua has joined #ruby
personofinterest has joined #ruby
mikeiniowa has joined #ruby
jsaak has joined #ruby
cyberRodent has joined #ruby
ianmalcolm has joined #ruby
yosafbridge has joined #ruby
m4rCsi has joined #ruby
nyuszika7h has joined #ruby
CrazyEddy has joined #ruby
apeiros has joined #ruby
webhat has joined #ruby
\void has joined #ruby
pastorinni has joined #ruby
brainslug has joined #ruby
lightstalker has joined #ruby
r3dc0d3r has joined #ruby
bauruine has joined #ruby
kloeri has joined #ruby
yokel has joined #ruby
Scient has joined #ruby
psmolen_ has joined #ruby
vircung has joined #ruby
DarkArc has joined #ruby
badeball has joined #ruby
Tempesta has joined #ruby
Tharbakim has joined #ruby
tdelam has joined #ruby
P1ro has joined #ruby
cliluw has joined #ruby
FrankD has joined #ruby
jpterry has joined #ruby
DEac- has joined #ruby
inukshuk has joined #ruby
memo1 has joined #ruby
ltd has joined #ruby
Map has joined #ruby
matti has joined #ruby
foxxx0 has joined #ruby
Xiti has joined #ruby
jordanm has joined #ruby
byte512 has joined #ruby
Omnilord has joined #ruby
modin has joined #ruby
sirecote has joined #ruby
dyyylan- has joined #ruby
johnny56_ has joined #ruby
j416 has joined #ruby
shalok has joined #ruby
TheTFEF has quit [Changing host]
TheTFEF has joined #ruby
jyaworski has quit [Ping timeout: 252 seconds]
Tempesta has quit [Max SendQ exceeded]
armyriad has quit [Max SendQ exceeded]
Gabemo has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
nrk has joined #ruby
Gabemo has joined #ruby
eblip has joined #ruby
Tempesta has joined #ruby
hsiktas has joined #ruby
KramerC_ has joined #ruby
KramerC_ has quit [Changing host]
Tempesta is now known as Guest45406
Gabemo has quit [Changing host]
Gabemo has joined #ruby
Guest45406 has joined #ruby
Guest45406 has quit [Changing host]
sunrunner20 has joined #ruby
kent\n has joined #ruby
akemot has joined #ruby
noobineer has joined #ruby
booboy has joined #ruby
KramerC_ is now known as KramerC
JoshS has quit [Ping timeout: 260 seconds]
xMopx has joined #ruby
darix has joined #ruby
tjbp has joined #ruby
JoshS has joined #ruby
roger_rabbit has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
thinkpad has quit [Ping timeout: 240 seconds]
csaunders has quit [Ping timeout: 240 seconds]
jinie has quit [Ping timeout: 240 seconds]
csaunders has joined #ruby
arahael has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beremenushka3 has joined #ruby
thinkpad has joined #ruby
beremenushka has quit [Read error: Connection reset by peer]
jinie has joined #ruby
Xeago has joined #ruby
armyriad has joined #ruby
Giphy[m] has quit [Ping timeout: 256 seconds]
turt2live has quit [Ping timeout: 260 seconds]
KevinMGranger has quit [Ping timeout: 256 seconds]
iceskins[m] has quit [Ping timeout: 256 seconds]
luna_x[m] has quit [Ping timeout: 255 seconds]
aviraldg has quit [Ping timeout: 276 seconds]
kinduff[m] has quit [Ping timeout: 260 seconds]
zalipuha[m] has quit [Ping timeout: 260 seconds]
luminousnine has quit [Ping timeout: 260 seconds]
torarne has quit [Ping timeout: 260 seconds]
jonjits[m] has quit [Ping timeout: 248 seconds]
Hanma[m] has quit [Ping timeout: 248 seconds]
dizzy1or5[m] has quit [Ping timeout: 256 seconds]
redlegion[m] has quit [Ping timeout: 256 seconds]
velu_aon[m] has quit [Ping timeout: 256 seconds]
Psybur has joined #ruby
JoshS has quit [Remote host closed the connection]
JoshS has joined #ruby
phenom has quit [Ping timeout: 260 seconds]
leitz has quit [Quit: Nappy time]
phenom has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
creat has joined #ruby
RougeR has quit [Quit: Leaving]
RougeT430 has quit [Quit: Leaving]
ecuanaso has joined #ruby
ecuanaso has quit [Client Quit]
Dimik has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
zalipuha[m] has joined #ruby
orbyt_ has joined #ruby
mostly-harmless has joined #ruby
Esa_ has quit []
samort7 has quit []
cagomez has quit [Ping timeout: 256 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthu| has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
gnufied has quit [Remote host closed the connection]
guacamole has quit [Client Quit]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 260 seconds]
char_var[buffer] has joined #ruby
scott4000_ is now known as scott4000
char_var[buffer] has quit [Client Quit]
coderphive has quit [Quit: coderphive]
erlend has quit [Ping timeout: 248 seconds]
n0m4d1c has joined #ruby
erlend has joined #ruby
Giphy[m] has joined #ruby
Hanma[m] has joined #ruby
jonjits[m] has joined #ruby
turt2live has joined #ruby
haylon_ has joined #ruby
iceskins[m] has joined #ruby
aviraldg has joined #ruby
luna_x[m] has joined #ruby
luminousnine has joined #ruby
KevinMGranger has joined #ruby
torarne has joined #ruby
velu_aon[m] has joined #ruby
dizzy1or5[m] has joined #ruby
kinduff[m] has joined #ruby
rfoust has joined #ruby
sameerynho has quit [Ping timeout: 240 seconds]
noobineer has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
pastorinni has quit [Ping timeout: 264 seconds]
noobineer has joined #ruby
Guest41553 has quit [Ping timeout: 256 seconds]
cyberg has quit [Quit: Leaving]
dinfuehr_ has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
Olipro has joined #ruby
Olipro is now known as Guest59525
JoshS has quit [Remote host closed the connection]
JoshS has joined #ruby
SeepingN has quit [Remote host closed the connection]
alfiemax has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
herbmillerjr has joined #ruby
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
DTZUZU has quit [Ping timeout: 256 seconds]
yxhuvud has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
adgtl has joined #ruby
mahlon has joined #ruby
matthewd has joined #ruby
octomancer has joined #ruby
qyliss has joined #ruby
infernix has joined #ruby
cpallares has joined #ruby
oz has joined #ruby
afisher has joined #ruby
voker57 has joined #ruby
S007 has joined #ruby
havenwood has joined #ruby
RushPL has joined #ruby
mostlybadfly has joined #ruby
aarongodin has joined #ruby
volix has joined #ruby
jokester has joined #ruby
Majost has joined #ruby
redlegion[m] has joined #ruby
plexigras has joined #ruby
dan64 has joined #ruby
lipoqil has joined #ruby
yeticry has joined #ruby
Lloyd has joined #ruby
christianmello has joined #ruby
heftig has joined #ruby
WhereIsMySpoon has joined #ruby
jwheare has joined #ruby
nettie has joined #ruby
rideh has joined #ruby
hahuang65 has joined #ruby
cats has joined #ruby
_derpy has joined #ruby
ByronJohnson has joined #ruby
rubemlrm has joined #ruby
xenops has joined #ruby
cjohnson has joined #ruby
ckrailo has joined #ruby
DTZUZU has joined #ruby
redlegion[m] has quit [Changing host]
redlegion[m] has joined #ruby
plexigras has quit [Max SendQ exceeded]
Psybur has quit [Remote host closed the connection]
jyaworski has joined #ruby
JoshS has quit [Remote host closed the connection]
plexigras has joined #ruby
Psybur has joined #ruby
JoshS has joined #ruby
epochwolf has quit [Ping timeout: 260 seconds]
zalipuha[m] has quit [Ping timeout: 248 seconds]
haylon_ has quit [Ping timeout: 245 seconds]
Hanma[m] has quit [Ping timeout: 240 seconds]
aviraldg has quit [Ping timeout: 240 seconds]
luminousnine has quit [Ping timeout: 255 seconds]
luna_x[m] has quit [Ping timeout: 255 seconds]
KevinMGranger has quit [Ping timeout: 252 seconds]
Giphy[m] has quit [Ping timeout: 252 seconds]
jonjits[m] has quit [Ping timeout: 256 seconds]
velu_aon[m] has quit [Ping timeout: 248 seconds]
redlegion[m] has quit [Ping timeout: 246 seconds]
torarne has quit [Ping timeout: 256 seconds]
turt2live has quit [Ping timeout: 252 seconds]
iceskins[m] has quit [Ping timeout: 255 seconds]
dizzy1or5[m] has quit [Ping timeout: 260 seconds]
kinduff[m] has quit [Ping timeout: 248 seconds]
epochwolf has joined #ruby
JoshS has quit [Remote host closed the connection]
JoshS has joined #ruby
SteenJobs has quit [Quit: peaceee]
workmad3 has joined #ruby
bmurt has joined #ruby
haylon has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
bmurt has quit [Ping timeout: 256 seconds]
Puffball has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 256 seconds]
fhmax has joined #ruby
n0m4d1c_ has joined #ruby
uplime is now known as watermelon
noobineer has quit [Ping timeout: 256 seconds]
BTRE has quit [Read error: Connection reset by peer]
n0m4d1c has quit [Ping timeout: 260 seconds]
watermelon is now known as uplime
n0m4d1c_ has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
n0m4d1c has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
zalipuha[m] has joined #ruby
Dimik has quit [Ping timeout: 245 seconds]
Bonjourm8 has quit [Quit: Leaving]
b100s has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
jyaworski has joined #ruby
rshetty has quit [Remote host closed the connection]
Psybur has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 240 seconds]
<b100s> Hello! I would like to ask what is origin of request.ip in sinatra app? I've checked source code, looks like it's simply REMOTE_ADDR header https://github.com/rack/rack/blob/master/lib/rack/request.rb#L256 . Also I've checked by `nc -l ..` request headers, but I didn't find them. But output of `puts JSON.pretty_generate(request.env)` contains them. What does generate this header for sinatra request object ?
rexan has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
alfiemax has joined #ruby
Giphy[m] has joined #ruby
redlegion[m] has joined #ruby
turt2live has joined #ruby
Hanma[m] has joined #ruby
torarne has joined #ruby
luna_x[m] has joined #ruby
haylon_ has joined #ruby
iceskins[m] has joined #ruby
jonjits[m] has joined #ruby
KevinMGranger has joined #ruby
velu_aon[m] has joined #ruby
aviraldg has joined #ruby
luminousnine has joined #ruby
SynSynack has quit [Remote host closed the connection]
dizzy1or5[m] has joined #ruby
kinduff[m] has joined #ruby
SynSynack has joined #ruby
rshetty has joined #ruby
wald0 has quit [Quit: Lost terminal]
jyaworski has quit [Ping timeout: 256 seconds]
jimmylu2333-rpi3 has quit [Ping timeout: 260 seconds]
donofrio has joined #ruby
<donofrio> how do I install Nokogiri ?
<havenwood> donofrio: gem install nokogiri
<donofrio> yep that worked tnx
<donofrio> will goto lurk mode now ;)
jyaworski has joined #ruby
rshetty has quit [Ping timeout: 255 seconds]
<donofrio> uh help - https://pastebin.com/pZu1iUDv
<ruby[bot]> donofrio: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<donofrio> ;(
tdy has joined #ruby
<donofrio> what did I do wrong ;(
jyaworski has quit [Ping timeout: 255 seconds]
<havenwood> donofrio: How'd you install Ruby? It seems you don't have ruby-dev installed.
dviola has quit [Quit: WeeChat 2.1]
JoshS has quit [Remote host closed the connection]
JoshS has joined #ruby
<donofrio> havenwood, this the fun part - from this setup at http://www.tinyurl.com/donofrio1804 (w10 w/ubuntu 18.04 w/xfce4) apt-get install ruby ;)
<havenwood> donofrio: apt-get install ruby-dev
<havenwood> donofrio: or: apt-get install ruby-full
gnotc has left #ruby ["Textual IRC Client: www.textualapp.com"]
<donofrio> k trying that now
<donofrio> (skip unneeded onedrive login for reading about my setup)
<donofrio> just finished installing -dev
<donofrio> same error
jenrzzz has quit [Ping timeout: 255 seconds]
<havenwood> donofrio: Did you then?: gem install nokogiri
<donofrio> tring to run this script from https://twitter.com/dylanmckaynz/status/976368845635035138
<donofrio> yes I installed that or at least I tried the last glist shows I got an error
<donofrio> oh I'll try gaing now that i have -dev
ams__ has quit [Quit: Connection closed for inactivity]
fhmax has quit [Ping timeout: 245 seconds]
coderphive has joined #ruby
rylanbranch has joined #ruby
<donofrio> taking forever lol "Building native extensions. This could take a while..."
coderphi_ has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
coderphive has quit [Ping timeout: 276 seconds]
<donofrio> updated glist with real info
<donofrio> yes that is wsl ;)
coderphi_ is now known as coderphive
<donofrio> its working
<donofrio> just not pulling data from html directory...
gizmore has quit [Remote host closed the connection]
kn-928 has joined #ruby
Guest45406 is now known as Tempesta
jcarl43 has joined #ruby
<donofrio> ;(
<donofrio> but html directory and contact_info.html exists along with other html file created by the facebook data achive option
erlend has quit [Ping timeout: 256 seconds]
darkhanb has joined #ruby
erlend has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
jeffreylevesque has joined #ruby
alfiemax has joined #ruby
reaVer_ has quit [Remote host closed the connection]
reaVer has joined #ruby
AbinoamJr2018 has joined #ruby
AbinoamJr2018 has quit [Client Quit]
<donofrio> anyone here run that script before?
AbinoamJr2018 has joined #ruby
workmad3 has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rshetty has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
gix has joined #ruby
gix- has quit [Ping timeout: 276 seconds]
rshetty has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
ptx0 has joined #ruby
rexan has quit [Read error: Connection reset by peer]
NightMonkey has quit [Ping timeout: 256 seconds]
rexan has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pilne has quit [Quit: Leaving]
haylon has quit [Remote host closed the connection]
morfin has quit [Read error: Connection reset by peer]
AJA4350 has quit [Remote host closed the connection]
kn-928 has joined #ruby
NightMonkey has joined #ruby
govg has quit [Ping timeout: 240 seconds]
rexan has quit [Read error: Connection reset by peer]
rexan has joined #ruby
rahul_bajaj has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
rabajaj has quit [Read error: Connection reset by peer]
memo1 has quit [Ping timeout: 264 seconds]
rabajaj has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
rahul_bajaj has quit [Ping timeout: 276 seconds]
nowhereman_ has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
govg has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kn-928 has joined #ruby
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
trautwein has quit [Quit: ZNC 1.6.6 - http://znc.in]
AbinoamJr2018 has quit [Ping timeout: 260 seconds]
trautwein has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
yxhuvud has joined #ruby
coderphive has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
guacamole has quit [Ping timeout: 260 seconds]
yxhuvud has quit [Client Quit]
yxhuvud has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
agent_white has joined #ruby
rexan has quit [Ping timeout: 248 seconds]
rexan has joined #ruby
rylanbranch has quit [Ping timeout: 260 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has joined #ruby
bmurt has joined #ruby
alnewkirk has joined #ruby
eckhardt_ has joined #ruby
eckhardt_ has quit [Client Quit]
HoloIRCUser2 has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<HoloIRCUser2> .
ToasttifyRB has joined #ruby
erlend has quit [Ping timeout: 255 seconds]
jeffaustin81 has joined #ruby
erlend has joined #ruby
sauvin has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
rexan has quit [Ping timeout: 240 seconds]
minimalism has joined #ruby
rexan has joined #ruby
bmurt has joined #ruby
kn-928 has joined #ruby
jyaworski has joined #ruby
jamesaxl has joined #ruby
kn-928 has quit [Ping timeout: 268 seconds]
alfiemax has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
jyaworski has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
troys has quit [Quit: Bye]
alfiemax has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
armando has quit [Ping timeout: 240 seconds]
jeffaustin81 has quit [Quit: Textual IRC Client: www.textualapp.com]
rexan has quit [Ping timeout: 256 seconds]
dr3w_ has joined #ruby
kn-928 has joined #ruby
suukim has joined #ruby
alfiemax has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 255 seconds]
rahul_bajaj has joined #ruby
rabajaj has quit [Read error: Connection reset by peer]
rabajaj has joined #ruby
rahul_bajaj has quit [Ping timeout: 240 seconds]
Mosselman has joined #ruby
rshetty has joined #ruby
segy has quit [Ping timeout: 240 seconds]
Mosselman has quit [Ping timeout: 240 seconds]
shuforov has joined #ruby
segy has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
KeyJoo has joined #ruby
suukim has quit [Quit: Konversation terminated!]
jcarl43 has quit [Quit: WeeChat 2.1]
schneider has joined #ruby
Mosselman has joined #ruby
mluts has quit [Remote host closed the connection]
kn-928 has quit [Ping timeout: 256 seconds]
reber__ has joined #ruby
armando has joined #ruby
reber has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
reber has joined #ruby
reber__ has quit [Ping timeout: 256 seconds]
reber has quit [Client Quit]
venmx has joined #ruby
sauvin is now known as Sauvin
rshetty has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Ping timeout: 276 seconds]
Omni has joined #ruby
Omni is now known as Guest16187
erlend has quit [Ping timeout: 256 seconds]
erlend has joined #ruby
imode has quit [Ping timeout: 256 seconds]
armando has quit [Ping timeout: 260 seconds]
Omnilord has quit [Ping timeout: 264 seconds]
weaksauce has quit [Read error: Connection reset by peer]
ishahnaz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Antiarc has quit [Ping timeout: 240 seconds]
dhollinger has quit [Ping timeout: 256 seconds]
fusta has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
dhollinger has joined #ruby
dionysus69 has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
fusta has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
d^sh has quit [Ping timeout: 256 seconds]
Antiarc has joined #ruby
d^sh has joined #ruby
rshetty has joined #ruby
reber has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
kn-928 has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
amar has joined #ruby
kn-928 has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
hurricanehrndz has quit [Quit: Goodbye]
sylario has joined #ruby
rahul_bajaj has joined #ruby
rabajaj has quit [Read error: Connection reset by peer]
Mosselman has quit [Ping timeout: 256 seconds]
rabajaj has joined #ruby
hurricanehrndz has joined #ruby
rahul_bajaj has quit [Ping timeout: 260 seconds]
guille-moe has joined #ruby
tvw has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
Mosselman has joined #ruby
alfiemax has quit [Ping timeout: 276 seconds]
rshetty has joined #ruby
claudiuinberlin has joined #ruby
qba73 has joined #ruby
ishahnaz has quit []
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
reber__ has joined #ruby
venmx has joined #ruby
reber has quit [Ping timeout: 240 seconds]
ishahnaz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
kn-928 has joined #ruby
yohji has joined #ruby
marr has joined #ruby
mikechen has joined #ruby
alfiemax has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
Xeago has joined #ruby
dandymac has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
dandymac has joined #ruby
karapetyan has joined #ruby
dandymac has quit [Client Quit]
ellcs has joined #ruby
antoniooo has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
antoniooo has left #ruby [#ruby]
ellcs has quit [Ping timeout: 260 seconds]
ishahnaz has quit [Ping timeout: 256 seconds]
ellcs has joined #ruby
prauat has joined #ruby
clemens3 has joined #ruby
suukim has joined #ruby
neuromanc_r has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
<prauat> Hi, anyone run trough OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write client hello: wrong version number ?
rshetty has quit [Remote host closed the connection]
alex`` has joined #ruby
`scootaloo has joined #ruby
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
qba73 has quit [Ping timeout: 240 seconds]
ishahnaz has joined #ruby
qba73 has joined #ruby
deadnull has joined #ruby
ishahnaz has quit [Client Quit]
ishahnaz has joined #ruby
rshetty has joined #ruby
deadnull has quit [Client Quit]
schneider has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
jyaworski has joined #ruby
rshetty has joined #ruby
reber__ has quit [Quit: Leaving]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
jenrzzz has quit [Ping timeout: 256 seconds]
rshetty has quit [Ping timeout: 256 seconds]
erlend has quit [Ping timeout: 260 seconds]
rshetty has joined #ruby
TheBloke has joined #ruby
workmad3 has joined #ruby
alfiemax has joined #ruby
erlend has joined #ruby
ellcs has quit [Ping timeout: 248 seconds]
ur5us has quit [Remote host closed the connection]
rshetty has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
k_ has joined #ruby
k_ is now known as \\13k
\\13k has quit [Client Quit]
\13k has quit [Disconnected by services]
\13k has joined #ruby
Elysia has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
\13k has quit [Disconnected by services]
jyaworski has quit [Ping timeout: 268 seconds]
\13k has joined #ruby
ishahnaz has quit []
ishahnaz has joined #ruby
thinkpad has quit [Ping timeout: 264 seconds]
thinkpad has joined #ruby
phaul has joined #ruby
rexan has joined #ruby
\13k has quit [Quit: good night and good luck]
SuperLag has quit [Ping timeout: 260 seconds]
\13k has joined #ruby
zenspider has quit [Changing host]
zenspider has joined #ruby
SuperLag has joined #ruby
_yohji_ has joined #ruby
yohji has quit [Ping timeout: 255 seconds]
Mosselman has quit [Ping timeout: 256 seconds]
\13k has quit [Quit: good night and good luck]
FrankD_ has joined #ruby
lunarkitty7 has quit [Ping timeout: 276 seconds]
alfiemax has quit [Remote host closed the connection]
lunarkitty7 has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
FrankD has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
tomphp has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
rshetty has joined #ruby
\13k has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
jyaworski has joined #ruby
amatas has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
\13k has quit [Quit: good night and good luck]
\13k has joined #ruby
Mosselman has joined #ruby
hramrach has quit [Ping timeout: 245 seconds]
jyaworski has quit [Ping timeout: 260 seconds]
amatas has quit [Read error: Connection reset by peer]
amatas has joined #ruby
Papierkorb has joined #ruby
Mosselman has quit [Ping timeout: 260 seconds]
amatas_ has joined #ruby
rexan has quit [Ping timeout: 276 seconds]
rexan has joined #ruby
amatas has quit [Ping timeout: 264 seconds]
amatas_ is now known as amatas
shuforov has quit [Ping timeout: 276 seconds]
qba73 has quit [Remote host closed the connection]
reber has joined #ruby
qba73 has joined #ruby
alfiemax has quit [Remote host closed the connection]
`scootaloo has quit [Ping timeout: 260 seconds]
Papierkorb has left #ruby ["Konversation terminated!"]
shuforov has joined #ruby
\13k has quit [Quit: good night and good luck]
\13k has joined #ruby
karapetyan has joined #ruby
aupadhye has joined #ruby
aupadhye has quit [Read error: Connection reset by peer]
dr3w_ has joined #ruby
lypsis has joined #ruby
KeyJoo has quit [Read error: Connection timed out]
rexan has quit [Ping timeout: 276 seconds]
rexan has joined #ruby
manveru_ is now known as manveru
Mosselman has joined #ruby
tvw has quit []
lypsis has quit [Quit: lypsis]
alfiemax has joined #ruby
pwillard_ is now known as pwillard
alfiemax has quit [Ping timeout: 256 seconds]
rexan has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
rshetty has joined #ruby
KeyJoo has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
phaul has quit [Remote host closed the connection]
phaul has joined #ruby
\void has joined #ruby
ellcs has joined #ruby
workmad3 has joined #ruby
jeffreylevesque has quit [Ping timeout: 260 seconds]
qba73 has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
tcopeland has quit [Quit: tcopeland]
erlend has quit [Ping timeout: 248 seconds]
erlend has joined #ruby
alfiemax has joined #ruby
jyaworski has joined #ruby
dr3w_ has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
ishahnaz has quit []
shinnya has joined #ruby
synthroid has joined #ruby
bodgix has left #ruby [#ruby]
duderonomy has joined #ruby
lembron has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
<lembron> hi there, im digging over scripts to understand stuff -- what does a single @varname mean do? its not in a place of return, and doesnt get anything assigned or whatever
<lembron> does that some kinda init / load?
<lembron> googling that with a fitting keyword turns out kinda hard ;D
jyaworski has quit [Ping timeout: 248 seconds]
postmodern has quit [Quit: Leaving]
oleo2 has joined #ruby
<phaul> referencing an instance variable. If it's not in a place of return, and it's not used in any way, that's valid ruby, but then that line does nothing. Do a gist example, so we can confirm, looking at the code
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has joined #ruby
synthroi_ has joined #ruby
oleo2 has quit [Ping timeout: 255 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
<lembron> OS_FACTS exists from the helper, but afaik all that stuff is case-sensitve
jshjsh has joined #ruby
synthroid has quit [Ping timeout: 260 seconds]
rshetty has quit [Remote host closed the connection]
<phaul> I agree it looks weird. I don't know. I would put a debugger before that line, get a byebug prompt and look at the value / class of @os_facts. also it seems to do it on the top level scope - therefore main?
rexan has joined #ruby
JoshS has quit [Ping timeout: 255 seconds]
<lembron> the file is run from inside rspec later on, so "top scope" is somewhat relative i assuem...
<lembron> but knowing it doesnt do any secret magic may be all i needed for now =) thanks
venmx has quit [Ping timeout: 260 seconds]
<phaul> does it work if you just remove it? :)
ecuanaso has joined #ruby
rshetty has joined #ruby
jrafanie has joined #ruby
k0mpa has joined #ruby
rshetty has quit [Ping timeout: 268 seconds]
jyaworski has quit [Ping timeout: 264 seconds]
<apeiros> lembron: looks like an accidental leftover. it does nothing in ruby.
<lembron> well, its very nicely in each and every of these files there... :D
<lembron> "ill just leave it in" i guess :P
<apeiros> oh? it's in multiple places?
<apeiros> maybe they abuse it
<apeiros> as in: use it like a marker of some sort
nadir has quit [Quit: Connection closed for inactivity]
bmurt has joined #ruby
tvw has joined #ruby
lypsis has joined #ruby
biberu has joined #ruby
qba73 has joined #ruby
tcopeland has joined #ruby
Erlingur has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
coderphive has joined #ruby
lypsis has quit [Client Quit]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pd2000 has joined #ruby
pd2000 has quit [Max SendQ exceeded]
<dminuoso> Perhaps there's some set_trace_func magic going on ¯\_(ツ)_/¯
pd2000 has joined #ruby
tvw has quit []
duderonomy has quit [Ping timeout: 248 seconds]
alex`` has quit [Ping timeout: 256 seconds]
HoloIRCUser2 has quit [Ping timeout: 276 seconds]
ToasttifyRB has quit [Ping timeout: 276 seconds]
Erlingur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
Guest14032 has joined #ruby
<apeiros> dminuoso: or some rspec tool which inspects the source (e.g. by running it through one of the ruby parsers - a lone ivar should be easy to detect)
alfiemax has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
alex`` has joined #ruby
rsh has joined #ruby
<dminuoso> Still a weird thing to do.
lypsis has joined #ruby
james__ has joined #ruby
apparition has joined #ruby
rexan has quit [Read error: Connection reset by peer]
rexan has joined #ruby
coderphive has quit [Quit: coderphive]
<phaul> based on this CL https://github.com/example42/psick/commit/fb8a4147c63f536aa7a8aa51b5e67394cc7f0ef8 it seems to be related to some codacy tool
rahul_bajaj has joined #ruby
rshetty has joined #ruby
cdg has joined #ruby
rabajaj has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby
rippa has joined #ruby
Erlingur has joined #ruby
Zaab1t has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 248 seconds]
AJA4350 has joined #ruby
lypsis has quit [Remote host closed the connection]
Mosselman has quit [Ping timeout: 276 seconds]
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
venmx has joined #ruby
karapetyan has quit [Remote host closed the connection]
Sauvin has quit [Ping timeout: 260 seconds]
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
pd2000 has quit [Ping timeout: 264 seconds]
james__ has quit [Quit: This computer has gone to sleep]
karapetyan has joined #ruby
jyaworski has joined #ruby
qba73 has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 260 seconds]
erlend has quit [Ping timeout: 268 seconds]
qba73 has joined #ruby
Erlingur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has joined #ruby
DLSteve has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
suukim has quit [Quit: Konversation terminated!]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mosselman has joined #ruby
rahul_bajaj has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
pastorinni has joined #ruby
tcopeland has quit [Quit: tcopeland]
jp has quit [Ping timeout: 256 seconds]
shpoont has joined #ruby
foxxx0 has quit [Quit: foxxx0]
venmx has quit [Ping timeout: 240 seconds]
Strepsils has joined #ruby
foxxx0 has joined #ruby
tcopeland has joined #ruby
rahul_bajaj has joined #ruby
shpoont has quit [Quit: Textual IRC Client: www.textualapp.com]
jp has joined #ruby
ryan_ford has joined #ruby
coderphive has joined #ruby
shpoont has joined #ruby
Rapture has joined #ruby
rahul_bajaj has quit [Quit: Leaving]
harrycs has joined #ruby
dr3w_ has joined #ruby
harry_ has joined #ruby
harrycs has quit [Ping timeout: 256 seconds]
harry_ has quit [Remote host closed the connection]
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
harrycs has joined #ruby
harrycs has quit [Remote host closed the connection]
harrycs has joined #ruby
harrycs has quit [Remote host closed the connection]
netherwolfe has joined #ruby
harrycs has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
cyberg has joined #ruby
Strepsils has quit [Ping timeout: 256 seconds]
ellcs has joined #ruby
duderonomy has joined #ruby
rexan has quit [Ping timeout: 276 seconds]
rexan has joined #ruby
jeffreylevesque has joined #ruby
xenops has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
cschneid has joined #ruby
Esa_ has joined #ruby
Mosselman has quit [Ping timeout: 256 seconds]
rshetty has quit [Remote host closed the connection]
alfiemax has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
dviola has joined #ruby
stormpack has joined #ruby
rshetty has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
shuforov has quit [Ping timeout: 268 seconds]
kn-928 has quit [Ping timeout: 256 seconds]
ryan_ford has quit [Quit: WeeChat 1.4]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 276 seconds]
Sauvin has joined #ruby
synthroi_ has quit [Remote host closed the connection]
desperek has joined #ruby
rexan has quit [Ping timeout: 260 seconds]
za1b1tsu has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
cremes77 has joined #ruby
govg has quit [Ping timeout: 256 seconds]
Mosselman has joined #ruby
kn-928 has joined #ruby
stormpack_ has joined #ruby
nadir has joined #ruby
_yohji_ has quit [Remote host closed the connection]
cagomez has joined #ruby
jrafanie has joined #ruby
stormpack has quit [Ping timeout: 276 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
pocketprotector- has quit [Changing host]
pocketprotector- has joined #ruby
pocketprotector- is now known as pocketprotector
oleo has quit [Quit: Leaving]
konsolebox has joined #ruby
yeticry has quit [Ping timeout: 246 seconds]
cagomez has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
yeticry has joined #ruby
apparition has quit [Quit: Bye]
govg has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has joined #ruby
kapil___ has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
thinkpad has quit [Ping timeout: 260 seconds]
thinkpad has joined #ruby
Mosselman has quit [Ping timeout: 240 seconds]
cremes77 has quit [Quit: cremes77]
schneider has quit [Ping timeout: 240 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
cremes77 has joined #ruby
erlend has quit [Ping timeout: 248 seconds]
erlend has joined #ruby
qba73 has quit [Ping timeout: 260 seconds]
iceden has joined #ruby
<clemens3> Ruby 2.4 doesn't have File.exists? method anymore?!!!
synthroid has joined #ruby
Guest16187 has quit [Quit: Something went wrong because I left.]
Omnilord has joined #ruby
<dminuoso> clemens3: It does have it, it's just deprecated. Read the message.
<clemens3> ah, my bad
<clemens3> typo
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocoelho has joined #ruby
oleo has joined #ruby
<clemens3> dminuoso: if it is deprecated, it means future versions will break a lot of my software
<clemens3> if it means it will be removed some day
<dminuoso> clemens3: That's the purpose of deprecation warnings.
<clemens3> to break existing software?
<dminuoso> clemens3: No to give you years to fix your damn software for upcoming changes.
pd2000 has joined #ruby
<clemens3> my software was never broken, and is not damned..
<clemens3> but ruby seems to be damned and makes my look for some escape route
<clemens3> s/my/me/
schneider has joined #ruby
pd2000 has quit [Remote host closed the connection]
<dminuoso> clemens3: That's called software maintainance. Some things are historical baggage that need to be thrown away for consistency or better behavior.
alex`` has quit [Ping timeout: 260 seconds]
<clemens3> well, I have no problem with File.exists?
<dminuoso> So Ruby lets you know years in advance that things will change at some point. It's not too much to ask for, when Ruby tells you to replace method calls from exists? to exist?
guille-moe has quit [Ping timeout: 264 seconds]
troys has joined #ruby
<clemens3> you ask me to change all existing software.. some might be shiped and god knows where they are
<dminuoso> clemens3: If you are unable to maintain your software, that's your issue really.
<dminuoso> But this deprecation warning has been in Ruby for 5 years now.
<clemens3> dminuoso: in the documentation does not even say use exist? instead...
<dminuoso> clemens3: In 2.1 exists? is not named, and after that it's explicitly documented as deprecated.
<dminuoso> clemens3: 2.4 has had major API changes that break most native extensions too.
<dminuoso> But really. If you dont know what software you have shipped, how do you ever maintain your software? How do you ship security patches?
<clemens3> aeh, I was wary of upcoming 3.. seems I will stay a bit with 2.3 and then see where to move
<dminuoso> clemens3: Besides, it's a contract thing mostly. Either you have a contract for some kind of maintenance/support, then it's your business to keep track of your software/deployment.
<dminuoso> Or you dont have any such contracts, in which case its not your business anyway.
<dminuoso> So it's your problem really. =)
<clemens3> it is my problem
<clemens3> and I see with whom I do form a relation... I ditched Rails long time ago because terrible backwards compatibility.. Ruby has been no comparison so far..
Mosselman has joined #ruby
<clemens3> but I am certainly on the watch..
<elomatreb> This particular one is so minor you can probably fix it with a sed
<dminuoso> In a way the reluctance to break backwards compatibility is a downside of ruby.
<dminuoso> It limits many new features.
<clemens3> I am not looking for new features, I am happy the way Ruby is
ramfjord has joined #ruby
Omnilord has quit [Quit: Something went wrong because I left.]
suukim has joined #ruby
<dminuoso> clemens3: Ruby is one of the slowest languages on the block, with no type guarantees, piss poor parallelism...
<dminuoso> And a very inconsistent core library due to historical reasons.
darkhanb has joined #ruby
<dminuoso> iow: plenty of things one could improve - but without making some backwards breaking changes it's hard to address these
<clemens3> make a new language and call it something else
<dminuoso> we also have absolutely no module system - forced to effectively "eval" all code together (in hopefully the right order)
<dminuoso> there's plenty things that are wrong in ruby
<clemens3> or use one of the fast ones, suporting types or parallelism
Mosselman has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
<dminuoso> clemens3: Why not introduce features to Ruby to allow for such things?
<dminuoso> =)
<dminuoso> Both are lovely things.
schneider has joined #ruby
<clemens3> Yes, just don't break backwards compatibility.. e.g. a sed would fix my code easily, but File.exists? can stay as it is and would prevent zero progress in other areas
<dminuoso> And it takes about 5 seconds to fix your codebase. You gain a cleaner core API that is not cluttered by silly historic accidents.
<elomatreb> It's a question of consistency, if we have aliases that make methods form pseudo-sentences for one method, we should introduce it for all predicate methods
<clemens3> and it takes zero seconds to leave it as it is.. and the ri File.exists? does not even say what to use instead..
<elomatreb> Or for none of them
[Butch] has joined #ruby
<clemens3> arg, stay away with pseudo sentences..
<clemens3> this is historical.. add exist? if it makes you happy.. but history is not too bad a thing
karapetyan has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 256 seconds]
<clemens3> and at some point, just create a new language.. fine with me.. Ruby was new at some point, C was also new at some point, some people moved to Ruby, some stayed with c..
chocoelho has quit [Ping timeout: 256 seconds]
<clemens3> so don't bork everything to you imagined Utopia.. you don't know yet what will work and what not.. some just want to use what is already here
<dminuoso> clemens3: Just use `sed`. Your 5 seconds is not as important as having a clean API.
<clemens3> but of course, you can do what you want with Ruby, just as I can decide to use it or not
karapetyan has joined #ruby
<dminuoso> Feel free to not use it then.
<clemens3> I will
<dminuoso> clemens3: Just consider that the Ruby team also has to be concerned about how Ruby appears to people deciding on a language. If you stare at a core library and are confused by an inconsistent mess of function names, it might discourage people from using it.
<dminuoso> If the core API itself looks like a mess..
cagomez has quit [Remote host closed the connection]
<clemens3> yes, I wish you a lot of new users
herbmillerjr has quit [Quit: Konversation terminated!]
cagomez has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
<dminuoso> donofrio: You are missing the development headers for ruby. Did you install some ruby-dev (or equivalent) package?
<donofrio> opps wrong paste...
<donofrio> I install ruby-dev yesterday evening
ecuanaso has joined #ruby
cagomez has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 268 seconds]
jamesaxl has joined #ruby
harry_ has joined #ruby
harrycs has quit [Ping timeout: 248 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
sanscoeur has joined #ruby
cremes77 has quit [Quit: cremes77]
jyaworski has joined #ruby
karapetyan has quit [Remote host closed the connection]
cremes77 has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
cagomez has joined #ruby
jgpawletko has joined #ruby
dionysus69 has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
cagomez has quit [Ping timeout: 256 seconds]
chocoelho has joined #ruby
cagomez has joined #ruby
<phaul> I have an RSpec "extension" idea. It's basically the ability of instead of manually nesting contexts into each other and spell out every case in a flat manner, just let the system traverse the cross product of the given contexts.
<phaul> has this been done?
<phaul> is it a good or bad idea?
Erlingur has joined #ruby
cagomez has quit [Ping timeout: 276 seconds]
<phaul> I guess I should ask this on #rspec (nm)
Kero__ has joined #ruby
Kero__ has quit [Client Quit]
cremes77 has quit [Quit: cremes77]
cremes77 has joined #ruby
eckhardt_ has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
tolerablyjake has joined #ruby
dr3w_ has joined #ruby
za1b1tsu has quit [Quit: Leaving]
ldepandis has joined #ruby
SanguineAnomaly has joined #ruby
jshjsh has quit [Quit: Leaving]
cremes77 has quit [Quit: cremes77]
pd2000 has joined #ruby
cremes77 has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
ryzokuken has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
pilne has joined #ruby
Code4Dopamine has quit [Quit: Page closed]
Erlingur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has joined #ruby
silviu has joined #ruby
SeepingN has joined #ruby
rexan has joined #ruby
suukim has quit [Quit: Konversation terminated!]
sanscoeur has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
roshanavand has joined #ruby
sanscoeur has joined #ruby
cremes77 has quit [Quit: cremes77]
shuforov has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
workmad3_ has joined #ruby
cremes77 has joined #ruby
cdg has quit [Remote host closed the connection]
Asher1 has joined #ruby
tomphp has joined #ruby
Asher has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
alfiemax_ has joined #ruby
erlend has quit [Ping timeout: 248 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 256 seconds]
cagomez has quit [Remote host closed the connection]
alex`` has joined #ruby
jamesaxl has joined #ruby
erlend has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
Mosselman has joined #ruby
lytol has joined #ruby
sameerynho has joined #ruby
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 255 seconds]
alex`` has quit [Quit: WeeChat 2.1]
KeyJoo has quit [Ping timeout: 260 seconds]
jyaworski has joined #ruby
ramfjord has joined #ruby
Asher1 has quit [Quit: Leaving.]
pd2000 has quit [Remote host closed the connection]
pd2000 has joined #ruby
rshetty has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
ltt has joined #ruby
Asher has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
cremes77 has quit [Quit: cremes77]
sanscoeur has quit [Read error: Connection reset by peer]
alex`` has joined #ruby
synthroid has joined #ruby
sanscoeur has joined #ruby
imode has joined #ruby
cremes77 has joined #ruby
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
amatas has quit [Quit: amatas]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fhmax has joined #ruby
KeyJoo has joined #ruby
ldepandis has quit [Quit: Textual IRC Client: www.textualapp.com]
cremes77 has quit [Client Quit]
cremes77 has joined #ruby
weaksauce has joined #ruby
shuforov has quit [Ping timeout: 248 seconds]
fhmax has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
cagomez has joined #ruby
KeyJoo has quit [Ping timeout: 256 seconds]
dr3w_ has joined #ruby
cagomez has quit [Ping timeout: 256 seconds]
EvanR has joined #ruby
<EvanR> ok
james__ has joined #ruby
<EvanR> so I wrote a program in ruby, but using rbenv to get ruby 2.5.1 and bundler to get gems
<EvanR> how do i deploy it on a linux system so you can just use it from the command line ?
<EvanR> or shell out to it
<EvanR> is there a static linker or something
james__ has quit [Client Quit]
cremes77 has quit [Quit: cremes77]
<dminuoso> EvanR: The usual way is to package the program as a gem.
cremes77 has joined #ruby
<dminuoso> Alternatively you could use bundler
<dminuoso> Travelling Ruby lets you ship stand alone packages, but its a bit annoying to set up and has a rather limited subset of native extensions available.
<dminuoso> Also hey there =)
krawchyk has joined #ruby
<EvanR> package the program as a gem you say
<dminuoso> EvanR: Is the program just a one-file program?
<EvanR> no, its a main file, a library routines file, and has two data files in the directory which it needs
<EvanR> and sometimes it writes to a file in the dir
<dminuoso> Do you want to avoid the external depedency on Ruby?
<EvanR> and it uses a set of gems
jgpawletko has quit [Quit: jgpawletko]
<EvanR> im fine with depending on ruby 2.5.1, but its just not going to be installed on the target system
<EvanR> and the gems will be incompatible with the system gems
rexan has quit [Ping timeout: 255 seconds]
<dminuoso> EvanR: bundler is kind of like stack.
<dminuoso> EvanR: If no ruby is available at the remote machine, you're basically "stuck" to travelling-ruby or alternative solutions.
<EvanR> there is a ruby of course
<dminuoso> Ah.
<EvanR> ruby 1.9.3p484
Psybur has joined #ruby
<EvanR> it wont run the program
<EvanR> my first idea was to install rbenv, put all this in a side dir, and write a shell script which cds into it and pipes stdin to the ruby -I. foo.rb
<EvanR> but i thought it had to be too absurd to be right
<dminuoso> EvanR: well you can safely toss rbenv aside, it's unnecessarily complex, hooks your shell and does other weird things.
<EvanR> right, whats the latest ruby version manager of the week
<dminuoso> ruby-install for installing rubies, chruby for switching them. both are unlikely to be superseeded any time soon due to their simplicity.
<EvanR> chruby ok
<dminuoso> chruby is essentially just a 100 lines shell script that changes your PATH =)
<EvanR> suuuure...
<EvanR> i mean, from here it looks like a hall of mirrors. "rvm sucks use rbenv"
<EvanR> "rbenv sucks use chruby"
<EvanR> just waiting for the next metalevel
<dminuoso> Heh
<apeiros> chruby sucks, use rvm
<EvanR> how do any of these help my situation?
<apeiros> there. circle complete
krawchyk has quit [Ping timeout: 268 seconds]
* apeiros actually does use rvm in production, it's fine. but so is any of the other.
<dminuoso> EvanR: It doesn't, but I wouldn't be a good rubyist if I didn't try and convert people to chruby.
<dminuoso> Jokes aside
<dminuoso> EvanR: You can use version switching (which all of these three versions support) to automatically picky ruby 2.5
<dminuoso> EvanR: Furthermore, with bundler you can load the bundle from inside ruby with some `require 'bundler/setup'; Bundler.require(:default)`
<EvanR> lets say i want to execute a command... something, with stdin "lots of important info\n"
<EvanR> how do we make that a possibility now that the command was written in ruby 2.5.1 and uses gems
<EvanR> ok... use bundler in the program
<EvanR> but what about the ruby version
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<EvanR> #!/bin/ruby-2.5.1 ;_;
<dminuoso> EvanR: It's a kind of an achilles heel. Normally you'd specify spec.required_ruby_version if shipping a gem, or the `ruby` directive if using bundler
<EvanR> ok lets say i do that
<EvanR> now how would i run the program on the target system
alfiemax_ has quit [Remote host closed the connection]
<dminuoso> EvanR: .ruby-version might force automatic ruby version switching if the user has the necessary machinery though.
<EvanR> is "automatic ruby version switch" a specific technology
<EvanR> up to this point i thought this was just a vague concept that we want
<apeiros> EvanR: most version switchers will respect a .ruby-version file in your project
<EvanR> i have this file
<dminuoso> EvanR: chruby/rbenv/rvm all (?) support .ruby-version files. So if the user has the manage (with the appropriate configuration), it will pick the appropriate ruby as specified in the file.
<dminuoso> But if they have raw ruby, no luck.
<EvanR> please bear with me
<apeiros> well, you can still ensure the ruby version in your gem spec and in your executable (the latter via code, see RUBY_VERSION constant)
* apeiros 🐻 with EvanR
tolerablyjake has joined #ruby
cagomez has joined #ruby
<EvanR> lets say you have this program running... lets say its written in C++ and is not involved with shell shenanigans or ruby, and it wishes to execute this program and get the stdout/stderr. its not going to CD into a dir and cause a shell environment to update. how is the correct ruby going to be chosen
alfiemax has joined #ruby
<apeiros> I'd assume you'd make the executable configurable in that program
<apeiros> and then - while I don't know about chruby or rbenv - with rvm, you'd point it to a wrapper script
<EvanR> so it has to know where the ruby binary is, and use it
<dminuoso> EvanR: The problem is you have to know how your ruby is installed.
<apeiros> rvm automatically creates those, they load everything required to switch to the desired ruby version.
fl3sh has joined #ruby
<dminuoso> EvanR: You have to be aware of rvm, rbenv and chruby switching mechanics - and you have to inspect whether any of them has the desired version available.
<EvanR> ok this answers my question
<apeiros> the alternative variant is that you run that program in an env which is already properly switched
ltt has quit [Ping timeout: 276 seconds]
<dminuoso> EvanR: Like I said, it's an achilles heel - there is no good solution.
<EvanR> yeah i cant
<apeiros> and then rely on plan `ruby` to run the right version
<apeiros> *plain
<EvanR> because... ready for it? the first program is written in ruby, 2.1.2 :)
synthroi_ has joined #ruby
<dminuoso> EvanR: Any chance you can modify the program to be compatible with 1.9?
<EvanR> it cant be in both environments
<EvanR> dminuoso: no, its impossible
<EvanR> latest google gems are not backwards compatible
<apeiros> run a wrapper
agent_white has quit [Remote host closed the connection]
<dminuoso> EvanR: Oh my. You were spending this morning on _ruby_ documentation?
<EvanR> thats what im going to do
<EvanR> yes
<apeiros> change the env in the wrapper
<EvanR> basically
<dminuoso> EvanR: Then my twitter quote I linked to you earlier is even more hilarious! :-)
<dminuoso> EvanR: Are there any native extensions? And whats the earliest ruby you can be compatible to?
<EvanR> i should have wrote this second program in a compiled language and just installed a binary!
<fl3sh> hi, what is the best and easiest way to create standalone bindry? I tried ruby-packer and rb2exe, but both falied. I am traing to create binary from redis-trib.rb
<apeiros> meh, you make it sound like changing the ruby version was some really difficult task
<EvanR> good timing
<dminuoso> fl3sh: travelling-ruby is the least brittle way
alfiemax has quit [Ping timeout: 240 seconds]
synthroid has quit [Ping timeout: 240 seconds]
<dminuoso> EvanR: My two questions are aimed to figuring out whether travelling-ruby (which I mentioned at the beginning) is an option for you.
<EvanR> oh i pretty much missed that referenced
<EvanR> apeiros: like i said, the first thing i was going to do was have a shell script cd into the dir and pipe stdin through
<EvanR> but if i know where ruby is... this is even easier
shuforov has joined #ruby
<EvanR> dminuoso: i doubt there are any native extensions
sammi` has joined #ruby
<dminuoso> EvanR: Are you fine with 2.2?
<dminuoso> EvanR: I would simply go with .ruby-version, document that the user has to provide an appropriate ruby version and a ruby-version manager, ensure the correct ruby version is running through bundler/gemspec - and that's it.
zacts has quit [Quit: WeeChat 1.9.1]
<EvanR> im the only user
<EvanR> this just happens to be a production system not development
<EvanR> so was wondering if theres a saner way
zacts has joined #ruby
<dminuoso> EvanR: then just deploy ruby 2.5 in such a way, that it shadows the system installation.
<dminuoso> That's the "usual" way.
<EvanR> i dont really know the diff between anything from 2.1 to 2.5
tomaw_ is now known as tomaw
<EvanR> by deploy in such a way that it shadows, you mean something like chruby or rbenv
<EvanR> PATH tricks
<dminuoso> EvanR: Yes. chruby just changes the front of your PATH
<dminuoso> So that your shell finds the ruby version in the chruby managed path before the system bin directory.
<dminuoso> You can either do that by hand, or use `chruby` itself.
Mosselman has quit [Ping timeout: 256 seconds]
<EvanR> if you subscribe to chruby, how do you install the various versions of ruby
<dminuoso> EvanR: https://gist.github.com/dminuoso/13b1b344ec3e7e081ccf5cf7d4caadaa this is what I have on my development machine right now.
<dminuoso> EvanR: whatever you chose really. ruby-install is a great choice though
<EvanR> ok so thats separate from rbenv
<dminuoso> right. you could do the same thing with rbenv though
<dminuoso> but I dont do rbenv so ¯\_(ツ)_/¯
<dminuoso> EvanR: and note by ruby-install I mean https://github.com/postmodern/ruby-install
sameerynho has quit [Ping timeout: 268 seconds]
sammi`_ has quit [Quit: Lost terminal]
<dminuoso> This stack is cancer and surprise free, unlike rbenv or rvm, which stab you in the back with all its magic and broken code.
Mosselman has joined #ruby
emmapeellx has joined #ruby
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<emmapeellx> .-. .-.
<EvanR> spam
emmapeellx has quit [K-Lined]
d5sx43 has joined #ruby
d5sx43 has quit [Client Quit]
<karapetyan> wow
karapetyan has quit []
Mosselman has quit [Ping timeout: 256 seconds]
d5sx43 has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has joined #ruby
<EvanR> this was a lot easier than i thought
alfiemax has joined #ruby
<EvanR> #!/bin/bash\ncd /path/to/silly/business/\nexec ruby -I. my_program.rb
<EvanR> placed in /usr/local/bin and made +x
<dminuoso> (ಠ益ಠ)
jottr_ has joined #ruby
<EvanR> lol
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
daed has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
cremes77 has quit [Quit: cremes77]
* dminuoso .oO( back to Haskelling )
<EvanR> was that a mad face, what do you have to suggest about it
jrafanie has joined #ruby
<dminuoso> EvanR: Well the `-I.` is a bit weird I guess.
<dminuoso> If you have relative imports, use require_relative.
shuforov has quit [Ping timeout: 256 seconds]
<EvanR> really
ur5us has joined #ruby
cremes77 has joined #ruby
<r3my> hi, why does enum_for return 120, 121 etc when putting out in Ruby?
<apeiros> EvanR: !ops summons the opses
<miah> i have been summoned
<dminuoso> Salut miah.
<apeiros> miah: we're too late.
<dminuoso> r3my: Do you have a concrete example?
<miah> you have 3 wishes, but you cannot wish for more wishes.
* apeiros summoff miah
<EvanR> #sdl was just spammed with an easter ascii art
<dminuoso> miah: Then I wish for the restriction on more wishes to be lifted.
<dminuoso> #ghc got an easter bunny too :)
<apeiros> dminuoso: I see, you thought long and hard about that
stormpack_ has quit [Quit: Leaving]
<dminuoso> apeiros: about?
<apeiros> your wish
<ruby[bot]> r3my: we in #ruby do not like irccloud.com, it has no syntax highlighting, distracting formatting and loads slowly for most. Please use https://gist.github.com
ur5us has quit [Ping timeout: 260 seconds]
<dminuoso> r3my: Basically the idea is this:
<dminuoso> >> "xy".each_byte
<ruby[bot]> dminuoso: # => #<Enumerator: "xy":each_byte> (https://eval.in/981508)
<donofrio> tring to run this script from https://twitter.com/dylanmckaynz/status/976368845635035138
<r3my> it does have syntax hilighting ruby[bot] ...
oleo has left #ruby ["Leaving"]
<r3my> dminuoso: so the 120 is...
<dminuoso> r3my: I suppose it's a particularly bad example, because .each_byte already puts out an enumerator..
<donofrio> anyone got time to help? https://gist.github.com/lewisdonofrio/5d009e64927875cfd37d626fdf73d128 its not reading the files in ;(
<fl3sh> dminuoso: what should I put in my Gemfile if redis-trib.rb require 'rubygems' and bundle install say "Could not find gem 'rubygems'..."
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> !spam emmapeellx
jottr_ has quit [Ping timeout: 248 seconds]
pastorinni has quit [Remote host closed the connection]
jottr_ has joined #ruby
bmurt has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
cremes77 has quit [Quit: cremes77]
cdg has joined #ruby
cagomez has quit [Remote host closed the connection]
coderphive has quit [Quit: coderphive]
cremes77 has joined #ruby
cremes77 has quit [Client Quit]
cdg has quit [Ping timeout: 260 seconds]
amar has quit [Remote host closed the connection]
cremes77 has joined #ruby
d5sx43 has joined #ruby
erlend has quit [Ping timeout: 248 seconds]
erlend has joined #ruby
Erlingur has joined #ruby
Sauvin has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amar has joined #ruby
za1b1tsu has joined #ruby
ecuanaso has joined #ruby
<sparr> ruby 1.8 doesn't like this syntax
<sparr> what's supposed to be happening there?
d5sx43 has quit [Client Quit]
<dminuoso> sparr: Can you share the parser error you are getting?
<apeiros> sparr: it's a keyword argument which is given a string (in form of a heredoc)
uplime has quit [Killed (Sigyn (Please do not tempt users or channels on freenode. If in error, please contact kline@freenode.net.))]
<sparr> validate_rd_policy.rb:7: syntax error, unexpected ':', expecting ')'
<sparr> the : after "doc"
<apeiros> you'd write it as `Puppet::Parser::Functions.newfunction(:validate_rd_policy, :doc => <<-'ENDHEREDOC') do |args|` in 1.8
<dminuoso> sparr: You have to use explicit rockets syntax.
<sparr> or maybe the one before validate_rb_policy and the "^" on the next line is in the wrong place
<apeiros> anyway, don't do that. update your ruby. 1.8 is long dead.
<sparr> wish I could :(
<apeiros> make it possible.
ecuanaso has quit [Client Quit]
<sparr> many thousands of hours of work for people who aren't me and I am not in charge of between here and there
<apeiros> I'd refuse to do any change on such a system
<sparr> my goal is to abandon it rather than upgrading it
<apeiros> wasting time trying to make something work with 1.8 doesn't sound like abandoning, though
pastorinni has joined #ruby
<apeiros> anyway, that was my 2 cents
Erlingur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pd2000 has quit [Ping timeout: 240 seconds]
<sparr> thanks for the assistance, both of you
pd2000 has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
<EvanR> dminuoso: you would (probably not) be amazed how badly my wrapper script is failing to use the right ruby when it does exec
cliluw has joined #ruby
uplime has joined #ruby
<dminuoso> EvanR: In the Ruby world, it's your job as a system administrator to ensure the right ruby version is available.
pastorinni has quit [Ping timeout: 256 seconds]
<EvanR> its available
<dminuoso> That usually means PATH hackery. Either manually or through chruby et al
<EvanR> i tried, setting the login shell flag, rbenv shell 2.5.1, RBENV_VERSION=2.5.1, running rbenv hacks before doing exec...
cremes77 has quit [Quit: cremes77]
<EvanR> but then the script runs with 2.1.2, my system version
<dminuoso> Casual day - people coming in having problems with rbenv ¯\_(ツ)_/¯
<EvanR> er, the version that the original ruby program is using...
<EvanR> maybe there should be 3 ruby channels, one for each version i am using
<EvanR> or maybe we could rename the language at each release, and have all always available
<EvanR> /usr/bin/og-ruby /usr/bin/icecream-sandwich /usr/bin/ugly-eagle
<dminuoso> EvanR: The reason I suggest ruby-install/chruby is because the stack is simple to reason about. With rbenv there's also a huge pile of things that can go wrong, and you have to _try_ things in a random order to know which one.
<dminuoso> It's not just a religious point of view, it's a pragmatic one.
<EvanR> be that as it may, i am now frustrated that i dont understand whats going on with this setup
<EvanR> which cant be solved if i just use a working tool :)
alfiemax has joined #ruby
<EvanR> can chruby be used at the same time as rbenv ?
pd2000 has quit [Remote host closed the connection]
pd2000 has joined #ruby
MzrE has joined #ruby
<dminuoso> EvanR: rbenv does a weird machinery with ruby shims, it hooks your shell, and it loaded with lots of weird things.
pr0ton has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<EvanR> i thought rvm did that, people hated it, so rbenv was invented because of it
cdg_ has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
pd2000 has quit [Remote host closed the connection]
pd2000 has joined #ruby
<miah> rbenv uses a bunch of shims, its not too different
<dminuoso> EvanR: This is the entirety of chruby: https://github.com/postmodern/chruby/blob/master/share/chruby/chruby.sh
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
<dminuoso> EvanR: The first function can be ignored. It's super easy to reason about what it does - and how to fix things when they dont work.
ta_ has joined #ruby
<EvanR> my path seems right.....
<miah> chruby is great, really simple. its what i use and prefer at this point
* EvanR continues down a rabbit hole
<EvanR> I'm not ready to follow you guys out of the loony bin
<EvanR> its scary out there
pd2000 has quit [Max SendQ exceeded]
<miah> its not that scary
pd2000 has joined #ruby
qba73 has joined #ruby
<miah> my only complaint with that article is that he uses ruby-build rather than ruby-install =)
<miah> need to just take that entire postmodern dive
quobo has joined #ruby
<dminuoso> EvanR: With the chruby/ruby-install stack, your problems boil down to just one thing: understanding https://cdn-images-1.medium.com/max/1600/1*zv2wzn0nZHyPhcyq4glHbA.png
<EvanR> like... on my shell, the first thing in my path are the rbenv shims. but in my wrapper shells script being run from ruby (2.1.2) open3, i have rubygems stuff and other rbenv stuff in front of it, in PATH
<EvanR> i dont understand
<EvanR> where thats coming from, and why it stops rbenv from functioning
<fl3sh> Traveling ruby supports only ruby 2.1.x?
<sparr> if !by['group'].nil? && by['group'] != :undef
<dminuoso> fl3sh: 2.2 is supported at least
ltt has joined #ruby
<sparr> I'm having trouble with how that line could produce "can't convert String into Integer"
<EvanR> dminuoso: r.e. that diagram... are you saying i have to know MORE than that to understand rbenv o_O
<dminuoso> EvanR: Yes.
<sparr> I expect "by" to be a hash, but even if it's not, what could it be that would produce that error??
jeffreylevesque has quit [Ping timeout: 240 seconds]
<dminuoso> EvanR: Because chruby has no magic. It's a simple "change PATH so that ruby points to version xyz" with a simple shell function. So it just boils down to calling that shell function.
jeffreylevesque has joined #ruby
pd2000 has quit [Remote host closed the connection]
<dminuoso> Which means you just need to know where to place that shell command. Or, if you want to create an executable file you can do it from there and completely ignore that diagram.
<dminuoso> No problems whatsoever.
<phaul> >> [1]['x']
pd2000 has joined #ruby
<ruby[bot]> phaul: # => no implicit conversion of String into Integer (TypeError) ...check link for more (https://eval.in/981517)
<phaul> sparr: ^
<EvanR> dminuoso: this whole exercise is so i dont have to mess with the ruby version and gem versions of any of the existing ruby ;_;
bmurt has joined #ruby
agent_white has joined #ruby
<dminuoso> EvanR: You dont with chruby.
jamesaxl has quit [Read error: Connection reset by peer]
<sparr> phaul: thanks, I'll play with that example and see if I can suss out the behavior
<dminuoso> EvanR: ruby-install by default installs into a local rubies directory. chruby will update the shells PATH to that. If you dont do this in any of the files shown in the diagram, none of your users will be any wiser.
<sparr> aha!
<sparr> my `by` is an array, and it's trying to turn `group` into an index
jamesaxl has joined #ruby
bmurt has quit [Client Quit]
alfiemax has joined #ruby
synthroi_ has quit []
brucebag has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
<miah> the only additional thing you might want to do with chruby is enable the 'auto' version changes if you use .ruby-version in your projects; https://github.com/postmodern/chruby#auto-switching
<EvanR> the only way to fight magic is with more magic
<dminuoso> EvanR: I know why I avoid rbenv/rvm.
<dminuoso> I hope you are beginning to get an idea too.
brucebag has quit [Remote host closed the connection]
<EvanR> yeah
alfiemax has quit [Ping timeout: 260 seconds]
<EvanR> very inchoate ideas
brucebag has joined #ruby
brucebag has quit [Changing host]
brucebag has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
<dminuoso> rbenv/rvms Just Work™ until they Just Dont Work™
<EvanR> "I don't know whether this is a bug, or how to solve it. It seems unsolvable from rbenv. If from a ruby process you want to shell out to rbenv, you would need to edit ENV['PATH'] first to restore it to the pristine state."
ta_ has joined #ruby
MzrE has quit [Quit: Leaving]
harry__ has joined #ruby
<EvanR> its a fatal (imo) issue with rbenv state of the art 2013
<EvanR> which... is for some reason what i am using
<dminuoso> Are you forced to use rbenv?
<EvanR> i wonder what would happen if i upgrade
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
<EvanR> i have a rails app running an ecommerce thing, and right now im just trying to fix a memory leak by reimplemented a particular feature
<EvanR> redoing the production deployment technology is not high on my priorities ;_;
cagomez has joined #ruby
<EvanR> and yeah its using rbenv, which is going to stop this thread from being closed
ramfjord has joined #ruby
* EvanR throws computer through wall
<miah> =)
harry_ has quit [Ping timeout: 260 seconds]
imode has quit [Ping timeout: 268 seconds]
ledestin has joined #ruby
alfiemax has joined #ruby
brucebag has quit [Quit: brucebag nipped out]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
brucebag has joined #ruby
brucebag has quit [Changing host]
brucebag has joined #ruby
brucebag has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
qba73 has quit []
brucebag has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
alfiemax has quit [Ping timeout: 268 seconds]
brucebag has quit [Remote host closed the connection]
brucebag has joined #ruby
brucebag has quit [Changing host]
brucebag has joined #ruby
<EvanR> i see how they could have fixed it
cdg_ has quit [Remote host closed the connection]
<EvanR> instead of prepending stuff to PATH and leaving it there forever, prepend every time you run ruby, forming a telescoping sandwich of alternating ruby versions
rsh has quit [Ping timeout: 276 seconds]
joast has quit [Quit: Leaving.]
<EvanR> i will slay the **** out of this beast
<dminuoso> EvanR: And that leaves you with.. chruby. ;-)
imode has joined #ruby
<EvanR> the "solution" suggested where they unsplice the PATH using a hint from the detected rbenv root, is really bad
<EvanR> for instance, PATH shenanigans are also happening with haskell stack
james__ has joined #ruby
nowhereman_ has joined #ruby
<dminuoso> EvanR: There's honestly not much to do to replace rbenv with chruby - even for an already deployed system.
nowhere_man has quit [Ping timeout: 268 seconds]
<dminuoso> Probably boils down to a) checking whether it uses something like capistrano (and using the chruby plugin for that), and making the appropriate change to whatever init script/variant is used to keep the server up.
<EvanR> it doesnt have this issue 121 ?
lypsis has joined #ruby
DoubleMalt has joined #ruby
DoubleMalt has quit [Client Quit]
<EvanR> namely, during ruby runtime, shims are shadowed and dont work, you cant change ruby *again*
<EvanR> until the program ends
tcopeland has quit [Quit: tcopeland]
imode has quit [Ping timeout: 264 seconds]
AndBobsYourUncle has joined #ruby
<dminuoso> EvanR: there are no shims with chruby
<sparr> raise somehash.inspect
jeffreylevesque has quit [Ping timeout: 260 seconds]
<dminuoso> EvanR: All chruby is, is just a shell function that changes PATH.
<dminuoso> Nothing more, nothing less.
<sparr> this should get me the serialized contents of the hash in an exception message?
pr0ton has quit [Quit: pr0ton]
<apeiros> sparr: yes
<apeiros> well, "serialized"
<weaksauce> chruby is great
<apeiros> it's not really a serialization. just a representation meant for dev's to be readable.
<EvanR> dminuoso: so what would happen is... youd have two layers of ruby stuff on path?
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
pr0ton has joined #ruby
<dminuoso> EvanR: The first gets picked up.
FastJack has joined #ruby
<dminuoso> EvanR: Whenever you enter `ruby` shell inspects PATH from left to right. The first directory that contains the appropriate execu§table is picked.
<dminuoso> It's plain old shell semantics, nothing more.
<sparr> apeiros: thanks
<EvanR> change the whole subject for a second... pretend you dont have anything that changes ruby. and you only have 1 ruby version to worry about. whats the proper way to deal with gems. rubygems, bundler?
<dminuoso> EvanR: bundler
<dminuoso> (or rubygems)
<EvanR> is that all super magical?
<dminuoso> EvanR: bundler is basically like cabal new-build :P
<dminuoso> or more like stack I guess.
<EvanR> is that sandbox
<dminuoso> Yes.
<dminuoso> Well it can.
<EvanR> does bundler know about ruby versions
venmx has quit [Ping timeout: 276 seconds]
<dminuoso> Yes but it cant switch.
<dminuoso> It can however verify them.
<EvanR> cool
<EvanR> how does if at all chruby interact with bundler
<dminuoso> not at all.
<dminuoso> well almost.
<EvanR> ok
<dminuoso> the `bundler` binary itself has to come from somewhere
<dminuoso> usually its from some gemset, which chruby will manage along with the ruby version
<EvanR> gem set .....
<dminuoso> well gem root if you want
<dminuoso> ruby gems are tied to ruby versions.
Esa_ has quit []
<EvanR> when you require bundler, that goes to the one for the version of ruby youre running?
<EvanR> also are we talking about the hijacked require in rails or
silviu has quit [Remote host closed the connection]
james__ has quit [Quit: This computer has gone to sleep]
Psybur has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
imode has joined #ruby
noobineer has joined #ruby
<dminuoso> EvanR: Do you want a general or an accurate answer?
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
biberu has quit []
alex`` has quit [Ping timeout: 276 seconds]
<EvanR> question 1 accurate. question 2 general
lytol has quit [Remote host closed the connection]
<dminuoso> EvanR: bundler has a so-called deployment mode, which will create a local vendor/bundle directory.
<dminuoso> Not sure how verion switching interacts with _that_
<dminuoso> It probably requires pruning and reinstalling, but I could be wrong here.
<dminuoso> But otherwise yes.
<dminuoso> Question 2: what hijacked require are you talking about?
<EvanR> the require "command" in ruby is shadowed in rails
<EvanR> its not a keyword...
<dminuoso> Is it?
<apeiros> no, it's not
<apeiros> (neither shadowed nor keyword)
<apeiros> rails hooks up const_missing
<dminuoso> EvanR: I think you are thinking of the weird autoloading in Rails.
<EvanR> i am thinking of weird autoloading in rails
<apeiros> oh…
jrafanie has quit [Ping timeout: 256 seconds]
<apeiros> while you do, rails still rigs require. I stand corrected
<dminuoso> EvanR: That's not a hook of `require`.
<dminuoso> Heh
<apeiros> uses ActiveSupport::Dependencies::Loadable#require
<dminuoso> Curious, why dont I see this in http://api.rubyonrails.org/
<apeiros> though that.s a rails4 project. I should check with rails5
<dminuoso> Oh wait. Not part of official API..
<EvanR> require is monkeypatched
<EvanR> lol
<dminuoso> Though...
<dminuoso> Not in 5 anymore it seems.
<EvanR> oh really
<apeiros> yepp, still is
<dminuoso> Huh
<apeiros> 5.1.4 here and `$ require` still shows ActiveSupport::Dependencies::Loadable#require
noobineer has quit [Ping timeout: 260 seconds]
<EvanR> i should start a framework which monkey patches it again
<EvanR> for the sake of it
<apeiros> (and yes, I *really* dislike how rails handles requires/const_missing)
<EvanR> and hide all knowledge of it
<dminuoso> EvanR: I think it's mostly for reloading work correctly under reloading
<apeiros> but from my experience, the monkey patching of require was never the reason for problems. the patching of const_missing on the other hand caused a couple.
silviu has joined #ruby
<EvanR> its not caused me any problems until i realized it was there
<dminuoso> Yeah. Afaict the require monkey patch is completely transparent, and just serves for rails tracking which files you require.
<EvanR> ignorance is bliss
<apeiros> from the code, it seems like that, yes. but I only glanced over it just now.
<apeiros> EvanR: if it had caused problems for me, I'd have known.
<dminuoso> apeiros: That's a tautology though.
<dminuoso> It requires you to know about it, to know the causality.
<apeiros> dminuoso: no
<apeiros> there's plenty of people who'll "fix" problems without ever figuring the cause
<EvanR> knowing about it causes the problems
pr0ton has quit [Quit: pr0ton]
<EvanR> schrodinger problems
<dminuoso> Wait. Did we just step into QM?
<dminuoso> Heh.
jyaworski has joined #ruby
rabajaj has joined #ruby
<apeiros> EvanR: everybody knows that you don't open the box with schroedenbugs
<dminuoso> Counterfactual definiteness. =)
james__ has joined #ruby
silviu has quit [Ping timeout: 268 seconds]
harry__ has quit [Ping timeout: 256 seconds]
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
schneider has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
p_d has joined #ruby
shinnya has joined #ruby
netherwolfe has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
jyaworski has quit [Ping timeout: 268 seconds]
pd2000 has quit [Ping timeout: 248 seconds]
cliluw has quit [Ping timeout: 248 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Ping timeout: 248 seconds]
roshanavand has quit [Ping timeout: 256 seconds]
cliluw has joined #ruby
k0mpa has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 260 seconds]
<fl3sh> dminuoso: thank you for your help
ramfjord has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
pr0ton has joined #ruby
pr0ton has quit [Client Quit]
ramfjord has joined #ruby
Psybur has joined #ruby
silviu has joined #ruby
arooni has joined #ruby
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
kapil___ has quit [Quit: Connection closed for inactivity]
paraxial has joined #ruby
<arooni> question: i have a rails 2.1.0/ruby 1.8.7 app i'd like to simply migrate to a different box (ubuntu 14.04 => ubuntu 16.04) ... was thinking of just using rvm to duplicate the environment on the new box. i know i should bump the ruby version at some point but was trying not to touch the code too much
<lupine> ah, that rings bells
<lupine> I would suggest taking a disk image
<lupine> 2.1.0 is packed with security holes anyway, including RCE
tolerablyjake has joined #ruby
<lupine> there is very little point to upgrading the OS without also upgrading the code
<arooni> was trying to combine my projects to one vps
<arooni> and was running out of time that ubuntu 14.04 would be supported ;P
jottr_ has quit [Ping timeout: 248 seconds]
<arooni> is moving from 2.1.0 => 2.5.0 a large leap in terms of time/effort
reber has quit [Remote host closed the connection]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<lupine> separate rails versions from ruby versions
<lupine> the jump from ruby1.8 to ruby1.9 is huge
<lupine> you're looking at 10x increases in performance, that kind of thing
<arooni> wow
<lupine> funny old world
<lupine> there is no rails2.5
<lupine> no, going from rails2.1 to rails2.3 is a big jump with many changes needed
<lupine> 2.3->3.x is big and hard
<lupine> 3.x->4.x is hard
<arooni> must be my insomnia talking
<lupine> 4.x->5.x is easy
<arooni> gotcha; would it be possible to run a later version of ruby with an earlier version of rails
<arooni> or is that not koshre
<lupine> to an extent. you can use ruby1.9 up to ... 3.x, I think
<lupine> but the really big jumps are {1.8,2.1} -> {2.1,3.x}
<lupine> do it , you won't regret jit
<arooni> well i'm not sure how sustainable this sideproject app is
chouhoul_ has joined #ruby
<arooni> whats the bare minimum i can/should do
n0m4d1c has joined #ruby
tcopeland has joined #ruby
ltt has quit [Ping timeout: 276 seconds]
chouhoul_ has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
<EvanR> program="${0##*/}" rbenv code
<EvanR> i feel stupid for not having any idea what this does
<EvanR> "#&%^!!*^"
p_d has quit [Read error: Connection reset by peer]
<EvanR> is the script cursing me out
chouhoulis has quit [Ping timeout: 256 seconds]
<dminuoso> EvanR: Welcome to bash.
<dminuoso> EvanR: That's parameter pattern matching and substitution.
alfiemax has joined #ruby
<imode> deconstructing that, it's grabbing the value of a variable.
chouhoul_ has quit [Ping timeout: 256 seconds]
<imode> ## means substring removal.
erlend has quit [Ping timeout: 248 seconds]
ryzokuken has quit [Quit: Connection closed for inactivity]
shpoont has joined #ruby
<dminuoso> EvanR: Basically it takes $0, matches it against */, removing the match, matching greedy.
erlend has joined #ruby
<dminuoso> ## is greedy, # is sparing.
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> EvanR: Now you know how I feel when I look at lenses.
alfiemax has quit [Ping timeout: 248 seconds]
za1b1tsu has quit [Quit: Leaving]
rabajaj has quit [Remote host closed the connection]
marr has quit [Ping timeout: 276 seconds]
fhmax has joined #ruby
n0m4d1c has quit []
giraffe has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
<EvanR> dminuoso: I DID IT
<EvanR> haha
<EvanR> the wrapper unwraps everything ever done by rbenv and bundler
alfiemax has joined #ruby
<EvanR> correct ruby is now chosen
james__ has quit [Quit: This computer has gone to sleep]
raynold has joined #ruby
* dminuoso waits until EvanR redacts his statement
james__ has joined #ruby
<EvanR> good call
cdg has quit [Remote host closed the connection]
<EvanR> now my program runs without error, and fails to accomplish its task
<EvanR> wtf
cdg has joined #ruby
tomphp has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 276 seconds]
coderphive has joined #ruby
james__ has quit [Quit: This computer has gone to sleep]
fhmax has quit [Ping timeout: 276 seconds]
sanscoeur has quit [Ping timeout: 256 seconds]
Exagone313 has quit [Quit: see ya!]
Exagone313 has joined #ruby
alfiemax has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
Guest59525 has quit [Changing host]
Guest59525 has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
Guest59525 is now known as Olipro
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
lypsis has quit [Quit: lypsis]
tomphp has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
silviu has quit [Ping timeout: 240 seconds]
giraffe has joined #ruby
tpendragon has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
imode1 has joined #ruby
duderonomy has joined #ruby
coderphive has quit [Remote host closed the connection]
imode has quit [Ping timeout: 248 seconds]
Fysicus has quit [Excess Flood]
Fysicus has joined #ruby
duderonomy has quit [Client Quit]
imode1 has quit [Ping timeout: 256 seconds]
jyaworski has joined #ruby
mrush has quit [Ping timeout: 240 seconds]