jhass changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
pawnbox has quit [Ping timeout: 246 seconds]
solocshaw has quit [Quit: solocshaw]
sondr3 has joined #ruby
dlitvak has joined #ruby
j0n3 has quit [Remote host closed the connection]
william3 has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
s00pcan_ has joined #ruby
shanemcd_ has quit [Remote host closed the connection]
shanemcd_ has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
ropeney has joined #ruby
tristanp has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
eregi has joined #ruby
tulak has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
darkf has joined #ruby
saneax is now known as saneax_AFK
eregi has quit [Ping timeout: 250 seconds]
binaryplease has quit [Ping timeout: 276 seconds]
minimalism has joined #ruby
eregi has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
__chris has joined #ruby
last_staff has quit [Quit: last_staff]
bkxd has joined #ruby
eregi has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
Rodya__ has joined #ruby
saneax_AFK is now known as saneax
__chris has quit [Quit: This computer has gone to sleep]
bkxd has quit [Ping timeout: 246 seconds]
z3uS has quit [Ping timeout: 268 seconds]
marr has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 268 seconds]
baweaver has quit [Remote host closed the connection]
s00pcan_ has quit [Ping timeout: 260 seconds]
ElFerna_ has joined #ruby
intrigueD has joined #ruby
Gasher has quit [Quit: Leaving]
mattwildig has joined #ruby
karapetyan has quit [Remote host closed the connection]
ElFerna_ has quit [Ping timeout: 260 seconds]
bihi has quit [Quit: Bye!]
aryaching has quit []
bihi has joined #ruby
G has joined #ruby
mephistophocles has quit [Ping timeout: 260 seconds]
skade has joined #ruby
eregi has joined #ruby
dubalubdub has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
j3r0 has quit [Ping timeout: 246 seconds]
Robert__ has quit [Ping timeout: 260 seconds]
fedexo has joined #ruby
LoneHerm_ has joined #ruby
elifoster has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
eregi has quit [Ping timeout: 248 seconds]
skade has quit [Ping timeout: 248 seconds]
dcunit3d has quit [Ping timeout: 250 seconds]
houhoulis has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
duckpupp1 has joined #ruby
mephistophocles has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
aryaching has joined #ruby
Vingador has quit [Ping timeout: 260 seconds]
eregi has joined #ruby
meinside has joined #ruby
pawnbox has joined #ruby
shanemcd_ has quit [Remote host closed the connection]
tristanp has quit [Remote host closed the connection]
fourq has joined #ruby
benlieb has quit [Quit: benlieb]
duckpupp1 has quit [Ping timeout: 276 seconds]
shanemcd_ has joined #ruby
platzhirsch has joined #ruby
Snowy has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
peteyg has joined #ruby
tristanp has joined #ruby
queequeg1 has joined #ruby
shanemcd_ has quit [Ping timeout: 260 seconds]
Snowy has quit [Ping timeout: 250 seconds]
sepp2k has quit [Read error: Connection reset by peer]
bklane has joined #ruby
shanemcd_ has joined #ruby
tristanp has quit [Remote host closed the connection]
Eiam has joined #ruby
peteyg has quit [Ping timeout: 260 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
<shevy> hah damn
<shevy> that's longer than me
<shevy> I was mIRC-ing on windows, on galaxynet back then
devbug has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
ElFerna_ has joined #ruby
sami has quit [Ping timeout: 244 seconds]
htmldrum has joined #ruby
graphettion has joined #ruby
shanemcd_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
fullofcaffeine has joined #ruby
z3uS has joined #ruby
shanemcd_ has joined #ruby
ElFerna_ has quit [Read error: Connection reset by peer]
ElFerna_ has joined #ruby
Kensei has joined #ruby
Kensei has joined #ruby
peteyg has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
uglybandersnatch has quit [Ping timeout: 246 seconds]
bloodwire has joined #ruby
dkam has joined #ruby
shanemcd_ has quit [Remote host closed the connection]
nanoz has joined #ruby
uglybandersnatch has joined #ruby
bklane has quit [Read error: Connection reset by peer]
bklane has joined #ruby
shanemcd_ has joined #ruby
pdoherty has joined #ruby
Xiti has quit [Ping timeout: 276 seconds]
diegoviola has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
aryaching has quit [Remote host closed the connection]
Spami has quit [Remote host closed the connection]
safe has joined #ruby
aryaching has joined #ruby
bronson has joined #ruby
shanemcd_ has quit [Ping timeout: 268 seconds]
peteyg has quit [Ping timeout: 248 seconds]
blackmes1 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
bklane_ has joined #ruby
uglybandersnatch has quit [Ping timeout: 246 seconds]
bklane has quit [Read error: Connection reset by peer]
sami has joined #ruby
uglybandersnatch has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
skade has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
wilbert has joined #ruby
skade has quit [Ping timeout: 246 seconds]
duckpupp1 has joined #ruby
wilbert has quit [Client Quit]
__chris has joined #ruby
marcdel has joined #ruby
baweaver has joined #ruby
__chris has quit [Client Quit]
bloodwire has left #ruby ["Leaving"]
duckpupp1 has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
marcdel has quit [Ping timeout: 246 seconds]
ElFerna_ has quit [Ping timeout: 246 seconds]
blackmes1 has joined #ruby
ElFerna_ has joined #ruby
shanemcd_ has joined #ruby
narendasan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trinaldi has quit [Quit: WeeChat 1.5-dev]
pawnbox has joined #ruby
trosborn has quit [Quit: trosborn]
benlieb has joined #ruby
bklane_ has quit [Ping timeout: 260 seconds]
arlek has quit [Ping timeout: 268 seconds]
bklane has joined #ruby
Xiti has joined #ruby
ElFerna_ has quit [Ping timeout: 246 seconds]
davedev2_ has quit []
trosborn has joined #ruby
rodolfowtf has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
benlieb has quit [Ping timeout: 250 seconds]
unreal_ has joined #ruby
freerobby has joined #ruby
unreal has quit [Ping timeout: 276 seconds]
intrigueD has quit [Remote host closed the connection]
anirban has quit [Ping timeout: 276 seconds]
mattwildig has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
krobzaur_ has joined #ruby
anirban has joined #ruby
chouhoulis has quit [Remote host closed the connection]
podman has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
dlitvak has quit [Remote host closed the connection]
houhoulis has joined #ruby
freerobby has quit [Quit: Leaving.]
anirban has quit [Ping timeout: 276 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
blackmes1 has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 276 seconds]
johnmilton has quit [Quit: Namaste]
ziyadb has quit [Quit: Connection closed for inactivity]
pawnbox has joined #ruby
chipotle has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
saneax is now known as saneax_AFK
uglybandersnatch has quit [Ping timeout: 246 seconds]
fullofcaffeine has joined #ruby
Brando753 has quit [Ping timeout: 240 seconds]
bklane_ has joined #ruby
bklane has quit [Read error: Connection reset by peer]
nlsun has quit [Ping timeout: 250 seconds]
dkam_ has joined #ruby
gaf_ has quit [Ping timeout: 250 seconds]
brixen has quit [Ping timeout: 268 seconds]
Amnez777 has quit [Ping timeout: 268 seconds]
Elysia has quit [Ping timeout: 268 seconds]
Mia has joined #ruby
hackeron has quit [Ping timeout: 250 seconds]
brixen has joined #ruby
Scient has quit [Ping timeout: 268 seconds]
dkam has quit [Ping timeout: 250 seconds]
majoh has quit [Ping timeout: 240 seconds]
ytti has quit [Ping timeout: 240 seconds]
ytti has joined #ruby
kies has quit [Ping timeout: 250 seconds]
Amnez777 has joined #ruby
Axy has quit [Ping timeout: 268 seconds]
nogic has joined #ruby
nanoz has quit [Ping timeout: 246 seconds]
majoh has joined #ruby
hackeron has joined #ruby
dlitvak has joined #ruby
nogic has quit [Max SendQ exceeded]
Scient has joined #ruby
knight_ has quit [Ping timeout: 268 seconds]
bakedb has quit [Ping timeout: 268 seconds]
bakedb_ has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
knight_ has joined #ruby
nlsun has joined #ruby
bihi has quit [Ping timeout: 268 seconds]
b|ackwolf has quit [Ping timeout: 268 seconds]
gaf_ has joined #ruby
b|ackwolf has joined #ruby
kies has joined #ruby
hollywood has quit [Ping timeout: 268 seconds]
FooMunki has quit [Write error: Broken pipe]
marcdel has joined #ruby
Brando753 has joined #ruby
hollywood has joined #ruby
shanemcd_ has quit [Remote host closed the connection]
dkam_ has quit [Quit: Be back later ...]
dlitvak has quit [Ping timeout: 246 seconds]
diegoviola has quit [Ping timeout: 255 seconds]
diego2 has joined #ruby
diego2 has quit [Client Quit]
duckpupp1 has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
marcdel has quit [Ping timeout: 246 seconds]
arlek has joined #ruby
fullofcaffeine has joined #ruby
e4xit_ has joined #ruby
e4xit has quit [Ping timeout: 276 seconds]
e4xit_ is now known as e4xit
uglybandersnatch has joined #ruby
dkam_ has joined #ruby
duckpupp1 has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
Derailed has left #ruby ["Leaving"]
A124 has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
bihi has joined #ruby
fullofcaffeine has joined #ruby
A124 has joined #ruby
Antiarc_ has quit [Remote host closed the connection]
Snowy has quit [Ping timeout: 260 seconds]
Kensei has quit [Quit: Leaving]
shanemcd_ has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
bklane has joined #ruby
bklane_ has quit [Ping timeout: 250 seconds]
shanemcd_ has quit [Ping timeout: 246 seconds]
bklane_ has joined #ruby
bklane has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 276 seconds]
blackmes1 has joined #ruby
Moosashi has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
skweek has quit [Quit: Leaving]
skweek has joined #ruby
fullofcaffeine has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
fullofca_ has joined #ruby
bklane_ has quit []
zast has quit [Quit: Leaving.]
chouhoulis has joined #ruby
pawnbox has joined #ruby
Eiam has joined #ruby
fullofcaffeine has quit [Ping timeout: 246 seconds]
p0p0pr37 has quit [Ping timeout: 268 seconds]
fullofca_ has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
mattwildig has quit [Remote host closed the connection]
kp666 has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
rodolfowtf_ has joined #ruby
rodolfowtf has quit [Ping timeout: 260 seconds]
fullofca_ has joined #ruby
lukebyrne has joined #ruby
solocshaw has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
counterapparatus has joined #ruby
krzkrzkrz has joined #ruby
peteyg has joined #ruby
DmitryBochkarev has joined #ruby
bronson has joined #ruby
marcdel has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
blackmes1 has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
Moosashi has quit [Quit: Moosashi]
bronson has quit [Ping timeout: 260 seconds]
marcdel has quit [Ping timeout: 246 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
eregi has quit [Ping timeout: 276 seconds]
Abrin_AWAY is now known as Abrin
blackmes1 has joined #ruby
Moosashi has joined #ruby
duckpupp1 has joined #ruby
adgtl has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
DmitryBochkarev has joined #ruby
mc_dachoppa has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
terminal_ has joined #ruby
s00pcan has quit [Remote host closed the connection]
adgtl has quit [Remote host closed the connection]
trosborn has quit [Quit: trosborn]
Mon_Ouie has joined #ruby
braincrash has quit [Quit: bye bye]
Guest34101 has quit [Ping timeout: 276 seconds]
fullofca_ has quit [Ping timeout: 260 seconds]
minimalism has quit [Quit: minimalism]
fullofcaffeine has joined #ruby
moei has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
moei has joined #ruby
Don_John_ has quit [Quit: Later]
krzkrzkrz has quit [Ping timeout: 248 seconds]
devbug has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
s00pcan has joined #ruby
gix has quit [Ping timeout: 260 seconds]
cpup has quit [Ping timeout: 260 seconds]
gix has joined #ruby
cpup has joined #ruby
peteyg has quit [Ping timeout: 268 seconds]
peteyg has joined #ruby
eregi has joined #ruby
sondr3 has quit [Quit: Quit]
bkxd has joined #ruby
chouhoulis has joined #ruby
Rodya__ has quit []
krzkrzkrz has joined #ruby
rodolfowtf_ has quit [Ping timeout: 246 seconds]
rodolfowtf has joined #ruby
peteyg has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 246 seconds]
eregi has quit [Ping timeout: 248 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
chouhoulis has quit [Ping timeout: 276 seconds]
mc_dachoppa has left #ruby ["Leaving"]
solocshaw has quit [Ping timeout: 268 seconds]
william3 has joined #ruby
r0bby_ has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
trosborn has joined #ruby
william3 has joined #ruby
dlitvak has joined #ruby
rsc___ has joined #ruby
r0bby_ is now known as robbyoconnor
william3 has quit [Remote host closed the connection]
eggoez has quit [Ping timeout: 264 seconds]
ohaibbq has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
marcdel has joined #ruby
ghormoon has quit [Ping timeout: 264 seconds]
majoh has quit [Ping timeout: 264 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
modin has quit [Ping timeout: 264 seconds]
cookiez has quit [Remote host closed the connection]
modin has joined #ruby
eggoez has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
moei has joined #ruby
yaewa has joined #ruby
joneshf-laptop has joined #ruby
kirillzh has joined #ruby
Elysia has joined #ruby
allcentury has joined #ruby
nullwarp has joined #ruby
nogic has joined #ruby
majoh_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 260 seconds]
krobzaur_ has quit [Ping timeout: 250 seconds]
blackmes1 has quit [Ping timeout: 260 seconds]
moei has quit [Ping timeout: 246 seconds]
johnny56_ has joined #ruby
sneakerhax has quit [Ping timeout: 260 seconds]
saneax_AFK is now known as saneax
skade has joined #ruby
cookiez has joined #ruby
marcdel has joined #ruby
duckpupp1 has joined #ruby
skade has quit [Ping timeout: 260 seconds]
pebbles has joined #ruby
Snowy has joined #ruby
bungoman has joined #ruby
duckpupp1 has quit [Ping timeout: 248 seconds]
peteyg has joined #ruby
pawnbox has quit [Remote host closed the connection]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
rhg135 has quit [Quit: ZNC - http://znc.in - making IRC 20% cooler]
skweek has quit [Remote host closed the connection]
s00pcan has quit [Remote host closed the connection]
adgtl has joined #ruby
bungoman has quit []
rhg135 has joined #ruby
Snowy has quit [Ping timeout: 276 seconds]
pebbles has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 248 seconds]
kies^ has quit [Remote host closed the connection]
duncannz has joined #ruby
kies^ has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
rodolfowtf has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
adgtl has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 260 seconds]
devbug_ has quit [Read error: Connection reset by peer]
trosborn has quit [Quit: trosborn]
<cj> The folks who have been here longer than me are listed here.
<cj> I'll be "Da_Man" in that line-up :-)
Antiarc has joined #ruby
<cj> a bunch of them are still hanging out on #linpeople
eregi has joined #ruby
chouhoulis has joined #ruby
kam270 has joined #ruby
minimalism has joined #ruby
mattwildig has joined #ruby
adgtl has joined #ruby
hplar has quit [Ping timeout: 248 seconds]
ICantCook has joined #ruby
skade has joined #ruby
william3 has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 268 seconds]
adgtl has quit [Client Quit]
chouhoulis has quit [Ping timeout: 276 seconds]
mattwildig has quit [Ping timeout: 276 seconds]
<shevy> oh yeah
<shevy> I'd wish I would have been there when ruby 1.0 was out
skade has quit [Ping timeout: 268 seconds]
flughafen_ has joined #ruby
Moosashi has quit [Quit: Moosashi]
ohaibbq_ has joined #ruby
brijesh has quit [Ping timeout: 276 seconds]
ohaibbq has quit [Ping timeout: 268 seconds]
Moosashi has joined #ruby
fantazo has joined #ruby
bronson has joined #ruby
<baweaver> ....is it bad that I know who Da_Man is?
<baweaver> cj__: ^
blackmes1 has joined #ruby
<baweaver> I remember him saying that was one of his aliases way back when.
counterapparatus has quit [Ping timeout: 248 seconds]
<baweaver> shevy: I work with Da_Man
aryaching has quit [Read error: Connection reset by peer]
rsc___ has quit [Quit: rsc___]
robbyoconnor has quit [Ping timeout: 246 seconds]
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bronson has quit [Ping timeout: 246 seconds]
<shevy> hah
robbyoconnor has joined #ruby
hplar has joined #ruby
tristanp has joined #ruby
aryaching has joined #ruby
spuk has quit [Ping timeout: 276 seconds]
aagdbl has joined #ruby
charlemagne has joined #ruby
duckpupp1 has joined #ruby
thevaliantx has joined #ruby
vdamewood has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
mlehrer has joined #ruby
graphettion has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 248 seconds]
trosborn has joined #ruby
dlitvak has joined #ruby
<thevaliantx> re-ordered my Well Grounded Rubyist book a couple of days ago, and started working through a Learn Ruby The Hard Way tutorial yesterday. Not sure if Ruby is an appropriate language for me to learn, but I'm in love with all the pretty pictures of rubies on ruby books, and Ruby being an OOP language maybe it will be the right one for me to cut my teeth in learning OOP :)
astrobun_ has joined #ruby
ziyadb has joined #ruby
ta has quit [Disconnected by services]
<cj> baweaver: oh? you work at the Linux Foundation, too?
ta_ has joined #ruby
dlitvak has quit [Ping timeout: 276 seconds]
<baweaver> I know a guy who goes by Da_Man who's been around that long
Dimik has joined #ruby
thevaliantx has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<cj> ah. not me, though?
thevaliantx has joined #ruby
<baweaver> Not unless you're in SF and are named Darren
ur5us has quit [Remote host closed the connection]
<cj> nope. I'm on Orcas Island and I'm named cj
trosborn has quit [Quit: trosborn]
bkxd has joined #ruby
elifoster has quit [Ping timeout: 260 seconds]
<baweaver> I've just heard him mention the name, so who knows.
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
<cj> It's not a unique name. I'm sure there are others who use it :-)
robbyoconnor has quit [Client Quit]
terminal_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> yeah, especially early on in the years
<baweaver> I remember him bragging about having one of the first domain names registered at one point
<baweaver> where first is first 1000 or so I think
blackmes1 has quit [Ping timeout: 268 seconds]
<baweaver> about the same with my boss and his old habit of buying a ton of french domains.
bkxd has quit [Ping timeout: 276 seconds]
Moosashi has quit [Quit: Moosashi]
ur5us has joined #ruby
flughafen_ has quit [Ping timeout: 246 seconds]
LoneHerm_ has joined #ruby
dextertzu has quit [Ping timeout: 260 seconds]
b|ackwolf has quit [Ping timeout: 248 seconds]
fullofcaffeine has joined #ruby
_ht has joined #ruby
b|ackwolf has joined #ruby
mhoungbo has quit [Remote host closed the connection]
eregi has joined #ruby
robbyoconnor has joined #ruby
chouhoulis has joined #ruby
shanemcd_ has joined #ruby
terminal_ has joined #ruby
allcentury has joined #ruby
terminal_ has quit [Client Quit]
fantazo has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 248 seconds]
eregi has quit [Ping timeout: 248 seconds]
shanemcd_ has quit [Ping timeout: 246 seconds]
eregi has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 276 seconds]
fullofcaffeine has joined #ruby
arlek has quit [Ping timeout: 248 seconds]
fullofca_ has joined #ruby
ta_ has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
safe has quit [Quit: Leaving]
LoneHerm_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 248 seconds]
crystal77 has joined #ruby
<crystal77> Was going to ask in #rbenv, but nobody is there. What exactly does this PR do? https://github.com/rbenv/rbenv/issues/384 - I thought it means rehash would be auto, but we still have to do it manually after every gem install.
kies^ has quit [Quit: baaaaiiiiiiiiiii~]
saneax is now known as saneax_AFK
TheMoonMaster has quit [Ping timeout: 276 seconds]
charlemagne has quit [Ping timeout: 250 seconds]
flughafen_ has joined #ruby
<ropeney> do you crystal77 ? I never seem to have to
<cj> do you use bash? zsh?
<ropeney> cj, me? both
<cj> and you have to rehash in neither?
<baweaver> I'm a heretic, I still use RVM
<ropeney> cj, i believe it does the rehash on starting of a shell, but i have installed gems from command line plenty and not needed to - or have never noticed that i was meant to
LoneHerm_ has quit [Remote host closed the connection]
allcentury has joined #ruby
TheMoonMaster has joined #ruby
TheMoonMaster has joined #ruby
<crystal77> I use Fish. Got tired of bash/zsh years ago.
allcentury has quit [Ping timeout: 276 seconds]
solars has joined #ruby
<ropeney> crystal77, guess i've never felt the need to move away
lyoshajapan has joined #ruby
stannard has joined #ruby
Macaveli has joined #ruby
duckpupp1 has joined #ruby
allcentury has joined #ruby
anisha has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fedexo has quit [Ping timeout: 268 seconds]
eregi has quit [Ping timeout: 276 seconds]
stannard has quit [Ping timeout: 248 seconds]
fullofca_ has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 260 seconds]
allcentury has quit [Ping timeout: 260 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dextertzu has joined #ruby
rigel_ has joined #ruby
thevaliantx has quit [Quit: Leaving]
uglybandersnatch has quit [Ping timeout: 260 seconds]
terminal_ has joined #ruby
robbyoconnor has quit [Ping timeout: 276 seconds]
atmosx has quit [Quit: This is aparting message!]
chipotle has quit [Ping timeout: 276 seconds]
Guest34101 has joined #ruby
blackmes1 has joined #ruby
jayc0b0 has joined #ruby
Tempesta has quit [Quit: See ya!]
eregi has joined #ruby
noodle has quit [Ping timeout: 276 seconds]
scepticulous has joined #ruby
pawnbox has quit [Remote host closed the connection]
uglybandersnatch has joined #ruby
pawnbox has joined #ruby
dlitvak has joined #ruby
UtkarshRay has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
lsmola has joined #ruby
Guest34101 has quit [Ping timeout: 246 seconds]
kies^ has joined #ruby
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uglybandersnatch has quit [Ping timeout: 246 seconds]
Morrolan has quit [Quit: ZNC: Shutting down.]
robbyoconnor has joined #ruby
skade has joined #ruby
eregi has joined #ruby
Morrolan has joined #ruby
sandstrom has joined #ruby
terminal_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noodle has joined #ruby
chouhoulis has joined #ruby
mattwildig has joined #ruby
r0bby_ has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 276 seconds]
mattwildig has quit [Ping timeout: 248 seconds]
dlitvak has quit [Remote host closed the connection]
karapetyan has joined #ruby
rigel_ has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160209234627]]
vondruch_ has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
allcentury has joined #ruby
eregi has quit [Ping timeout: 248 seconds]
<lyoshajapan> Hey :-) I got a very curious problem. Some of my specs started failing, and rspec shows that they did fail, but it doesnt say why explicitly
janmejay has joined #ruby
andikr has joined #ruby
<janmejay> i want o make a ruby script which shows the status of all machine (on/off) runnig on same public ip
<janmejay> any roadmap how to approach
LoneHerm_ has joined #ruby
kam270 has quit [Ping timeout: 260 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
eregi has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
<hanmac> lyoshajapan: rspec should show the reason why the specific spec does fail ... otherwise can you give us a link to your specs?
charlemagne has joined #ruby
astrobun_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
polysics has joined #ruby
saneax_AFK is now known as saneax
eregi has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: Leaving]
anisha has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
bigkevmcd has joined #ruby
sandstrom has joined #ruby
dlitvak has joined #ruby
binaryplease has joined #ruby
sandstrom has quit [Client Quit]
duckpupp1 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
baweaver has quit []
kam270 has joined #ruby
ohaibbq_ has quit [Remote host closed the connection]
Abrin has quit [Ping timeout: 246 seconds]
biberu has joined #ruby
astrobun_ has joined #ruby
duckpupp1 has quit [Ping timeout: 276 seconds]
majoh_ is now known as majoh
kam270 has quit [Max SendQ exceeded]
yokel has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
kam270 has joined #ruby
ledestin has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
fckyoufreenode has joined #ruby
yokel has joined #ruby
ur5us has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 250 seconds]
moeabdol2 has joined #ruby
dojobo has quit [Ping timeout: 276 seconds]
<janmejay> i want o make a ruby script which shows the status of all machine (on/off) runnig on same public ip
<janmejay> any roadmap how to approach
wwwbukolaycom has quit [Ping timeout: 250 seconds]
dlitvak has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dojobo has joined #ruby
sandstrom has joined #ruby
karapetyan has joined #ruby
yokel has quit [Remote host closed the connection]
bkxd has joined #ruby
dojobo has quit [Client Quit]
yokel has joined #ruby
codecop has joined #ruby
Guest63537 is now known as olspookishmagus
LoneHerm_ has joined #ruby
binaryplease has quit [Ping timeout: 260 seconds]
jas02 has joined #ruby
zeroDivisible has quit [Ping timeout: 276 seconds]
LoneHer__ has joined #ruby
lightheaded has joined #ruby
LoneHerm_ has quit [Read error: Connection reset by peer]
<janmejay> is there any gem for knowing the status of remote computers conneted on same local ip address
shanemcd_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
LoganG has quit [Read error: Connection reset by peer]
LoganG has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
aufi has joined #ruby
ur5us has joined #ruby
DenSchub has quit [Ping timeout: 260 seconds]
lyoshajapan has quit [Remote host closed the connection]
microt has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
lxsameer has joined #ruby
DenSchub has joined #ruby
lyoshajapan has joined #ruby
shanemcd_ has quit [Ping timeout: 276 seconds]
microt has joined #ruby
aufi has quit [Quit: Konversation terminated!]
TomyWork has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lukebyrne has quit [Quit: lukebyrne]
janmejay has quit [Ping timeout: 248 seconds]
lightheaded has quit []
aufi has joined #ruby
chouhoulis has joined #ruby
microt has quit [Ping timeout: 276 seconds]
Macaveli has joined #ruby
kent\n has joined #ruby
Pupeno has quit [Remote host closed the connection]
vondruch has joined #ruby
elaptics is now known as elaptics`away
chouhoulis has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
lukebyrne has joined #ruby
firstdayonthejob has quit [Ping timeout: 276 seconds]
lukebyrne has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
last_staff has joined #ruby
LoneHer__ has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
blackmes1 has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
microt has joined #ruby
lsmola has quit [Quit: Leaving]
eregi has joined #ruby
antgel has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Pupeno has joined #ruby
Vingador has joined #ruby
dgncn has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
platzhirsch has joined #ruby
atmosx has joined #ruby
Pupeno has quit [Ping timeout: 246 seconds]
Oog has joined #ruby
tesuji has joined #ruby
bronson has joined #ruby
r0bby_ has quit [Ping timeout: 276 seconds]
eregi has quit [Ping timeout: 268 seconds]
blackms has joined #ruby
norc_ has joined #ruby
norc_ has joined #ruby
norc_ has joined #ruby
twintail has quit [Remote host closed the connection]
<norc_> apeiros: were you the one with that gist about solving unicoding issues?
r0bby_ has joined #ruby
dlitvak has joined #ruby
<apeiros> norc_: yes, sec…
<apeiros> (awesome timing btw., just logged into my znc)
<norc_> :)
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
dlitvak has quit [Read error: Connection reset by peer]
stannard has joined #ruby
<apeiros> norc_: ^
<norc_> Brilliant thank you.
Oog has quit []
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fckyoufreenode has quit [Ping timeout: 268 seconds]
duckpupp1 has joined #ruby
<apeiros> yw. as usual: feedback welcome ;-)
dlitvak has joined #ruby
Snowy has joined #ruby
eregi has joined #ruby
stannard has quit [Ping timeout: 260 seconds]
mark2 has joined #ruby
duckpupp1 has quit [Ping timeout: 248 seconds]
<norc_> apeiros: Well, the only feedback I can give is I wish that document was easier to find. ;-)
<norc_> My problem is not even Ruby related, but it helped me understand the encoding issue nevertheless. :-)
elaptics`away is now known as elaptics
Gnut has joined #ruby
tulak has joined #ruby
r0bby_ has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby
skade has joined #ruby
TakumoKatekari is now known as Takumo
ur5us has quit [Remote host closed the connection]
Snowy has quit [Ping timeout: 246 seconds]
eregi has quit [Ping timeout: 248 seconds]
r0bby_ has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
<apeiros> norc_: yeah, I wanted to put it up on ruby-community.com, but I'm so slow adding more articles :(
r0bby_ has joined #ruby
pawnbox has joined #ruby
<apeiros> didn't want to put it up there all alone.
<norc_> Im slowly beginning to notice that the lack of encoding information is really annoying about text files.
<norc_> Tools like uchardet are all nice in guessing and giving you a confidence even, but in the end I would just like to know the encoding...
Hounddog has joined #ruby
tvw has joined #ruby
r0bby_ has quit [Client Quit]
<adaedra> apeiros: you're planning a blog thing on the website?
<apeiros> more like articles than blog
r0bby_ has joined #ruby
r0bby_ has quit [Read error: Connection reset by peer]
<apeiros> but if there's somebody wanting to fill a blog on it, I'd certainly provide the space.
r0bby_ has joined #ruby
r0bby_ is now known as robbyoconnor
Pupeno has joined #ruby
araujo has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
the_drow has joined #ruby
Hounddog has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Client Quit]
robbyoconnor has joined #ruby
Gasher has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
william3 has joined #ruby
robbyoconnor has quit [Client Quit]
FooMunki has joined #ruby
Hounddog has joined #ruby
karapetyan has quit [Remote host closed the connection]
rdark has joined #ruby
trosborn has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
blackmes1 has quit [Ping timeout: 276 seconds]
platzhirsch has left #ruby [#ruby]
public_class has joined #ruby
laith has joined #ruby
jenrzzz has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
lyoshajapan has joined #ruby
vikas027 has joined #ruby
m8 has joined #ruby
dionysus69 has joined #ruby
skade has quit [Read error: Connection reset by peer]
binaryplease has joined #ruby
vikas027 has left #ruby [#ruby]
tulak has quit [Remote host closed the connection]
tulak has joined #ruby
<apeiros> norc_: re lack of encoding information - I'd love a universal metadata format. encoding is just one metadatum I'd like to have in files :-/
wwwbukolaycom has joined #ruby
zenlot1 is now known as zenlot
the_drow has joined #ruby
mdih has joined #ruby
mdih has quit [Max SendQ exceeded]
mdih has joined #ruby
william3 has joined #ruby
karapetyan has joined #ruby
allcentury has joined #ruby
rigel_ has joined #ruby
skade has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
SCHAAP137 has joined #ruby
allcentury has quit [Ping timeout: 246 seconds]
janmejay has joined #ruby
chouhoulis has joined #ruby
mattwildig has joined #ruby
aagdbl has joined #ruby
tomphp has joined #ruby
janmejay has quit [Client Quit]
j3r0 has joined #ruby
dlitvak has quit [Remote host closed the connection]
statelesscode has quit [Quit: statelesscode]
mattwildig has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 268 seconds]
trosborn has quit [Quit: trosborn]
blackms has quit [Ping timeout: 246 seconds]
Snowy has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 276 seconds]
Lildirt has quit [Ping timeout: 276 seconds]
LoneHermit has joined #ruby
Macaveli has joined #ruby
dlitvak has joined #ruby
norc has joined #ruby
lyoshajapan has joined #ruby
gregf__ has quit [Quit: leaving]
Spami has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Snowy has quit [Read error: Connection reset by peer]
gregf_ has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bish_ is now known as Bish
Snowy has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
jayc0b0 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dlitvak has quit [Ping timeout: 246 seconds]
lyoshajapan has quit [Ping timeout: 250 seconds]
lvn has joined #ruby
blackms has joined #ruby
steffkes has joined #ruby
Macaveli has joined #ruby
kmckelvin has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby
mark2 has quit [Quit: Leaving.]
mark4 has joined #ruby
mark4 has quit [Client Quit]
aagdbl has quit [Quit: Leaving]
houhoulis has quit [Remote host closed the connection]
tvw has quit []
mark2 has joined #ruby
pandaant has joined #ruby
william3 has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
ferr has joined #ruby
karapetyan has joined #ruby
Lildirt has joined #ruby
mark4 has joined #ruby
mark4 has quit [Max SendQ exceeded]
laith has quit [Quit: Leaving.]
eregi has joined #ruby
mark4 has joined #ruby
rigel_ has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160209234627]]
mark2 has quit [Ping timeout: 276 seconds]
marr has joined #ruby
duckpupp1 has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
meal has joined #ruby
AshleyPerpetual has joined #ruby
<AshleyPerpetual> hi, I get this error when I run my code:
<AshleyPerpetual> code: http://pastebin.com/QTM6PQLL
<ruby[bot]> AshleyPerpetual: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/860bd9e367f895ed79a0
<ruby[bot]> AshleyPerpetual: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
cnrroxx has joined #ruby
eregi has quit [Ping timeout: 250 seconds]
<apeiros> AshleyPerpetual: while you should probably still tell us the "this error", here's some mistakes:
<apeiros> line 6-8: you end the if, end have an elsif after it. that's not gonna work. drop the `end`.
Gnut has quit [Ping timeout: 268 seconds]
<adaedra> There's no ++ in Ruby.
<apeiros> line 15: hamming++ the ++ does not exist in ruby
<apeiros> line 10-11: similar as line 6-8: you should not have an `end` if there's an `else` or `elsif` coming for the same if.
william3 has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
lyoshajapan has joined #ruby
<AshleyPerpetual> ohh
<AshleyPerpetual> apeiros: what's the neatest way to increment by 1?
<apeiros> +=1
<AshleyPerpetual> just += 1?
<AshleyPerpetual> ok
<apeiros> also I doubt `ancestor != descendant or ancestor == 0` does what you want.
<lvn> I don't understand the logic in this code, can't you just loop through both strings at the same time if you're just calculating the hamming distance?
<apeiros> you seem to be missing a lot of ".length" method calls there.
jeanlinux has joined #ruby
<AshleyPerpetual> oh yeah I forgot length heh
<apeiros> and yeah, general code logic seems flawed too.
<AshleyPerpetual> thanks
<AshleyPerpetual> how so?
<apeiros> the two nested each'es almost certainly don't work the way you imagine them to work.
n008f4g_ has joined #ruby
<norc_> AshleyPerpetual: also do not use the "and"/"or" operators unless you know exactly about their difference. In all likelihood you will want && and || instead.
<AshleyPerpetual> norc_: k
<apeiros> AshleyPerpetual: re "how so" - what's the hamming distance of "fooa" and "foob"?
bkxd has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
<norc_> AshleyPerpetual: As for the explanation, they have different precendence and are used for control flow (like "if" or "unless") rather than boolean operators.
<lvn> Assuming that ancestor and descendant are both strings, I would do something like ancestor.split('').zip(descendant.split('')).select { |i| i[0] != i[1] }.length
blackmes1 has joined #ruby
<apeiros> with the nested comparison it'll be around 12
<lvn> that's super hacky, but you get the idea
gigetoo has quit [Ping timeout: 260 seconds]
<AshleyPerpetual> hmm
lyoshajapan has quit [Ping timeout: 260 seconds]
Couch has joined #ruby
<AshleyPerpetual> I need to learn what zip and select do
<adaedra> &ri Array#zip Array#select
<AshleyPerpetual> thanks
ElFerna_ has joined #ruby
gigetoo has joined #ruby
eip` has joined #ruby
<eip`> Hi guys
<lvn> basically, ancestor.split('').zip(descendant.split('')) combines the two strings into character pairs (e.g. "aa" and "ab" => [['a', 'a'], ['a', 'b']])
<eip`> I have a questions, would be happy if somebody could help me
laith has joined #ruby
<adaedra> eip`: just ask.
<lvn> and then `select { |i| i[0] != i[1] }` just selects everything from that list for which the characters aren't the same
<eip`> I have a file system (linux) in a directory on my hd, for example in /mydir/ I have the whole structure /usr /opt /var etc etc
<AshleyPerpetual> wow that's really clever lvn thanks
<AshleyPerpetual> im doing exercism by the way
<eip`> what I'd like to do is install a gem in that place, so that later I can install this filesystem on another machine
<lvn> have fun!
<eip`> and have the gem installed and working
<eip`> is there any way to do this?
<AshleyPerpetual> thanks :)
<eip`> like, I dont know, telling it to install the gem specifing the root dir or something
ElFerna_ has quit [Read error: Connection reset by peer]
infoget has joined #ruby
<adaedra> eip`: is ruby and gem installed in the target system?
bkxd has quit [Ping timeout: 276 seconds]
<eip`> yes adaedra
ElFerna_ has joined #ruby
<adaedra> then just chroot /mydir gem install foo
infoget has left #ruby [#ruby]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<AshleyPerpetual> I see why it's called zip, it's like a zipper pattern!
<lvn> haha yeah :p
<eip`> oh ok adaedra I'll try! thank you
<AshleyPerpetual> ruby is really cool, I'm glad to be learning it
<AshleyPerpetual> after I finish a fair number of exercisms, I plan to learn rails as it seems to be in really high demand
<AshleyPerpetual> I wish there was a similar site for frameworks or techs like that, alas
evidex has joined #ruby
shanemcd_ has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
lyoshajapan has joined #ruby
Ishido has joined #ruby
blaxter has joined #ruby
shanemcd_ has quit [Ping timeout: 276 seconds]
blaxter has quit [Max SendQ exceeded]
blaxter has joined #ruby
<AshleyPerpetual> you can see my final submission here if you're curious http://exercism.io/submissions/7eaec4acd68d43209cdc563fe5e6e4bc
Pumukel has joined #ruby
<apeiros> AshleyPerpetual: IMO .chars > .split('')
<lvn> oh whoops, forgot about .chars
<lvn> yeah, use that
<lvn> i'm sorry!
<apeiros> and .select {}.length --> .count {}
lyoshajapan has quit [Ping timeout: 260 seconds]
uglybandersnatch has joined #ruby
<lvn> oh dang, my ruby-fu is still too weak
djbkd has quit [Remote host closed the connection]
<apeiros> don't worry. this channel has your back ;-)
<lvn> haha
binaryplease has quit [Ping timeout: 276 seconds]
<AshleyPerpetual> thanks, certainly seems that way :)
<apeiros> aaaand read that automated nitpick. was gonna say the same :D
<AshleyPerpetual> nice there are people on in my timezone
<AshleyPerpetual> im a half-expat/half-perpetual-traveler in the phillippines so it's useful... from seattle originally
<adaedra> Given the amount of people here, all TZs should be covered
<lvn> i'm just yet another san franciscan staying up late :p
<AshleyPerpetual> apeiros: already fixed it with sublime ;)
cgfbee has quit [Excess Flood]
chouhoulis has joined #ruby
<AshleyPerpetual> I'm going to adopt a us timezone and become nocturnal at some point
<AshleyPerpetual> necessary for my jerb :P
<AshleyPerpetual> well, useful, not necessary
<lvn> haha
tvw has joined #ruby
<hanmac> AshleyPerpetual: hm should that function return the number of chars which are the same or the ones which are not?
cgfbee has joined #ruby
<eip`> adaedra: when I try running that I get this error:
<eip`> chroot: failed to run command `gem': Exec format error
<apeiros> hanmac: usually hamming is the difference
<lvn> hamming distance is supposed to be the characters that are different
<adaedra> eip`: what are your host and target systems, including architecture?
<hanmac> apeiros: ah ok, the "hamming" word did confuse me
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<hanmac> hey you guys might use this, which is for counting chars which are the same:
<hanmac> >> "aaa".chars.zip("aab".chars).count(&:uniq!)
<ruby[bot]> hanmac: # => 2 (https://eval.in/527340)
<AshleyPerpetual> what is that argument passed to count!?
<eip`> adaedra: one is arm the other x86
<eip`> is that the problem ?
<adaedra> yes
<eip`> so I'd need to do it from another arm system ?
<eip`> the fs I want to later flash is arm
<hanmac> AshleyPerpetual: a block ... it does use the fact that ["a", "a"].uniq! returns ["a"] but ["a", "b"] returns nil
<adaedra> AshleyPerpetual: .count(&:uniq!) <=> .count { |e| e.uniq! }
joonty has joined #ruby
<adaedra> eip`: you won't be able to chroot from a x86 to an arm, right
chouhoulis has quit [Ping timeout: 276 seconds]
tvw has quit [Remote host closed the connection]
<AshleyPerpetual> hanmac: it's how many characters are unequal
lyoshajapan has joined #ruby
blackms has quit [Ping timeout: 246 seconds]
kmckelvin has quit [Quit: WeeChat 1.4]
jeanlinux has quit [Remote host closed the connection]
karapetyan has joined #ruby
tulak has quit [Remote host closed the connection]
<AshleyPerpetual> hanmac: is there an equivalent for that?
<eip`> ok adaedra makes sense, thank you
<eip`> adaedra: do you think there is any other way other than chroot ?
blackms has joined #ruby
<hanmac> i might would do that: hamming = ancestor.length - ancestor.chars.zip(descendant.chars).count(&:uniq!)
<adaedra> That's the cleanest
<eip`> and what other, not so clean, options there would be ?
lyoshajapan has quit [Ping timeout: 260 seconds]
<adaedra> But whatever you do, you'll have problems if any of your gems have native extensions, eip`
futilegames has joined #ruby
binaryplease has joined #ruby
<eip`> so you dont think there is actually any way to achieve what I'd like to do ?
<adaedra> If you're packaging needed gems to run a project with a Gemfile, you can bundle update
<adaedra> errr
<adaedra> bundle package
<AshleyPerpetual> never say never :^)
<lvn> :^^^^)
ropeney has joined #ruby
krzkrzkrz has quit [Ping timeout: 260 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
Vingador has joined #ruby
futilegames has quit [Quit: futilegames]
binaryplease has quit [Ping timeout: 260 seconds]
Bounga has joined #ruby
william3 has quit [Remote host closed the connection]
<AshleyPerpetual> &ri Time#utc
sandstrom has quit [Quit: My computer has gone to sleep.]
william3 has joined #ruby
lyoshajapan has joined #ruby
bronson has joined #ruby
Pumukel has quit [Ping timeout: 268 seconds]
peteyg has quit [Ping timeout: 276 seconds]
binaryplease has joined #ruby
<norc_> AshleyPerpetual: You can use ri from your terminal too by the way. :)
<norc_> (Which should be your preferred way, since that will always yield the correct version for whatever Ruby version you are using)
<AshleyPerpetual> oh cool
<lvn> I just use google :p
<AshleyPerpetual> sounds better because im on my terminal anyway - irssi :P
<AshleyPerpetual> but then I have to ctrl-alt-left arrow to workspace 1 :(
<lvn> fair enough lol
<norc_> AshleyPerpetual: Use tmux!
<AshleyPerpetual> I use tmux!
<AshleyPerpetual> norc_: I was referring to googling, not ri
<norc_> Oh well. :-)
<norc_> Heh.
<AshleyPerpetual> I have two terminals side by side in tmux - irssi and term... and above that sublime text with two columns - code and test
<AshleyPerpetual> im on arch linux btw
laith has quit [Quit: Leaving.]
william3 has quit [Remote host closed the connection]
jolts is now known as joltsafk
joltsafk is now known as jolts
<AshleyPerpetual> s/term/shell/
wwwbukolaycom has quit [K-Lined]
blaxter has quit [Quit: foo]
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
tulak has joined #ruby
william3 has joined #ruby
lyoshajapan has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 246 seconds]
b|ackwolf has quit [Ping timeout: 246 seconds]
blackms has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
mikecmpbll has joined #ruby
duckpupp1 has joined #ruby
uglybandersnatch has quit [Ping timeout: 246 seconds]
eregi has joined #ruby
<lvn> I personally prefer atom :p
<AshleyPerpetual> ri Time
<AshleyPerpetual> Nothing known about Time
<AshleyPerpetual> profound
<AshleyPerpetual> lvn: I tried atom but it used wayyyy too much memory
<adaedra> pacman -S ruby-doc # iirc
<lvn> That's totally fair lol
<adaedra> let's not start an editor war here.
<AshleyPerpetual> im on a virtual machine at an internet cafe... I only have 1.7GB to spare
_joes__ has joined #ruby
<AshleyPerpetual> im not trying - I prefer atom
b|ackwolf has joined #ruby
<AshleyPerpetual> it's just the memory usage was way higher
<lvn> I mostly use it because it looks really nice and I would feel bad switching back to subl
<AshleyPerpetual> thanks adaedra
<lvn> Yeah that's totally fair
BtcBen has quit [Ping timeout: 276 seconds]
duckpupp1 has quit [Ping timeout: 276 seconds]
<AshleyPerpetual> I wonder what a similar editor in ruby would be like
<AshleyPerpetual> everything is an object after all...
<AshleyPerpetual> could be interesting
* adaedra makes AshleyPerpetual an object
<th__> what's wrong with vi? (:
<workmad3> vim > vi :P
* AshleyPerpetual ports adaedra's consciousness into javascript and runs them on ie6
<adaedra> ?offtopic
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<adaedra> AshleyPerpetual: wow, that's mean
<AshleyPerpetual> my job is front end web dev, watch what you're turning me into there buddy!
<th__> you can't find vim on every system but you can count on vi
ElFerna_ has quit [Ping timeout: 276 seconds]
<AshleyPerpetual> I'm learning ruby to then learn rails
<AshleyPerpetual> im also new to front end stuff, which is ok because my friend is letting me learn as I go
<lvn> I don't want to start an argument, but personally I think vim is better than vim.
<AshleyPerpetual> lol
rodfersou has joined #ruby
<workmad3> lvn: how to start an argument between programmers - express a preference about editors :)
<AshleyPerpetual> /Welllll/ it depends what you mean by vim exactly, in each case...
<lvn> mhm :p
<lvn> vim as in the household cleaning product
<workmad3> as AshleyPerpetual is showing, it even works if you express a preference about vim in a room of vim lovers :D
<AshleyPerpetual> I used to use vim honestly, until I heard about this sublime fad
<AshleyPerpetual> workmad3: lol
lyoshajapan has joined #ruby
<AshleyPerpetual> then I tried atom, loved it... until it crashed my vm
<AshleyPerpetual> dat memory usage
Tempesta has joined #ruby
<workmad3> vim 4evar!
<AshleyPerpetual> two chromiums can't compete...
* adaedra takes the editor discussion and puts it in -offtopic
eregi has quit [Ping timeout: 248 seconds]
* AshleyPerpetual joins offtopic
<workmad3> adaedra: gl with that... offtopic in #ruby 4evar!
<adaedra> workmad3: try me.
<AshleyPerpetual> *offtopicing intensifies*
TomyWork has quit [Remote host closed the connection]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has quit [Remote host closed the connection]
<workmad3> adaedra: ok, I will :)
<AshleyPerpetual> lol
<AshleyPerpetual> didn't see that one coming
astrobun_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 276 seconds]
<adaedra> Nice hat, I have the same somewhere.
<workmad3> :)
<adaedra> Also, you're hiding from -ops, workmad3?
<workmad3> oh, I forgot to add it to my autojoin still :(
<adaedra> :p
lyoshajapan has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
astrobun_ has joined #ruby
blackms has joined #ruby
astrobun_ has quit [Remote host closed the connection]
allcentury has joined #ruby
ebbflowgo has joined #ruby
loechel has joined #ruby
AshleyPerpetual has quit [Quit: leaving]
loechel is now known as Pumukel
jimcroft_ has quit []
<Gasher> hi everyone, I'm trying to install rbx with rvm, but it doesn't work since it wants to use "llvm". llvm package is version 3.6 that's unsupported, so I installed "llvm-3.5" package instead. however, rvm gets "llvm" package by itself which it doesn't work with
allcentury has quit [Ping timeout: 276 seconds]
jimcroft has joined #ruby
<Gasher> I'm on Ubuntu 15.10
karapetyan has joined #ruby
p0p0pr37 has joined #ruby
KramerC has quit [Ping timeout: 276 seconds]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
blackms has quit [Ping timeout: 250 seconds]
<norc_> Gasher: Want to use RVM specifically?
<Gasher> well, I'm just using rvm
<Gasher> I could compile it manually, but that'd be the last resort
<norc_> Gasher: For rvm you can override the compiler with CC I think.
platzhirsch has joined #ruby
<Gasher> okaaay
blackms has joined #ruby
mattwildig has joined #ruby
lipoqil has joined #ruby
LoneHermit has joined #ruby
chouhoulis has joined #ruby
<Gasher> norc_; no idea what you mean
lyoshajapan has joined #ruby
_kfpratt has joined #ruby
Guest22888 is now known as beagles
laith has joined #ruby
karapetyan has quit [Remote host closed the connection]
dlitvak has joined #ruby
karapetyan has joined #ruby
<norc_> Oh wait that is rbenv.
<norc_> Mmm. I honestly dont know, I dont use rvm :(
kfpratt has quit [Ping timeout: 248 seconds]
nando293921 has quit [Ping timeout: 260 seconds]
Gnut has joined #ruby
<Gasher> what do you use instead?
mattwildig has quit [Ping timeout: 248 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
<darix> Gasher: export CC .. export CXX
<darix> to the llvm 3.5 binaries
<Gasher> how?
<darix> although i suspect it might need newer versions
<darix> Gasher: export CC=/usr/bin....
chouhoulis has quit [Ping timeout: 276 seconds]
Matthews_ has joined #ruby
<Gasher> still no idea what you mean
laith1 has joined #ruby
spider-mario has joined #ruby
<norc_> Gasher: Most people have moved away to ruby-install/chruby for its minimalistic and non-intrusive way of operation.
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackms has quit [Ping timeout: 276 seconds]
<Gasher> I see
lyoshajapan has quit [Ping timeout: 260 seconds]
<darix> Gasher: then maybe start with some basic knowledge of you shell and shell variables
<darix> before doing fancy things like rubinius
mlehrer has quit [Quit: Leaving]
<Gasher> I know command line, I don't know bash
laith has quit [Ping timeout: 276 seconds]
<SebastianThorn> Gasher: what shell you using?
<Gasher> bash
dlitvak has quit [Ping timeout: 260 seconds]
* norc_ is waiting for ksh
<norc_> Oh.
<Gasher> I'm not a fan, but meh
<Gasher> I'm not a fan of any GNU products in fact
MatthewsFace has quit [Ping timeout: 268 seconds]
<darix> so run BSD?
<Gasher> I did on a VM and I liked it
Pumukel has quit [Ping timeout: 260 seconds]
<Gasher> however no games on BSD...
<Gasher> I guess it's not a thing for me any more since I got an SSD for Windows
<darix> i think nethack and co also run on bsd
<Gasher> the shell I ran on BSD was fish
<Gasher> and it was really cool
<Gasher> very modern
Pumukel has joined #ruby
public_class has quit [Quit: Leaving]
ldnunes has joined #ruby
kgutteridge has joined #ruby
allcentury has joined #ruby
<darix> you can run that on your ubuntu too
<Gasher> probably yes
<Gasher> but I'm a very lazy person
lvn has quit [Ping timeout: 268 seconds]
<darix> I would have never guessed that.
<Gasher> ;D
Azure has joined #ruby
<Gasher> I could switch to Arch, but deployment time is super long and it takes a lot of work
<Gasher> so nope
<SebastianThorn> fish is great but a bit wierd sometimes, long tome sence i had it installed now
<ljarvis> gentoo > * 4lyfe
nocontrol has joined #ruby
<nocontrol> does anyone use gollum ?
<nocontrol> I am getting a silly error: Gollum::InvalidGitRepositoryError
<nocontrol> I could use some help :)
<darix> ljarvis: opensuse is good for you!
M-shine has joined #ruby
<eip`> adaedra: I'm trying to chroot gem install, from arm to arm now, I receive this error:
theRealAlexz_ has quit [Ping timeout: 260 seconds]
<eip`> ERROR: hile executing gem ... (OpenSSL::Random:RandomError)
<eip`> PRNG not seeded
<eip`> *while
loechel has joined #ruby
binaryplease has quit [Ping timeout: 246 seconds]
<darix> feed the kernel some entropy
inukshuk_ has joined #ruby
lyoshajapan has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<eip`> If I just gem install without chroot
inukshuk_ has quit [Client Quit]
<eip`> it works just fine
<Gasher> I just wanted to see the performance difference between Ruby, Rubinius and Crystal
loechel is now known as Pumukel
TomyWork has joined #ruby
karapetyan has quit [Remote host closed the connection]
<dionysus69> math question: what curvature should a curve have in order for it to create a perfect circle? and in which units is curvature measured? I know angles are measured in degrees but how can I measure curvature without an angle? I am asking it here because I couldn't find a proper way to google my question
shanemcd_ has joined #ruby
platzhirsch has left #ruby [#ruby]
theRealAlexz has joined #ruby
<darix> i am sure there is a math channel on freenode
<norc_> dionysus69: Though since you asked, a circle is just 2*pi, or just tau.
<norc_> That is the cleanest way to describe a circle mathematically. :O
Spami has quit [Quit: This computer has gone to sleep]
lyoshajapan has quit [Ping timeout: 260 seconds]
trinaldi has joined #ruby
<dionysus69> I did ask on math channel I thought it was dead :D ok thanks anyways :)
skade has quit [Quit: Computer has gone to sleep.]
shanemcd_ has quit [Ping timeout: 260 seconds]
Guest97959 is now known as awk
augcesar has joined #ruby
M-Kodo has joined #ruby
duckpupp1 has joined #ruby
augcesar has quit [Client Quit]
ruby-lang861 has joined #ruby
verde has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<Gasher> darix; i just installed fish on Ubuntu, it has surprisingly easy
Pumukel has joined #ruby
unreal_ is now known as unreal
eregi has joined #ruby
<darix> apt-get install fish
<darix> ?
dlitvak has joined #ruby
jeanlinux has joined #ruby
Dragooon has joined #ruby
duckpupp1 has quit [Ping timeout: 248 seconds]
<Gasher> darix; I added through a PPA, not sure if it's in the default repo. to start using it, I just had to use a custom path in my terminal emulato
<Gasher> r
lyoshajapan has joined #ruby
<darix> you could also have changed your login shell
ruby-lang861 has quit [Ping timeout: 252 seconds]
ebbflowgo has joined #ruby
Pupeno has quit [Quit: Leaving...]
ebbflowgo has left #ruby [#ruby]
<Gasher> darix; chsh? then it only works for tty's
<Gasher> my emulator (gnome-terminal) still used bash
MalcolmReynolds has quit [Max SendQ exceeded]
IanMalcolm has joined #ruby
eregi has quit [Ping timeout: 250 seconds]
william3 has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 268 seconds]
polysics has quit []
<nocontrol> does anyone use gollum ?
<nocontrol> I am getting a silly error: Gollum::InvalidGitRepositoryError
<nocontrol> I could use some help :)
skade has joined #ruby
<adaedra> Gasher: chsh should change default shell for everything (but may require a logout/login). Maybe your gnome-terminal is setup to use bash and not default shell.
ebbflowgo has joined #ruby
<Gasher> I'm guessing it's made to use bash, but that doesn't matter
gaf_ has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
ebbflowgo has left #ruby [#ruby]
BaroMeter has joined #ruby
nocontrol has quit [Remote host closed the connection]
nocontrol has joined #ruby
gaf_ has joined #ruby
ElFerna_ has joined #ruby
Macaveli has joined #ruby
johnmilton has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
binaryplease has joined #ruby
gaf_ has quit [Ping timeout: 248 seconds]
Macaveli has quit [Client Quit]
lele has quit [Ping timeout: 260 seconds]
lele has joined #ruby
M-mistake has joined #ruby
lyoshajapan has joined #ruby
<dionysus69> is jruby as stable as ruby appart from possible speed differences?
mlehrer has joined #ruby
mlehrer has quit [Client Quit]
mlehrer has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
dkam_ has quit [Quit: Be back later ...]
M-shine has quit [Quit: node-irc says goodbye]
M-mistake has quit [Quit: node-irc says goodbye]
shanemcd has quit [Remote host closed the connection]
gaf_ has joined #ruby
sandstrom has joined #ruby
pawnbox has quit [Remote host closed the connection]
<chrisseaton> dionysus69: generally yes - if you have any problems or questions there is a dedicated #jruby room where you can get help
MrDoctor has joined #ruby
Mon_Ouie has joined #ruby
tvw has joined #ruby
lsmola has joined #ruby
chouhoulis has joined #ruby
karapetyan has joined #ruby
ElFerna_ has quit [Ping timeout: 246 seconds]
sdothum has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
ElFerna_ has joined #ruby
beast has joined #ruby
kgutteridge has joined #ruby
lyoshajapan has quit [Ping timeout: 276 seconds]
workmad3 has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 246 seconds]
cnr_roxx has joined #ruby
marr has quit [Remote host closed the connection]
pawnbox has joined #ruby
cnrroxx has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
berserk_ren has joined #ruby
karapetyan has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
Spami has joined #ruby
Gasher has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 246 seconds]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
Snowy_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Snowy has quit [Ping timeout: 260 seconds]
mattwildig has joined #ruby
diegoviola has joined #ruby
MrDoctor has quit [Quit: Konversation terminated!]
Snowy_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 260 seconds]
Pupp3tm4st3r has joined #ruby
ldnunes has quit [Ping timeout: 248 seconds]
blackms has joined #ruby
laith1 has quit [Ping timeout: 276 seconds]
jeanlinux has quit [Remote host closed the connection]
stannard has joined #ruby
laith has joined #ruby
MrDoctor has joined #ruby
ldnunes has joined #ruby
duckpupp1 has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak_ has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
gagrio has quit [Ping timeout: 276 seconds]
eregi has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
nocontrol has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
nocontrol has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
krzkrzkrz has joined #ruby
cstls has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
nisstyre_ has quit [Ping timeout: 276 seconds]
y2mq37 has quit [Ping timeout: 246 seconds]
jeanlinux has joined #ruby
swills has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
_joes__ has quit [Quit: Connection closed for inactivity]
ctrlrsf has quit [Ping timeout: 268 seconds]
openstruct has joined #ruby
Flipez has quit [Ping timeout: 246 seconds]
synthroid has joined #ruby
Flipez has joined #ruby
chrisarc1nd is now known as chrisarcand
tulak has quit [Remote host closed the connection]
joonty has joined #ruby
marr has joined #ruby
araujo_ has joined #ruby
lyoshajapan has joined #ruby
araujo_ has quit [Max SendQ exceeded]
araujo_ has joined #ruby
xxneolithicxx has joined #ruby
\pub\bash0r has quit [Ping timeout: 268 seconds]
charlemagne has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
araujo_ has quit [Max SendQ exceeded]
moeabdol2 has quit [Quit: WeeChat 1.4]
ctrlrsf has joined #ruby
\pub\bash0r has joined #ruby
DexterLB has quit [Ping timeout: 276 seconds]
lyoshajapan has quit [Ping timeout: 260 seconds]
nocontrol has quit [Ping timeout: 276 seconds]
araujo_ has joined #ruby
DexterLB has joined #ruby
araujo_ has quit [Max SendQ exceeded]
jeanlinu_ has joined #ruby
ropeney has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
dkam_ has joined #ruby
vasilakisfil has joined #ruby
nocontrol has joined #ruby
<vasilakisfil> hello: was there any safe navigation operator in ruby implemented as `.?` ?
<adaedra> It's &.
<adaedra> >> nil&.wont_get_called
<ruby[bot]> adaedra: # => nil (https://eval.in/527442)
goodcodeguy has joined #ruby
araujo has joined #ruby
<adaedra> .? never got out of development versions
<vasilakisfil> I found this https://github.com/ruby/ruby/commit/a356fe1c3550892902103f66928426ac8279e072 through https://github.com/vim-ruby/vim-ruby/pull/274 and I am trying to understand if the latter pull request is still valid
<vasilakisfil> ah ok then I will tell them to fix it :)
<adaedra> Ah, Ox0dea
araujo has quit [Max SendQ exceeded]
<adaedra> vasilakisfil: did you see https://github.com/vim-ruby/vim-ruby/pull/281 ?
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<vasilakisfil> ah sorry my bad
nogic has joined #ruby
nocontrol has quit [Remote host closed the connection]
chouhoulis has joined #ruby
nogic has quit [Max SendQ exceeded]
araujo has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<adaedra> :>
araujo has quit [Max SendQ exceeded]
nogic has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
marr has quit [Read error: Connection reset by peer]
nogic has quit [Max SendQ exceeded]
william3_ has joined #ruby
william3 has quit [Read error: Connection reset by peer]
nogic has joined #ruby
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
araujo has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
lipoqil has quit [Quit: Connection closed for inactivity]
Guest34101 has joined #ruby
nisstyre_ has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
sepp2k has joined #ruby
moeabdol has joined #ruby
lyoshajapan has joined #ruby
dlitvak_ has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
last_staff has quit [Quit: last_staff]
rsc___ has joined #ruby
tulak has joined #ruby
codecop has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 260 seconds]
backbox has joined #ruby
pawnbox has joined #ruby
dkam_ has quit [Ping timeout: 250 seconds]
kedare has quit [Quit: WeeChat 1.4]
araujo has quit [Quit: Leaving]
hayden_ has joined #ruby
shanemcd has joined #ruby
pawnbox has quit [Remote host closed the connection]
aryaching has joined #ruby
kies^ has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
shanemcd has quit [Ping timeout: 246 seconds]
graffix222 has joined #ruby
graffix222_ has quit [Ping timeout: 276 seconds]
Qureshi has quit [Remote host closed the connection]
diegoviola has joined #ruby
lyoshajapan has joined #ruby
bronson has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
kgutteridge has quit [Quit: kgutteridge]
cnr_roxx has quit [Ping timeout: 246 seconds]
haylon has joined #ruby
jmignault has joined #ruby
lyoshajapan has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 250 seconds]
ramortegui has joined #ruby
dlitvak has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
eregi has joined #ruby
duckpupp1 has quit [Ping timeout: 276 seconds]
Hammy_Work has quit [Quit: Leaving]
araujo has joined #ruby
nofxx has quit [Ping timeout: 276 seconds]
araujo has quit [Max SendQ exceeded]
flughafen_ has quit [Ping timeout: 250 seconds]
araujo has joined #ruby
nofxx has joined #ruby
gagrio has joined #ruby
gagrio is now known as gagrio-brb
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
araujo has quit [Max SendQ exceeded]
eregi has quit [Ping timeout: 246 seconds]
backbox has quit [Ping timeout: 248 seconds]
dlitvak has joined #ruby
blackmes1 has joined #ruby
JoshL has joined #ruby
Jardayn has joined #ruby
shanemcd has joined #ruby
karapetyan has joined #ruby
krzkrzkrz has quit [Ping timeout: 260 seconds]
lyoshajapan has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
sgambino has joined #ruby
shanemcd has quit [Remote host closed the connection]
aryaching has joined #ruby
shanemcd has joined #ruby
saneax is now known as saneax_AFK
karapetyan has quit [Ping timeout: 260 seconds]
shanemcd has quit [Remote host closed the connection]
crystal77 has joined #ruby
krobzaur_ has joined #ruby
marr has joined #ruby
nocontrol has joined #ruby
krobzaur has quit [Quit: WeeChat 0.4.2]
pawnbox has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
stan has quit [Quit: Leaving]
dopamean_ has joined #ruby
marr has quit [Client Quit]
shanemcd has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
marr has joined #ruby
dstarh has joined #ruby
|ZzZzZzZz| has joined #ruby
<|ZzZzZzZz|> heyy
<|ZzZzZzZz|> hey Hi Yo
krzkrzkrz has joined #ruby
allcentury has joined #ruby
laith has quit [Quit: Leaving.]
Pumukel has quit [Ping timeout: 246 seconds]
VeryBewitching has joined #ruby
<VeryBewitching> G'day folks.
lyoshaja_ has joined #ruby
Channel6 has joined #ruby
lyoshajapan has quit [Ping timeout: 260 seconds]
<n1colas> Hello
solocshaw has joined #ruby
fullofcaffeine has joined #ruby
RTG` has joined #ruby
graffix222_ has joined #ruby
graffix222 has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
lyoshaja_ has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
flughafen_ has joined #ruby
MrDoctor has quit [Ping timeout: 248 seconds]
dhollinger has joined #ruby
dlitvak has quit [Remote host closed the connection]
ElFerna_ has quit [Ping timeout: 260 seconds]
duckpupp1 has joined #ruby
diegoviola has joined #ruby
s00pcan has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
[spoiler] has quit [Quit: Cheers!]
william3_ has quit [Remote host closed the connection]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
william3 has joined #ruby
malconis has joined #ruby
aryaching has quit []
blackms has quit [Ping timeout: 248 seconds]
dkam_ has joined #ruby
stan has joined #ruby
platzhirsch has joined #ruby
TomPeed has joined #ruby
nocontrol has quit []
dkam_ has quit [Ping timeout: 246 seconds]
t-richards has joined #ruby
araujo has joined #ruby
blaxter has joined #ruby
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
stannard has joined #ruby
cpup has quit [Ping timeout: 246 seconds]
Shaboum has joined #ruby
pdoherty has joined #ruby
rippa has joined #ruby
olspookishmagus has quit [Ping timeout: 248 seconds]
stannard has quit [Remote host closed the connection]
laith has joined #ruby
stannard has joined #ruby
cpup has joined #ruby
araujo has quit [Client Quit]
blaxter has quit [Ping timeout: 260 seconds]
olspookishmagus has joined #ruby
olspookishmagus is now known as Guest9516
devbug has joined #ruby
dlitvak has joined #ruby
AlexRussia has joined #ruby
arup_r has joined #ruby
arup_r has left #ruby [#ruby]
karapetyan has joined #ruby
trhm has joined #ruby
rodfersou is now known as rodfersou|lunch
ta_ has quit [Remote host closed the connection]
SpleezeDos has quit [Quit: QUIT]
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
uglybandersnatch has joined #ruby
Spleeze has joined #ruby
DmitryBochkarev has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
ElFerna_ has joined #ruby
<trhm> Hi! Do you guys know any good free Ruby tutorials? Is the one on Codecademy good?
failshell has joined #ruby
<adaedra> ?links trhm
Guest9516 has quit [Quit: All for nothing]
aegis3121 has joined #ruby
aganov has quit [Quit: Leaving]
eregi has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
uglybandersnatch has quit [Ping timeout: 260 seconds]
kgutteridge has joined #ruby
<trhm> Oh, thank you!
<SebastianThorn> trhm: http://poignant.guide/book/chapter-1.html if you wanna have some fun while learning
<SebastianThorn> it is in the links you got aswell
<trhm> Thank you, I'm getting to these right away.
failshell has quit [Client Quit]
trhm has left #ruby ["Leaving"]
<apeiros> hm, not sure I like grepv. IMO my own ~Regexp is better.
<apeiros> the former requires a second version of all methods which take a regexp
zotherstupidguy has joined #ruby
<apeiros> the latter allows immediate use in any construct which performs simple matching
trifling-jest has joined #ruby
<trifling-jest> hi guys
<trifling-jest> is there a problem with turbolinks currently?
<apeiros> ?rails trifling-jest
<ruby[bot]> trifling-jest: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<trifling-jest> ah yeah sorry wrong room
<trifling-jest> thanks
karapetyan has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
Jardayn has quit [Quit: Leaving]
shanemcd has quit [Remote host closed the connection]
FooMunki has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
gagrio-brb is now known as gagrio
imperator has joined #ruby
Hounddog has quit [Remote host closed the connection]
idefine has joined #ruby
karapetyan has joined #ruby
Channel6 has quit [Quit: Leaving]
blackmes1 has quit [Ping timeout: 260 seconds]
|ZzZzZzZz| has quit [Ping timeout: 250 seconds]
kgutteridge has quit [Quit: kgutteridge]
maesitos has joined #ruby
idefine has quit [Remote host closed the connection]
olspookishmagus has joined #ruby
blackms has joined #ruby
dopie has quit [Quit: Lost terminal]
<imperator> good morning
<imperator> confused about what exactly constitutes "gzip format"
karapetyan has quit [Remote host closed the connection]
<imperator> text = "<text>stuff</text>" * 10; compressed = Zlib::Deflate.deflate(text); encoded = Base64.encode64(compressed)
Snowy has joined #ruby
<imperator> apparently that's still not gzip format
binaryplease has quit [Ping timeout: 276 seconds]
ElFerna_ has quit [Ping timeout: 260 seconds]
<apeiros> you mean as in how to save it to a file with .gzip suffix?
Jardayn has joined #ruby
<apeiros> errr, .gz
kgutteridge has joined #ruby
idefine has joined #ruby
<imperator> apeiros, need to test with ActiveSupport::Gzip.decompress
<imperator> which in turn is calling Zlib::GzipReader.new(StringIO.new(encoded))
pawnbox has joined #ruby
<apeiros> iirc zlib deflate is not gzip
idefine has quit [Remote host closed the connection]
<imperator> oh. hrm.
avenj has joined #ruby
<apeiros> Zlib::Gzip* are for gzip
idefine has joined #ruby
BaroMeter has quit [Quit: Leaving]
<apeiros> GzipReader/GzipWriter are probably the ones of interest to you
<apeiros> and I remember them to be rather inconvenient to deal with just strings
k13nox has joined #ruby
<imperator> yeah, looks like it's not setup for stream compression, gotta use a file :(
whippythellama has joined #ruby
<apeiros> StringIO worked iirc
idefine has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
<apeiros> at least I'm pretty sure I've used those in the past without a file
Mon_Ouie has joined #ruby
floatingpoint has joined #ruby
<apeiros> yupp, works
Pumukel has joined #ruby
<imperator> ok, thanks
idefine has joined #ruby
<apeiros> w
<apeiros> *yw
* apeiros accidentally the abbreviation
Akuma has joined #ruby
norc has quit [Ping timeout: 252 seconds]
kam270 has quit [Ping timeout: 276 seconds]
podman has joined #ruby
norc_ has quit [Ping timeout: 252 seconds]
alexishuard has joined #ruby
n008f4g_ has joined #ruby
mattwildig has quit [Remote host closed the connection]
alexishuard has joined #ruby
Pupp3tm4st3r has quit [Quit: Leaving...]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
Qureshi has joined #ruby
karapetyan has joined #ruby
Qureshi_ has joined #ruby
tesuji has quit [Ping timeout: 260 seconds]
aufi has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
rodolfowtf has joined #ruby
decoponio has joined #ruby
babblebre has joined #ruby
Qureshi has quit [Ping timeout: 268 seconds]
solars has quit [Ping timeout: 250 seconds]
shanemcd has joined #ruby
anisha has quit [Quit: Leaving]
Gnut has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
flughafen_ has quit [Ping timeout: 260 seconds]
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
pdoherty has quit [Ping timeout: 276 seconds]
zast has joined #ruby
duckpupp1 has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
dkam_ has joined #ruby
shanemcd has quit [Ping timeout: 276 seconds]
dhf has quit [Quit: Connection closed for inactivity]
eregi has joined #ruby
<darix> imperator: base64 after compression sounds weird
ElFerna_ has joined #ruby
darkf_ has joined #ruby
kies^ has joined #ruby
vbatts|work has left #ruby ["found the other side of the rainbow"]
<imperator> darix, could be, wasn't sure if that was intrinsic to compression/gzip format or not
vbatts|work has joined #ruby
vbatts|work has left #ruby ["found the other side of the rainbow"]
<imperator> i'm not that familiar with what goes on under the hood
dkam_ has quit [Ping timeout: 248 seconds]
rdavila has joined #ruby
<darix> imperator: that feels awkward .. you compress first and then explode the data into base64 again^^
dlitvak has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 260 seconds]
<imperator> darix, looking at the examples i came across, it looks like they were doing that just to make it printable or something
<imperator> or maybe that's necessary to go across the wire properly?
idefine has quit [Remote host closed the connection]
<darix> naw
<darix> also not required for that
darkf has quit [Ping timeout: 276 seconds]
ready has quit [Ping timeout: 260 seconds]
mfaeh has joined #ruby
<imperator> hm...my memory may be failing me, but i seem to recall having issues with raw output across the wire, but let me test that
Vingador has quit [Quit: Leaving]
<darix> depends on the protocol on the line
bubbys has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
dlitvak has joined #ruby
flughafen_ has joined #ruby
kies^ has quit [Ping timeout: 246 seconds]
darkf_ has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
kf has joined #ruby
idefine has quit [Ping timeout: 260 seconds]
idefine_ has joined #ruby
karapetyan has joined #ruby
shanemcd has joined #ruby
mattwildig has joined #ruby
Timberwo|f has joined #ruby
<imperator> yeah, it comes across the wire as numbers ;)
hxegon has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
<apeiros> base64 is usually used for non-binary safe carriers
aegis3121 has quit [Ping timeout: 246 seconds]
<apeiros> like to embed it in html
<darix> imperator: like any binary. though question is http?
<darix> proper headers set?
karapetyan has quit [Read error: Connection reset by peer]
<darix> so if we want to embed apeiros. we will need base64. a lot of base64.
<imperator> well, this is via the winrm module, so basically i'm running a powershell script remotely, compressing the results on their end, and retrieving the data on my end
shanemcd has quit [Remote host closed the connection]
aegis3121 has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
<imperator> looking at the raw output, it's "\r\n108\r\n145\r\n44\r\n255\r\n177\r\n142" and so on
dlitvak has joined #ruby
stannard has quit [Remote host closed the connection]
mary5030 has joined #ruby
stannard has joined #ruby
chouhoulis has joined #ruby
ready has joined #ruby
PaulCapestany has quit [Quit: .]
eregi has joined #ruby
PaulCapestany has joined #ruby
shanemcd has joined #ruby
bubbys has joined #ruby
charlemagne has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
stan has quit [Quit: Leaving]
sandstrom has joined #ruby
codecop has joined #ruby
BTRE has quit [Ping timeout: 260 seconds]
Gasher has joined #ruby
spider-mario has quit [Remote host closed the connection]
darkf has joined #ruby
shanemcd has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dhollinger has quit [Quit: WeeChat 1.4]
devbug has joined #ruby
BTRE has joined #ruby
QORRiE has joined #ruby
rcvalle has joined #ruby
cdg has joined #ruby
speakingcode has joined #ruby
binaryplease has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
SenpaiSilver has joined #ruby
ElFerna_ has quit [Ping timeout: 268 seconds]
dhollinger has joined #ruby
terminal_ has joined #ruby
tjohnson has joined #ruby
dionysus69 has quit [Quit: dionysus69]
BullHorn has joined #ruby
scepticulous has quit [Ping timeout: 260 seconds]
mephistophocles has quit [Remote host closed the connection]
polishdub has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<BullHorn> hello i am new
Gnut has joined #ruby
<BullHorn> i tried python a bit and some thing about it annoyed me
<BullHorn> im thinking of looking at ruby, is there a go-to website/book/videoseries for complete programming beginners
astrofog has joined #ruby
nando293921 has joined #ruby
ljames has quit []
<ytti> BullHorn, https://www.ruby-lang.org/en/documentation/ maybe this helps
<adaedra> ?links BullHorn
James has joined #ruby
dome22xl has joined #ruby
<BullHorn> thanks ill take a look... a lot to choose from. anything specific out of that bunch?
mattwildig has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
DmitryBochkarev has joined #ruby
darkf has quit [Quit: night]
existensil has quit [Quit: WeeChat 0.4.2]
jas02 has quit [Quit: jas02]
<shevy> BullHorn https://pine.fm/LearnToProgram/chap_00.html is a good starter, at the least you know how to use irb afterwards :D
lyoshajapan has quit [Ping timeout: 260 seconds]
laith has quit [Quit: Leaving.]
idefine has joined #ruby
godzillaenlacasa has joined #ruby
fostertheweb has joined #ruby
idefine_ has quit [Ping timeout: 250 seconds]
rkazak has quit [Ping timeout: 260 seconds]
diegoviola has quit [Quit: WeeChat 1.4]
m4rCsi_ has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
blackms has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
duckpupp1 has joined #ruby
mfb2 has joined #ruby
kgutteridge has joined #ruby
aufi has joined #ruby
kgutteridge has quit [Client Quit]
elaptics is now known as elaptics`away
Qureshi_ has quit []
synthroid has quit [Remote host closed the connection]
cschneid_ has joined #ruby
mephistophocles has joined #ruby
finisherr has quit [Quit: finisherr]
dunj4 has joined #ruby
idefine_ has joined #ruby
dunj3 has quit [Disconnected by services]
<Gasher> could someone please link me that new soft that's like RVM but better?
duckpupp1 has quit [Ping timeout: 248 seconds]
dunj4 is now known as dunj3
dkam_ has joined #ruby
devbug has quit [Ping timeout: 268 seconds]
m4rCsi has quit [*.net *.split]
jmignault has quit [Ping timeout: 246 seconds]
idefine has quit [Ping timeout: 246 seconds]
laith has joined #ruby
<kf> RBENV?
<adaedra> chruby?
Snowy has quit [Remote host closed the connection]
hamed_r has joined #ruby
eregi has quit [Ping timeout: 268 seconds]
<Gasher> thanks
elifoster has joined #ruby
<Gasher> in simple words, which one is better / what's different?
chouhoulis has quit [Remote host closed the connection]
<havenwood> Gasher: Of the two I linked, the first switches between Rubies and the second installs Rubies. They work together.
mephistophocles has quit [Ping timeout: 246 seconds]
<adaedra> ?better
<ruby[bot]> "Best" and "better" are subjective. Try to use a different term.
<havenwood> Gasher: RVM, rbenv/ruby-build and chruby/ruby-install are three paths of many that one can take for installing and switching between Rubies.
<adaedra> rbenv uses a "shim" system, which is some proxy executables that will select the right ruby when running it or a gem command, whereas chruby will update $PATH to point directly to the right binaries.
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
araujo has joined #ruby
augcesar[2] has joined #ruby
augcesar[2] has quit [Client Quit]
rodfersou|lunch is now known as rodfersou
mg^ has joined #ruby
<havenwood> and ruby-build ships its own openssl but otherwise relies on you for deps and ruby-install uses your package manager for openssl and deps
kgutteridge has joined #ruby
idefine_ has quit [Remote host closed the connection]
eregi has joined #ruby
cabargas has joined #ruby
<havenwood> for ruby-build you update the tool to get new checksum/version metadata and for ruby-install you sync the latest checksum/version metadata from the ruby-versions repo
rodolfowtf has quit [Quit: No Ping reply in 180 seconds.]
snapcase has quit [Ping timeout: 244 seconds]
snapcase has joined #ruby
rodolfowtf has joined #ruby
k13nox has quit [Quit: Leaving...]
floatingpoint is now known as grill_
grill_ is now known as _grill
fullofcaffeine has quit [Remote host closed the connection]
bronson has joined #ruby
andikr has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
alexishuard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodolfowtf has quit [Ping timeout: 246 seconds]
marxarelli has joined #ruby
Abrin has joined #ruby
safe has joined #ruby
marxarelli has quit [Client Quit]
trifling-jest has quit [Quit: Leaving]
marxarelli has joined #ruby
last_staff has joined #ruby
verde has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 268 seconds]
allcentury has quit [Ping timeout: 248 seconds]
Abrin is now known as Abrin_AWAY
Couch has quit [Ping timeout: 276 seconds]
idefine has joined #ruby
william3 has quit [Remote host closed the connection]
allcentury has joined #ruby
charlemagne has quit [Read error: Connection reset by peer]
tvw has quit [Read error: Connection reset by peer]
eregi has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
amclain has joined #ruby
verdan has joined #ruby
symm- has joined #ruby
eregi has joined #ruby
william3 has joined #ruby
kf has quit [Remote host closed the connection]
eurialo has joined #ruby
kf has joined #ruby
mfb2 has quit []
tomphp has quit [Ping timeout: 260 seconds]
laith has quit [Quit: Leaving.]
vasilakisfil has quit [Quit: Konversation terminated!]
jottr has joined #ruby
shanemcd has joined #ruby
joonty has quit [Ping timeout: 248 seconds]
gregf has quit [Quit: WeeChat 1.4]
bronson has quit [Remote host closed the connection]
finisherr has joined #ruby
i8igmac has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
mdih has quit [Ping timeout: 268 seconds]
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has quit [Remote host closed the connection]
LuckyABA has joined #ruby
Eiam has joined #ruby
dkam_ has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
blandflakes has joined #ruby
shanemcd has quit [Remote host closed the connection]
KensoDev has joined #ruby
idefine has joined #ruby
Authenticator has left #ruby [#ruby]
tomphp has joined #ruby
dome22xl has quit [Ping timeout: 276 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinu_ has quit [Ping timeout: 246 seconds]
triangles2 has quit [Quit: Leaving]
devbug has joined #ruby
benlieb has joined #ruby
nogic has joined #ruby
cj is now known as da_man
nogic has quit [Max SendQ exceeded]
krzkrzkrz has quit [Ping timeout: 250 seconds]
nogic has joined #ruby
cj__ is now known as cj
mlehrer has quit [Quit: Leaving]
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
binaryplease has quit [Ping timeout: 268 seconds]
devbug has quit [Remote host closed the connection]
devbug has joined #ruby
dopie has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
pdoherty has joined #ruby
chouhoulis has joined #ruby
solars has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
mark4 has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 276 seconds]
tvw has quit [Ping timeout: 268 seconds]
jeanlinux has joined #ruby
goodcodeguy has joined #ruby
shadeslayer has quit [Ping timeout: 276 seconds]
duckpupp1 has joined #ruby
dstarh has quit [Read error: Connection reset by peer]
<t-richards> Hey guys, I'm looking for what I believe was an open-source "learn ruby" book online. I forget the name; it's on the tip of my tongue! It's not any of these things: http://learnrubythehardway.org/book/index.html http://ruby.bastardsbook.com/chapters/installation/ https://launchschool.com/books/ruby
<t-richards> There was one distinct quality I recall; I was browsing the book source on GitHub and I noticed they were generating some very pretty Mac OS-looking decorated irb snippets by using a liquid tag in Jekyll:
<t-richards> Something along the lines of
<t-richards> {% irb %}
<Nilium> Do you remember anything about the writing style?
Snowy has joined #ruby
shadeslayer has joined #ruby
<t-richards> I'm afraid I don'
<t-richards> t.
<Nilium> Guessing it's probably not _why's
synthroid has joined #ruby
<apeiros> t-richards: pine.fm maybe?
verdan has quit [Remote host closed the connection]
<t-richards> I don't believe it was the Poignant guide, no.
<apeiros> or the pickaxe? ruby pickaxe
<t-richards> apeiros: Not that one either :(
<apeiros> damn safari
gregf has joined #ruby
<t-richards> (The pine)
al2o3-cr has quit [Ping timeout: 268 seconds]
<apeiros> gotta reload before being able to copy the url after a search. I keep forgetting that :(
counterapparatus has joined #ruby
<t-richards> Not the pickaxe one either, I'm afraid.
duckpupp1 has quit [Ping timeout: 246 seconds]
<t-richards> The major visual distinction was that they had irb sessions in the markup (not screenshots) with a window-decoration thing applied to them
zacstewart has joined #ruby
dionysus69 has joined #ruby
<t-richards> I wish there were a usable code search tool; I'm 99% positive that I saw "{% irb %}" on GitHub after discovering that their book was open-source
Snowy has quit [Remote host closed the connection]
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
counterapparatus has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
dome22xl has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
solars_ has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
<shevy> we will never find out!
dionysus69 has quit [Read error: Connection reset by peer]
william3 has quit [Remote host closed the connection]
<t-richards> It's breaking my brain! I'm going to find this book, dangit.
chouhoulis has quit [Ping timeout: 276 seconds]
solars has quit [Ping timeout: 276 seconds]
TomyWork has quit [Ping timeout: 244 seconds]
cdg has quit [Remote host closed the connection]
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
gizmore has joined #ruby
evidex has quit [Ping timeout: 268 seconds]
alexishuard has joined #ruby
crystal77 has joined #ruby
aufi has quit [Ping timeout: 248 seconds]
Disavowed has joined #ruby
chouhoulis has joined #ruby
xxneolithicxx has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
cdg has joined #ruby
dlitvak has quit [Remote host closed the connection]
sandstrom has joined #ruby
dionysus69 has joined #ruby
volty has joined #ruby
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty> hi, monitor process memory using without resorting to external prog (like ps) ?
<volty> * usage
kith_ is now known as kith
maesitos has quit [Remote host closed the connection]
nogic has joined #ruby
<alexishuard> is it a question ?
<eam_> volty: it's operating system dependent
nogic has quit [Client Quit]
eam_ is now known as eam
<shevy> Ruby OS!
chouhoulis has quit [Remote host closed the connection]
<eam> shevy: don't be fatuous
<volty> eam: so nothing else than ps or c call ?
<apeiros> volty: depending on your OS, there's /proc
<eam> volty: there are a ton of ways to do it, but it depends on your OS
<Mon_Ouie> GC.stat has some info
<shevy> eam everyone loved the real lebowski!
<Mon_Ouie> (If you mean the ruby process's own memory usage)
<shevy> cool... I don't think I have used GC.stat before
<shevy> Mon_Ouie and havenwood are my two main knowledge bases here in #ruby, they know the wild stuff
<shevy> :heap_tomb_pages
<shevy> GC.stat even has zombie info!
dionysus69 has quit [Quit: dionysus69]
shanemcd has joined #ruby
dome22xl has quit [Read error: Connection reset by peer]
<volty> yap, thx Mon_Ouie, thx all
bluOxigen has joined #ruby
dome22xl has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
TomyLobo has joined #ruby
shanemcd has quit [Remote host closed the connection]
mfaeh has quit []
shanemcd has joined #ruby
eip` has left #ruby [#ruby]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
intrigueD has joined #ruby
baweaver has joined #ruby
al2o3-cr has joined #ruby
ElFerna_ has joined #ruby
<volty> I hope gc.stat relies on os system calls. I have an extension (webkit) that sometimes eats too much memory.
nogic has joined #ruby
pandaant has quit [Remote host closed the connection]
Anderson69s_Deb has quit [Remote host closed the connection]
<volty> linux here, but I'll need it on win too
<Mon_Ouie> I don't think it knows about memory usage that isn't due to the size of actual Ruby objects
dionysus69 has joined #ruby
<volty> ah, thx again, I'll go with apeiros' /proc, and then think about win with ext prog or a small c extension
duncannz has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
dionysus69 has quit [Client Quit]
hakunin_ is now known as hakunin
dkam_ has joined #ruby
blackgoat has joined #ruby
baweaver has quit [Remote host closed the connection]
BSaboia has joined #ruby
ta_ has joined #ruby
freerobby has joined #ruby
volty has quit [Quit: Konversation terminated!]
dkam_ has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
graydot has joined #ruby
dionysus69 has joined #ruby
mattwildig has joined #ruby
rehat has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
joonty has joined #ruby
mattwildig has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
mattwildig has joined #ruby
andikr has joined #ruby
Gnut_ has joined #ruby
nogic has joined #ruby
nogic has quit [Remote host closed the connection]
Don_John has joined #ruby
bronson has quit [Remote host closed the connection]
stannard has joined #ruby
sandstrom has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Gnut has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
ta__ has joined #ruby
kgutteridge has joined #ruby
Mia has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
platzhirsch has left #ruby [#ruby]
atmosx has quit [Quit: This is aparting message!]
lakiluki has joined #ruby
ta_ has quit [Ping timeout: 246 seconds]
kgutteridge has quit [Client Quit]
Pumukel has quit [Ping timeout: 260 seconds]
<lakiluki> Hello guys, I'm new at ruby and I'm trying to make a script that fetches xml data using open-uri. The code looks like this "Nokogiri::XML(open(url))", the problem is the script exites when the http code is 400 (which can happen and I just want it to ignore it), how can I do this?
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gnut has joined #ruby
joonty has quit [Ping timeout: 268 seconds]
duckpupp1 has joined #ruby
djbkd has joined #ruby
baweaver has joined #ruby
nogic has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nogic has quit [Max SendQ exceeded]
Bounga has quit [Ping timeout: 250 seconds]
nogic has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
nogic has quit [Max SendQ exceeded]
lyoshajapan has joined #ruby
nogic has joined #ruby
Gnut_ has quit [Ping timeout: 276 seconds]
<Ox0dea> lakiluki: Are you sure you don't want to fix whatever's causing you to make bad requests?
kgutteridge has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
<lakiluki> 0x0dea: Well I'm getting the data from a REST service and "400 Bad request" includes the error code and description in the XML data, and I want to display that.
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<lakiluki> So yeah, I don't want to fix it
nogic has quit [Max SendQ exceeded]
duckpupp1 has quit [Ping timeout: 268 seconds]
nogic has joined #ruby
dopamean_ has joined #ruby
nogic has quit [Max SendQ exceeded]
<lakiluki> Ox0dea, quoating again since I misspelt your username in the previous message, the O and 0 are hard to differ haha
<Ox0dea> lakiluki: Sorry about that. Maybe use a font with a slashed zero. :P
nogic has joined #ruby
sneakerhax has joined #ruby
nogic has quit [Max SendQ exceeded]
<Ox0dea> In any case, the name of the exception in question is Net::HTTPBadRequest; rescue that and do whatever seems appropriate.
lyoshajapan has quit [Ping timeout: 260 seconds]
kgutteridge has quit [Client Quit]
<lakiluki> Ox0dea, it actually has a dot in the middle of the zero, but I didn't see it at first, I need to get my eyes checked haha
dionysus69 has quit [Quit: dionysus69]
brijesh has joined #ruby
nogic has joined #ruby
dome22xl has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
dome22xl has joined #ruby
hamed_r has quit [Quit: Leaving]
<Ox0dea> lakiluki: Nah, you can't be faulted for seeing what's supposed to be a hexadecimal literal as, well, a hexadecimal literal. :P
dionysus69 has joined #ruby
m8 has quit [Quit: Sto andando via]
* apeiros uses a font with dotted zero
<apeiros> since slashed zero is actually a different character
dome22xl has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 250 seconds]
<apeiros> øØ0O # 4 different chars
dome22xl has joined #ruby
<Papierkorb> That isn't even a slashed zero .. it's a slashed o ..
freerobby has quit [Quit: Leaving.]
dfockler has joined #ruby
<apeiros> true. http://www.fileformat.info/info/unicode/char/d8/index.htm (I need to get a proper standard ref for unicode chars)
Anderson69s_Deb has joined #ruby
<tobiasvl> yes, øØ is a letter in my alphabet :P
zotherstupidguy has quit [Ping timeout: 276 seconds]
ferr has quit [Quit: WeeChat 1.4]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
elifoster has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Quit: dionysus69]
blackmes1 has joined #ruby
dionysus69 has joined #ruby
djbkd has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ruby329 has joined #ruby
dome22xl has quit [Ping timeout: 276 seconds]
firstdayonthejob has joined #ruby
<adaedra> tobiasvl: no or dk?
SCHAAP137 has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
<ruby329> Hey guys, so I have two questions. Are there any major differences for going through files on a windows computer vs a linux computer? Also, how would I go through files on a server instead of my harddrive?
djbkd has joined #ruby
jeanlinux has quit [Ping timeout: 246 seconds]
uglybandersnatch has joined #ruby
cstls has quit [Ping timeout: 248 seconds]
Todd has joined #ruby
<adaedra> ruby329: there are some differences between Windows an Linux FS (Mainly, Windows use drive letters, C:, D:, etc, where linux has a common root /). It depends on what you need to do.
<tobiasvl> adaedra: no
alexishuard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> no. the bane of yaml.
dopamean_ has quit [Quit: WeeChat 1.3]
<adaedra> ruby329: for a server, you may want to use something like ftp or sftp (or mount it through smb or nfs and access it like a local fs)
<adaedra> tobiasvl: I wondered for a second what you were replying negatively to :D
dome22xl has joined #ruby
Pupp3tm4st3r has joined #ruby
ekinmur has joined #ruby
<tobiasvl> hey, you were the one who asked and presented me with the options!
<adaedra> HEJ NORGE
kirun has joined #ruby
<tobiasvl> HEJ HEJ HEMSKT MYCKET HEJ
<Ox0dea> So many consonants.
aegis3121 has joined #ruby
beast has quit [Quit: Leaving]
bb010g has joined #ruby
<ruby329> adaedra: I'm not doing anything major, just listing off all of the files, and for ftp/sftp do you have any recommended gems? Lastly, what would be the best way to list all files in a directory including sub directories. I can implement a recursive function, but I suspect ruby might already have something in place.
uglybandersnatch has quit [Ping timeout: 246 seconds]
<adaedra> For the first question
<adaedra> &ri FTP SFTP
<`derpy> No results
<adaedra> Ah ? :D
<adaedra> For the second one
<adaedra> &ri Dir#glob
<`derpy> No results
<adaedra> Ok, something's broken
<adaedra> &ri Dir.glob
fostertheweb has joined #ruby
<adaedra> Me, for starters
alexishuard has joined #ruby
<Ox0dea> &ri Net::FTP
dionysus69 has quit [Quit: dionysus69]
<ruby329> adaedra: thanks!
<adaedra> Ah, I could have bet we had ssh bindings
<ruby329> Ox0dea: thanks!
dome22xl has quit [Ping timeout: 250 seconds]
<adaedra> For sftp, there's https://rubygems.org/gems/net-sftp
zast has quit [Remote host closed the connection]
* adaedra baps `derpy
cnr_roxx has joined #ruby
binaryplease has joined #ruby
Anderson69s_Deb has quit [Read error: No route to host]
mrmargolis has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
Domaldel has quit [Read error: Connection reset by peer]
dome22xl has joined #ruby
solocshaw has joined #ruby
Anderson69s_Deb has joined #ruby
Anderson69s_Deb has quit [Read error: Connection reset by peer]
cstls has joined #ruby
rdark has quit [Ping timeout: 260 seconds]
Dimik has joined #ruby
shadoi has joined #ruby
cstls` has joined #ruby
marxarelli is now known as marxarelli|afk
Anderson69s_Deb has joined #ruby
nogic has joined #ruby
cstls has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 276 seconds]
dome22xl has quit [Ping timeout: 250 seconds]
dome22xl has joined #ruby
<flughafen_> is def foo(bar = 0) the same as (bar: 0)?
<adaedra> nope.
the_drow has joined #ruby
<adaedra> you call the first `foo 3` and the second `foo bar: 3`
weaksauce has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
KensoDev has joined #ruby
<flughafen_> thanks adaedra
Disavowed has quit [Ping timeout: 268 seconds]
arthurix has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
arthurix has joined #ruby
Asher has quit [Quit: Leaving.]
arthurix_ has joined #ruby
Pupp3tm4st3r has quit [Remote host closed the connection]
dome22xl has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
fullofca_ has joined #ruby
arthurix has quit [Ping timeout: 250 seconds]
Cohedrin has joined #ruby
fullofcaffeine has quit [Ping timeout: 248 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
vF3hNGxc47h8 has joined #ruby
rdavila has joined #ruby
Snowy has joined #ruby
kgutteridge has joined #ruby
Pumukel has joined #ruby
laith has joined #ruby
cnr_roxx has quit [Ping timeout: 260 seconds]
sandstrom has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
ESpiney has joined #ruby
ESpiney has quit [Max SendQ exceeded]
ESpiney has joined #ruby
laith has quit [Client Quit]
laith has joined #ruby
dfockler has quit [Ping timeout: 250 seconds]
Gnut has quit [Quit: Lost terminal]
chouhoulis has quit [Remote host closed the connection]
spider-mario has joined #ruby
chouhoulis has joined #ruby
jeanlinux has joined #ruby
ht_ has joined #ruby
_ht has quit [Remote host closed the connection]
LuckyABA has quit [Read error: Connection reset by peer]
duckpupp1 has joined #ruby
ruby-lang375 has joined #ruby
ElFerna_ has quit [Quit: WeeChat 1.3]
fullofca_ has quit [Remote host closed the connection]
baweaver has joined #ruby
ruby-lang375 has quit [Client Quit]
pdoherty has quit [Ping timeout: 248 seconds]
fostertheweb has quit [Quit: Textual IRC Client: www.textualapp.com]
lvn has joined #ruby
duckpupp1 has quit [Ping timeout: 276 seconds]
JakFrist has joined #ruby
lvn has quit [Client Quit]
lvn has joined #ruby
cnr_roxx has joined #ruby
binaryplease has quit [Ping timeout: 248 seconds]
intrigueD has quit [Remote host closed the connection]
william3 has joined #ruby
ghoti_ is now known as ghoti
baweaver has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
trinaldi has quit [Quit: bye...]
jeanlinux has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
astrofog has quit [Quit: Quite]
pawnbox has joined #ruby
existensil has joined #ruby
dkam_ has joined #ruby
krobzaur has joined #ruby
bronson has quit [Remote host closed the connection]
Guest-ru has joined #ruby
Snowy has quit [Remote host closed the connection]
trosborn has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
ixti has joined #ruby
ur5us has joined #ruby
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has joined #ruby
LuckyABA has joined #ruby
aegis3121 has joined #ruby
symm- has quit [Quit: Leaving...]
n008f4g_ has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
dionysus69 has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
benlieb has quit [Quit: benlieb]
dkam_ has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
benlieb has joined #ruby
mattwildig has quit [Remote host closed the connection]
trosborn has quit [Quit: trosborn]
dionysus69 has quit [Ping timeout: 246 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
imperator has left #ruby ["Leaving"]
<havenwood> >> [public_method(def foo(bar = 0) end).parameters, public_method(def baz(quz: 0) end).parameters]
<ruby[bot]> havenwood: # => method `foo' for class `#<Class:#<Object:0x413f9350>>' is private (NameError) ...check link for more (https://eval.in/527635)
<havenwood> fine
<havenwood> >> [method(def foo(bar = 0) end).parameters, method(def baz(quz: 0) end).parameters]
<ruby[bot]> havenwood: # => [[[:opt, :bar]], [[:key, :quz]]] (https://eval.in/527636)
<havenwood> flughafen_: ^
<flughafen_> 'thanks havenwood
trosborn has joined #ruby
<havenwood> (in irb/pry they're public, top level must be funky in eval.in)
william3 has joined #ruby
InternetFriend has joined #ruby
gizmore has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
<al2o3-cr> yeah, that's why refinements don't function properly, i bet
<kaleido> >> a ="b" ; b = a ; puts a + b
<ruby[bot]> kaleido: # => bb ...check link for more (https://eval.in/527637)
<kaleido> im so good at this
* al2o3-cr deja vu
kgutteridge has joined #ruby
Snowy has joined #ruby
mrmargolis has quit []
<Ox0dea> al2o3-cr: Hm? Refinements are wonky because you're not at the top-level binding in Pry.
Guest34101 has quit [Ping timeout: 246 seconds]
<Ox0dea> Not by default, anyway. ;)
<Ox0dea> kaleido: Are you learning Ruby?
<al2o3-cr> good to know, thanks Ox0dea
<adaedra> déjà é_è
<kaleido> Ox0dea: i am. im a bit more knowledgable than what i had rubybot do, but im definitely a noob
diegoviola has quit [Quit: WeeChat 1.4]
cholq has joined #ruby
<Ox0dea> adaedra: I was actually going to ask if there's anything at the intersection of déjà vu and Schadenfreude. :P
BtcBen has joined #ruby
fertapric has joined #ruby
<InternetFriend> lel
tulak has quit [Remote host closed the connection]
tulak has joined #ruby
Zackio has quit [Quit: RIP]
sandstrom has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
<havenwood> >> class << self; remove_method :inspect end; self
<ruby[bot]> havenwood: # => #<Object:0x40b19348> (https://eval.in/527641)
dlitvak has joined #ruby
Matthews_ has quit [Remote host closed the connection]
ss_much has joined #ruby
cnr_roxx has quit [Ping timeout: 248 seconds]
jolts is now known as joltsafk
jordanm has joined #ruby
MatthewsFace has joined #ruby
pawnbox has joined #ruby
ht_ has quit [Quit: Konversation terminated!]
ht_ has joined #ruby
Eiam_ has joined #ruby
<jordanm> I have a repository with multiple projects. each project is in it's own directory of the root of the project. each one has it's own rakefile, with some minor differences. I already have some common functions shared between rake files, but I would also like to share namespaces and tasks. does rake support any type of inheritance?
InternetFriend has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
Zackio has joined #ruby
n008f4g_ has joined #ruby
idefine has quit [Remote host closed the connection]
nogic has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
synthroid has quit []
mattwildig has joined #ruby
idefine has joined #ruby
andikr has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
nando293921 has joined #ruby
Guest-ru has quit []
jottr has quit [Read error: Connection reset by peer]
j3r0 has quit [Ping timeout: 246 seconds]
Shaboum has quit [Quit: WeeChat 1.4]
pdoherty has joined #ruby
Snowy has quit [Quit: ragequit]
trinaldi has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
jottr has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
duckpupp1 has joined #ruby
Disavowed has joined #ruby
jottr has quit [Read error: Connection reset by peer]
Pumukel has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Moosashi has joined #ruby
<Disavowed> Hey all. New to Ruby so go easy on me. What's the name for something that creates directories and files during a gem install? I'm trying to write one but I'm having trouble finding relevant information.
<shevy> well it is valid ruby code so you can use everything that ruby allows you to use jordanm but I am not sure if rake itself has any form of extra inheritance-pattern for subdirectories or projects in them
<jordanm> shevy: thanks
<shevy> Disavowed is it require 'fileutils'; FileUtils.mkdir_p() ?
<shevy> or just a recursive copy perhaps... cp_rv or cp_r() and verbose flag... guess cp_rv does not exist :D
<Disavowed> shevy: Oh wow, don't I feel like an idiot! Thank you so much!
benlieb has quit [Quit: benlieb]
nofxx has quit [Ping timeout: 250 seconds]
duckpupp1 has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
jottr has quit [Read error: Connection reset by peer]
Moosashi has quit [Client Quit]
nogic has joined #ruby
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
stannard has joined #ruby
<Disavowed> I'm creating my first Gem - what's the best way to run it while developing? Do I have to build it each time?
ekinmur has quit [Quit: Textual IRC Client: www.textualapp.com]
<adaedra> The -Ilib flag.
<adaedra> (It's a capitalized I.)
<adaedra> So if you have a binary, `ruby -Ilib bin/mygem`, or if you want to play with it, `pry -Ilib -rmygem` (for requiring it)
j3r0 has joined #ruby
<adaedra> I think there's also a bundle console command that does the same.
solars_ has quit [Ping timeout: 260 seconds]
skade has joined #ruby
lvn has quit [Ping timeout: 276 seconds]
<shevy> Disavowed I usually use setup.rb to copy the new one without having to build a new gem and installing it; but this would also be easy with aliases + ruby scripts
InternetFriend has joined #ruby
jeanlinux has joined #ruby
<adaedra> “ruby(>=1.4)” — Hahahahahahaha.
<shevy> everlasting source code
kf has quit []
nogic has quit [Ping timeout: 276 seconds]
<Disavowed> adaedra: shevy: Perfect suggestions; thank you both!
<Disavowed> I'm coming from Python. It's early days but I think I prefer Ruby.
FernandoBasso has joined #ruby
<adaedra> A real programmer knows to use the tool that best fits the task.
<Disavowed> adaedra: Agreed. But there's a lot to like here.
pawnbox has joined #ruby
<adaedra> ;)
baweaver has quit [Remote host closed the connection]
benlieb has joined #ruby
jottr has joined #ruby
nogic has joined #ruby
jottr has quit [Read error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
benlieb has quit [Client Quit]
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 276 seconds]
symm- has joined #ruby
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
marxarelli|afk is now known as marxarelli
brijesh has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: Textual IRC Client: www.textualapp.com]
nerium has joined #ruby
<Disavowed> Is there an easy way to get Pry to automatically reload a module when its code is changed? Sorry for all the questions!
lvn has joined #ruby
jottr has joined #ruby
tomphp has joined #ruby
jottr has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
jenrzzz has joined #ruby
ht_ has quit [Read error: Connection reset by peer]
bronson has quit [Remote host closed the connection]
_ht has joined #ruby
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Axy has quit [Ping timeout: 268 seconds]
nogic has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
ldnunes has quit [Quit: Leaving]
allcentury has quit [Ping timeout: 276 seconds]
vdamewood has quit [Quit: Life beckons.]
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
jottr has joined #ruby
cnr_roxx has joined #ruby
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
polishdub has quit [Remote host closed the connection]
trosborn has quit [Quit: trosborn]
dgncn_ has joined #ruby
lvn has quit [Remote host closed the connection]
despai has joined #ruby
lvn has joined #ruby
dgncn has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
snockerton has joined #ruby
pdoherty has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
unreal_ has joined #ruby
hangelo has joined #ruby
Abrin_AWAY is now known as Abrin
intrigueD has joined #ruby
unreal has quit [Ping timeout: 246 seconds]
fertapric has quit [Quit: Textual IRC Client: www.textualapp.com]
snockerton1 has joined #ruby
warreng__ has joined #ruby
warreng__ has left #ruby [#ruby]
warreng__ has joined #ruby
<warreng__> quick regexp question... i have a CSV file that doesn't escape quotes. knowing that fields are comma delimited and strings are wrapped in matching double quotes, can regex convert the string "2015-07-25","Toys"r"us","-17.95" to "2015-07-25","Toys""r""us","-17.95" (notice double "" in "Toys""r""us")?
nando293921 has quit [Ping timeout: 246 seconds]
veduardo has joined #ruby
veduardo has quit [Client Quit]
<warreng__> likely using lookahead and lookbehind?
<tobiasvl> warreng__: should work, look into negative lookbehind/lookahead and exclude ," and ",
snockerton has quit [Ping timeout: 252 seconds]
uglybandersnatch has joined #ruby
cdg has joined #ruby
cabargas has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
fullofcaffeine has joined #ruby
<warreng__> tobiasvl: http://www.perlmonks.org/bare/?node_id=270993 looks about right? (perl not ruby)
A124 has quit [Ping timeout: 246 seconds]
arlek has joined #ruby
djbkd has quit [Remote host closed the connection]
MeMoc has quit [Quit: Connection closed for inactivity]
<tobiasvl> yes
B1n4r10 has quit [Ping timeout: 246 seconds]
cabargas has quit [Ping timeout: 246 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
johnmilton has quit [Remote host closed the connection]
BSaboia has quit [Quit: Leaving]
the_drow has quit [Quit: This computer has gone to sleep]
fertapric has joined #ruby
AndroUser123 has joined #ruby
<AndroUser123> Hi
fertapric has quit [Client Quit]
<AndroUser123> Ruby is a great programming language
<tobiasvl> yes
<AndroUser123> Can anyone recommend me anything on ruby sockets
tvw has joined #ruby
<AndroUser123> Networking?
dome22xl has joined #ruby
<AndroUser123> Internet protocols
<AndroUser123> Connected to ruby
<SebastianThorn> http/net
<adaedra> Good evening, ChameleonSix.
vF3hNGxc47h8 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<AndroUser123> Lol
<Radar> AndroUser123: Maybe tell us a little about what you're trying to do?
<AndroUser123> You have a good memory
<Radar> AndroUser123: You're ban evading.
<Radar> !ban AndroUser123
AndroUser123 was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
<adaedra> You have a good memory
<Radar> Literally 0 tolerance.
djbkd has joined #ruby
duckpupp1 has joined #ruby
openstruct has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
jeanlinux has quit [Remote host closed the connection]
<SebastianThorn> what just happend? o.o
jeanlinux has joined #ruby
krobzaur has quit [Quit: WeeChat 0.4.2]
<adaedra> Nothing, carry on.
<SebastianThorn> ok :)
momomomomo has joined #ruby
dkam_ has joined #ruby
pawnbox has joined #ruby
hangelo has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
allcentury has joined #ruby
duckpupp1 has quit [Ping timeout: 252 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
fertapric has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 250 seconds]
<warreng__> tobiasvl: for what it's worth, here's the solution: File.read(path).gsub(/\r/,'').gsub(/(?<!^|,)"(?!,|$|\n)/,'""')
fullofcaffeine has joined #ruby
<warreng__> errr...
<warreng__> File.read(path).gsub(/\r/,'').gsub(/(?<!^|,)"(?!,|$)/,'""')
<tobiasvl> >> '"2015-07-25","Toys"r"us","-17.95"'.gsub(/\r/,'').gsub(/(?<!^|,)"(?!,|$)/,'""')
<ruby[bot]> tobiasvl: # => "\"2015-07-25\",\"Toys\"\"r\"\"us\",\"-17.95\"" (https://eval.in/527651)
<tobiasvl> warreng__: nice!
<momomomomo> tobiasvl: check out rubular
<adaedra> ?regex
<momomomomo> rubular.com will help you get your regex's down
warreng__ has quit [Quit: Page closed]
<tobiasvl> momomomomo: it wasn't my regex, I was just testing warreng's regex which we helped him with :)
<momomomomo> oh, well there you have it
william3 has quit [Remote host closed the connection]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cstls` has quit [Ping timeout: 248 seconds]
snockerton has joined #ruby
snockerton1 has quit [Read error: Connection reset by peer]
<hxegon> good idea to put .gem file in git?
momomomomo has quit [Quit: momomomomo]
<shevy> some people put everything into their gits!
finisherr has quit [Quit: finisherr]
blackice_ has joined #ruby
fullofcaffeine has quit [Client Quit]
william3 has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
blackice_ has quit [Client Quit]
<hxegon> shevy some people put .jpg in their git, but I'm not asking if I can :)
steffkes has quit [Ping timeout: 276 seconds]
andybernard has joined #ruby
finisherr has joined #ruby
mattwildig has quit [Remote host closed the connection]
andybernard has quit [Client Quit]
<adaedra> hxegon: I wouldn't put it there, as it's easy to recreate from the repository
Mio-chan has quit [Ping timeout: 248 seconds]
allcentury has quit [Ping timeout: 246 seconds]
<hxegon> k, thx adaedra
_ht has quit [Quit: Konversation terminated!]
Mio-chan has joined #ruby
agent_white has quit [Ping timeout: 252 seconds]
kirun has quit [Quit: Client exiting]
benlieb has joined #ruby
william3 has quit [Ping timeout: 252 seconds]
laith has quit [Quit: Leaving.]
sepp2k has quit [Read error: Connection reset by peer]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
finisherr has quit [Quit: finisherr]
allcentury has joined #ruby
dlitvak has quit [Remote host closed the connection]
finisherr has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
alexishuard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
acosonic has joined #ruby
stannard has quit [Remote host closed the connection]
bronson has joined #ruby
stannard has joined #ruby
Abrin is now known as Abrin_AWAY
ghoti has quit [Ping timeout: 276 seconds]
caserg has quit [Quit: Leaving]
krobzaur_ has quit [Ping timeout: 248 seconds]
fertapric has quit [Quit: Textual IRC Client: www.textualapp.com]
ghoti has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
ruby329 has quit [Ping timeout: 252 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
despai has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
marxarelli is now known as marxarelli|afk
pawnbox has joined #ruby
Coraline has left #ruby ["Zoom zoom"]
zapata has quit [Quit: WeeChat 1.4]
dkam_ has quit [Ping timeout: 252 seconds]
ledestin has joined #ruby
zapata has joined #ruby
mary5030 has quit [Remote host closed the connection]
<tobiasvl> yeah, generated files shouldn't be in git
htmldrum has joined #ruby
uglybandersnatch has quit [Ping timeout: 248 seconds]
pawnbox has quit [Ping timeout: 248 seconds]
dgncn_ has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
Eiam_ has joined #ruby
djbkd has quit [Remote host closed the connection]
Brando753 has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
jeffk4 has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
blackgoat has joined #ruby
B4daBing73 has joined #ruby
joneshf-laptop has quit [Ping timeout: 248 seconds]
lacuna has joined #ruby
B4daBing73 has quit [Client Quit]
acosonic has quit [Quit: acosonic]
marxarelli|afk is now known as marxarelli
kgutteridge has joined #ruby
Limix has joined #ruby
treehug88 has joined #ruby
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
KensoDev has joined #ruby
mattwildig has joined #ruby
impi0us has joined #ruby
cstls` has joined #ruby
wilbert has joined #ruby
dkam_ has joined #ruby
sevin has quit [Quit: ZNC - 1.6.0 - http://znc.in]
openstruct has joined #ruby
rikkipitt has joined #ruby
_b__ has joined #ruby
Brando753 has joined #ruby
RTG` has quit [Remote host closed the connection]
hahuang65 has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
InternetFriend has quit [Ping timeout: 252 seconds]
idefine has quit [Ping timeout: 252 seconds]
counterapparatus has joined #ruby
nullwarp has quit [Quit: ZNC - http://znc.in]
intrigueD has quit [Remote host closed the connection]
zenlot has quit [Ping timeout: 250 seconds]
RTG` has joined #ruby
dlitvak has joined #ruby
nullwarp has joined #ruby
<Limix> Hi all, working with an sdk that is making http requests. Would like to log the actual http activity
idefine has joined #ruby
<Limix> is there a good way to do this in a rails project?
despai has quit [Quit: This computer has gone to sleep]
<Limix> just log all requests and responses?
<impi0us> like the ones you see on console ?
<impi0us> usually they are also written to development.log in your strucuture, maybe see how it's done
<impi0us> and do yours
duckpupp1 has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
devyn has quit [Changing host]
devyn has joined #ruby
jeanlinux has quit [Remote host closed the connection]
haylon has left #ruby ["WeeChat 1.4"]
cholq has quit [Remote host closed the connection]
jeanlinux has joined #ruby
<Limix> is that only for incoming requests?
<Limix> I need outgoing mostly
<Radar> Limix: Do you know what the SDK is using for making those HTTP requests?
<Limix> also not sure if it changes the log generation, but I’m running as rake tasks
<Limix> not sure let me see
pawnbox has joined #ruby
<Limix> I feel like I got this to work once: https://github.com/railsware/http_logger
LuckyABA has quit [Read error: Connection reset by peer]
<Limix> but I can’t find any config now and I see no log activity
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
nerium has quit [Quit: nerium]
duckpupp1 has quit [Ping timeout: 260 seconds]
nuck has quit [Changing host]
nuck has joined #ruby
Snowy has joined #ruby
Contigi has joined #ruby
Canar has quit [Quit: here goes nothin]
blackgoat has quit [Quit: WeeChat 1.4]
dlitvak has joined #ruby
tvw has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 252 seconds]
kirillzh has joined #ruby
dlitvak has quit [Remote host closed the connection]
dhollinger has quit [Quit: WeeChat 1.4]
kirillzh has quit [Client Quit]
kirillzh has joined #ruby
Gasher has quit [Quit: Leaving]
kirillzh has quit [Max SendQ exceeded]
kirillzh has joined #ruby
<kirillzh> How to do the same but keep order? https://eval.in/private/2b7e69ad99535d
baweaver has quit [Remote host closed the connection]
rikkipitt has quit [Quit: Leaving...]
finisherr has quit [Quit: finisherr]
Canar has joined #ruby
<Canar> og
dlitvak has joined #ruby
<kirillzh> Better naming: https://eval.in/private/a787f2e4596497
TobiG77 has joined #ruby
goodcodeguy has joined #ruby
Guest38 has joined #ruby
rsc___ is now known as rstacruz
jeanlinu_ has joined #ruby
finisherr has joined #ruby
arlek has quit [Ping timeout: 252 seconds]
Contigi has quit [Ping timeout: 260 seconds]
finisherr has quit [Client Quit]
<Ox0dea> kirillzh: https://eval.in/527669
jeanlinux has quit [Ping timeout: 276 seconds]
benlieb has quit [Quit: benlieb]
trosborn has joined #ruby
nando293921 has joined #ruby
lakiluki has quit [Remote host closed the connection]
steffkes has joined #ruby
openstruct has quit [Remote host closed the connection]
benlieb has joined #ruby
benlieb has quit [Client Quit]
aegis3121 has quit [Ping timeout: 250 seconds]
<kirillzh> Ox0dea, thanks a lot!
_grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> kirillzh: Sure thing. :)
dfinninger has quit [Remote host closed the connection]
baweaver has joined #ruby
workmad3_ has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
z3uS has quit [Ping timeout: 248 seconds]
jottr_ has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
binaryplease has joined #ruby
Ox0dea is now known as Oxford
gaf_ has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
KnownSyntax has quit [Ping timeout: 246 seconds]
Limix has quit [Quit: Limix]
gaf_ has joined #ruby
z3uS has joined #ruby
KnownSyntax has joined #ruby
Limix has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
impi0us has quit [Ping timeout: 252 seconds]
bronson has joined #ruby
cstls` has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
cnr_roxx has quit [Ping timeout: 248 seconds]
Limix has quit [Client Quit]
dome22xl has quit [Ping timeout: 252 seconds]
sts has joined #ruby
spider-mario has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
dlitvak has quit [Remote host closed the connection]
Spleeze has quit [Ping timeout: 250 seconds]
<sts> hello folks. I'd like to setup a yaml config file, which evaluates a key's value in context of my application. eg. path: '/var/www/#{application}' should be expandend later on in the application. how would i best do that?
jeanlinux has joined #ruby
Limix has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
saneax_AFK is now known as saneax
dlitvak has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
<drbrain> sts: where does application come from?
jeanlinu_ has quit [Ping timeout: 248 seconds]
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
uglybandersnatch has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 248 seconds]
treehug88 has quit [Remote host closed the connection]
<sts> drbrain: from a trusted config file.
<sts> oh sorry
<sts> no
<sts> application context, eg. an instance variable of my class.
<drbrain> so, kinda, "a different file"?
<drbrain> and will path almost-always start with "/var/www/" or will it be arbitrary?
QORRiE has quit [Remote host closed the connection]
<drbrain> … my idea is to have a line like "application_parent_directory: '/var/www/'" and File.join it with application when you need to build the path
<drbrain> instead of interpolating, which is fraught with peril
<drbrain> if it's almost-always the same you can provide a default at the spot where you would expand it
<drbrain> instead of having a giant name like that in the YAML config file
mdih has joined #ruby
<sts> drbrain: i need to be able to configure the pattern how a directroy structure looks like.
Jardayn has quit [Read error: Connection reset by peer]
mdih has quit [Remote host closed the connection]
<drbrain> sure, and with File.join:
<sts> drbrain: it will be arbitrary
<drbrain> >> File.join '/var/www', 'my-application-name'
<ruby[bot]> drbrain: # => "/var/www/my-application-name" (https://eval.in/527693)
<drbrain> the problem with my idea is that "application_parent_directory" isn't particularly descriptive
<sts> drbrain: i can't do that because it could be either '/var/www/#{application}' or '/srv/#{application}' or anything the user wants...
baweaver has quit [Remote host closed the connection]
<drbrain> so application_parent_directory: '/srv' or application_parent_directory: '/I/like/ham'
<Oxford> Why not ERB?
<drbrain> An ERb configuration file sounds scary
<Oxford> Yeah, it does.
ramfjord has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
<sts> it does :)
wilbert has quit [Ping timeout: 252 seconds]
<drbrain> sts: so when you would use the value, File.join yaml_config_file.fetch('application_parent_directory'), application
<sts> just some a example on typical patterns i'd need to configure: https://gist.github.com/sts/1b266c4519d3a16f9af1
KnownSyntax has quit [Ping timeout: 248 seconds]
<drbrain> hrm
allcentury has joined #ruby
brijesh has joined #ruby
<drbrain> then I might do /srv/www/:environment/:name/:name/:environment/public
<drbrain> and gsub the :environment with the variable
Limix has quit [Quit: Limix]
<sts> sounds fine!
<drbrain> I guess you could gsub #{variable_name} too, instead of eval
<drbrain> basically, don't eval
<sts> can i do a generic gsub somehow?
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<drbrain> sure
Rodya_ has joined #ruby
<drbrain> >> environment = 'production'; name = 'my_app'; "/srv/www/#{environment}/#{name}/#{name}/#{environment}/public".gsub("#\{#{environment}}", environment).gsub("#\{#{name}}", name)
<ruby[bot]> drbrain: # => "/srv/www/production/my_app/my_app/production/public" (https://eval.in/527694)
intrigueD has joined #ruby
dome22xl has joined #ruby
<drbrain> there's a better way…
solocshaw has quit [Ping timeout: 248 seconds]
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
Rodya_ has quit [Remote host closed the connection]
marxarelli|afk is now known as marxarelli
solocshaw has joined #ruby
Rodya_ has joined #ruby
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
openstruct has joined #ruby
<drbrain> >> values = { 'environment' => 'production', 'name' => 'my_app' }; '/srv/www/#{environment}/#{name}/#{name}/#{environment}/public'.gsub(/#\{([^}]+)\}/) { values[$1] }
<ruby[bot]> drbrain: # => "/srv/www/production/my_app/my_app/production/public" (https://eval.in/527695)
<drbrain> sts ↑
dfinninger has joined #ruby
<drbrain> or even:
duckpupp1 has joined #ruby
<drbrain> >> values = { '#{environment}' => 'production', '#{name}' => 'my_app' }; '/srv/www/#{environment}/#{name}/#{name}/#{environment}/public'.gsub(/#\{([^}]+)\}/, values)
<ruby[bot]> drbrain: # => "/srv/www/production/my_app/my_app/production/public" (https://eval.in/527696)
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sts> ok. thats nice, thanks
shanemcd_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
counterapparatus has quit [Ping timeout: 248 seconds]
duckpupp1 has quit [Ping timeout: 248 seconds]
counterapparatus has joined #ruby
TomyLobo has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
jeanlinux has quit [Read error: Connection reset by peer]
jeanlinux has joined #ruby
tulak has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
ur5us has quit [Remote host closed the connection]
y2mq37 has joined #ruby
tulak_ has joined #ruby
steffkes has quit [Ping timeout: 250 seconds]
mattwildig has quit [Remote host closed the connection]
trosborn has quit [Quit: trosborn]