athaeryn has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
pipework has joined #ruby-lang
crudson1 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
marr has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
saarinen has quit [Quit: saarinen]
duph has quit [Quit: Leaving.]
jonahR has joined #ruby-lang
tenderlo_ has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
v0yager has quit [Remote host closed the connection]
eugenejen has left #ruby-lang [#ruby-lang]
julweber_ has joined #ruby-lang
julweber has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
tkuchiki has joined #ruby-lang
wmoxam has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
julweber_ has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
kgrz has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
fragamus has quit [Quit: Computer has gone to sleep.]
poga has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
cored has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
ttilley has joined #ruby-lang
Nisstyre has joined #ruby-lang
lcdhoffman has joined #ruby-lang
postmodern has joined #ruby-lang
lsegal has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Client Quit]
julweber has joined #ruby-lang
towski has quit [Remote host closed the connection]
fedesilva has quit [Remote host closed the connection]
GeissT has joined #ruby-lang
fenicks has quit [Remote host closed the connection]
sepp2k1 has quit [Quit: Leaving.]
mdedetrich has joined #ruby-lang
julweber has quit [Ping timeout: 240 seconds]
jstorimer has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 256 seconds]
wmoxam has joined #ruby-lang
Guest43908 has quit [Changing host]
Guest43908 has joined #ruby-lang
Guest43908 has quit [Changing host]
Guest43908 has joined #ruby-lang
Guest43908 is now known as Boohbah
duph has joined #ruby-lang
symm- has quit [Read error: Operation timed out]
pskosinski has quit [Quit: Til rivido Idisti!]
dingus_khan has joined #ruby-lang
Averna has joined #ruby-lang
vlad_starkov has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
_ffio_ has quit [Ping timeout: 256 seconds]
ffio has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
Domon has joined #ruby-lang
jonahR has quit [Quit: jonahR]
jstorimer has joined #ruby-lang
TheNotary has quit [Quit: Leaving]
ohcomely has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
ohcomely has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 264 seconds]
TheNotary has joined #ruby-lang
<RickHull1>
postmodern: back to the other projects yesterday, yeah mg is by far the closest to my vision. it's tiny. also I need to get a handle on file tasks
<RickHull1>
is there a good way to check which version of a gem or ruby defined a module / class / method ? like when it was introduced
nazty has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 264 seconds]
<RickHull1>
or easy, even
nazty has joined #ruby-lang
<RickHull1>
it's a shitty problem. version 1 introduces it, 2 drops it, 3 brings it back. and we're at 4
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
<RickHull1>
what are the dependencies for Gem::Specification.load ?
<RickHull1>
rubygems ~> ?
ryez has quit [Quit: Page closed]
dhruvasagar has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 256 seconds]
fosky__ has joined #ruby-lang
athaeryn has joined #ruby-lang
<athaeryn>
So you guys hate RVM, right? ;)
<gnufied>
nope.
<athaeryn>
I was joking, gnufied. ;)
<athaeryn>
But I do have a question about it.
<athaeryn>
More about not using it though.
<gnufied>
entire travis infrastructure which helps hundred thousands of projects is run on RVM. Why would we hate that? It is awesome tool.
<Nilium>
It's a thing that people use and some people don't use that is liked and disliked intensely by certain people. Kind of like emacs.
<gnufied>
just not for me. :-)
<Nilium>
In general, the only people who care about it as a moral/non-technical choice are the hacker news hipsters.
<Nilium>
And they don't matter because they're too busy with their startup fan-fiction.
<gnufied>
athaeryn: go for it. I don't use rvm actively anymore, but still kind of do.
Oak has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
<gnufied>
Nilium: HEY there! get off my yard.
thebastl has joined #ruby-lang
<athaeryn>
Yeah, I've been using it happily for a while now. :) But I'm trying to set up a project and the people who set it up use rbenv.
<gnufied>
*runs a startup*
* Oak
waves
<Nilium>
gnufied: But do you hang out on hacker news and masturbate to other startups?
thebastl has quit [Remote host closed the connection]
<Nilium>
That's the important part.
shireesh has joined #ruby-lang
<Nilium>
Startups are not a bad thing, it's just the disturbing mentality that's slowly creeping up around them.
<postmodern>
athaeryn, use a .ruby-version file, all the switchers support it
<gnufied>
Nilium: I do browse hacker news, I do not comment very often. do not participate in startup circle jerk.
<gnufied>
postmodern ++
<athaeryn>
postmodern: Unfortunately I don't have control over that. :/
wmoxam has quit [Ping timeout: 246 seconds]
<athaeryn>
Though I might in the future.
<Nilium>
I just write stuff for Ruby 2.x and let the other people be damned 'cause I don't do anything important
<athaeryn>
haha
<Nilium>
Mostly just trying to make Ruby vaguely usable for game programming.
<gnufied>
athaeryn: how can you not have control over that?
<gnufied>
.ruby-version is a file in project directory
joshuawscott has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
<gnufied>
if that doesn't work, don't let people checkin .rvmrc or .ruby-version
Cakey has quit [Ping timeout: 248 seconds]
<athaeryn>
I realize that, but I'm not in a position to change other people's workflows at the moment.
<gnufied>
okay, so whats the problem you are trying to solve?
ledestin has quit [Quit: ledestin]
<gnufied>
I am a bit confused.
<gnufied>
you want to use rvm while others on your team use rbenv?
<athaeryn>
gnufied: yes.
* athaeryn
was eating a pretzel or he would have said that.
<postmodern>
athaeryn, could symlink .rbenv-version to .ruby-version
<athaeryn>
Or just use rbenv on certain projects, and rvm for everything else
<athaeryn>
But I feel like that would be messy
<gnufied>
that is a recipe for disaster
<athaeryn>
yeah, that's what i figured...
Weems has quit [Ping timeout: 246 seconds]
<gnufied>
here is another idea. add your .rvmrc file in your clone of the project and add .rvmrc in global .gitignore
<gnufied>
I hope rvm still honours .rvmrc
<athaeryn>
gnufied: that could work
joshuawscott has quit [Ping timeout: 268 seconds]
<athaeryn>
Do you know of any differences between rbenv and rvm specifically related to Rails projects? That's what this is. I'm new to Rails.
<athaeryn>
I guess it would be more general, i.e. bundler
<gnufied>
hmm
<postmodern>
athaeryn, rbenv uses shims for all ruby executables
<athaeryn>
like, rvm has gemsets. rbenv doesn't (w/o plugin)
<athaeryn>
I know neither the two nor Rails deeply enough to know if that would cause problems...
<gnufied>
it won't.
<gnufied>
stop worrying. bundler should take care of localizing the dependencies for the project
<athaeryn>
I wouldn't be worrying but I was having some troubles with it.. Some gems weren't installing. I'm still not sure why, but I switched to rbenv for the hell of it and everything went fine.
ohcomely has joined #ruby-lang
<athaeryn>
I'm meeting with these people on Thursday, maybe they can iron things out.
ohcomely has quit [Ping timeout: 248 seconds]
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Weems has joined #ruby-lang
workmad3 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
headius has joined #ruby-lang
tylersmith has joined #ruby-lang
<athaeryn>
Oh, weird. I reinstalled rvm and it's picking up the .rbenv-version file
BobuSumisu has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
tylersmith has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
jstorimer has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
chimkan has quit [Quit: chimkan]
kgrz has joined #ruby-lang
chimkan has joined #ruby-lang
brianpWins has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 264 seconds]
cd has joined #ruby-lang
cd is now known as Guest31886
diegoviola has quit [Quit: WeeChat 0.4.1]
hhatch has joined #ruby-lang
chimkan has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Bahman has joined #ruby-lang
joshuawscott has joined #ruby-lang
ohcomely has joined #ruby-lang
dc5ala has joined #ruby-lang
vlad_starkov has joined #ruby-lang
joshuawscott has quit [Ping timeout: 240 seconds]
athaeryn has quit [Remote host closed the connection]
io_syl has quit [Quit: io_syl]
ohcomely has quit [Ping timeout: 264 seconds]
Weems has quit [Ping timeout: 264 seconds]
_jpb_ has quit [Quit: Lost terminal]
mbj has joined #ruby-lang
Weems has joined #ruby-lang
mrfoo has joined #ruby-lang
apeiros has joined #ruby-lang
julweber has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
D9 has joined #ruby-lang
workmad3 has quit [Ping timeout: 268 seconds]
madb055 has quit [Read error: No route to host]
kgrz has quit [Remote host closed the connection]
madb055 has joined #ruby-lang
kgrz has joined #ruby-lang
EvilAww has quit [Read error: Connection reset by peer]
akurilin has quit [Ping timeout: 256 seconds]
madb055 has quit [Ping timeout: 240 seconds]
ruurd has joined #ruby-lang
vmoravec has joined #ruby-lang
benlovell has joined #ruby-lang
mytrile has joined #ruby-lang
tonni has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
jbsan has quit [Quit: jbsan]
tonni has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
gregmoreno has quit [Remote host closed the connection]
relix has joined #ruby-lang
Aww_ has joined #ruby-lang
tallship has quit [Ping timeout: 246 seconds]
Aww_ is now known as EvilAww
ruurd has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
joshuawscott has joined #ruby-lang
tallship has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
havenwood has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
joshuawscott has quit [Ping timeout: 248 seconds]
mistym has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
D9 has quit [Ping timeout: 256 seconds]
ruurd has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
havenwood has quit [Remote host closed the connection]
tylergillies has quit [Quit: Connection closed for inactivity]
ruurd has joined #ruby-lang
<maloik>
ddfreyne: very much so :o
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
ohcomely has quit [Quit: Leaving...]
robbyoconnor has joined #ruby-lang
<andrewvos>
I've got like 32 calls to factorygirl create in one test. How do I speed this shit up, any ideas?
krz has joined #ruby-lang
hashkey has quit [Quit: Leaving]
<yorickpeterse>
By removing 32 calls to factorygirl :>
<yorickpeterse>
but no really, in Rails there are two things slow: the startup time and every little test that hits the DB
<yorickpeterse>
The latter is sadly something you can't always avoid
<yorickpeterse>
however, factory girl shouldn't be that slow actually
vlad_starkov has joined #ruby-lang
<andrewvos>
It is fucking slow
<yorickpeterse>
Oh? You sure it uses factory girl to begin with in that case?
<yorickpeterse>
(as in, it might secretly do ninja sql queries without you knowing)
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
<maloik>
factory girl does save stuff to the db though doesn't it
ruurd has quit [Quit: Leaving...]
<maloik>
one way of speeding it up could be to use before :all instead of before :each, but only if you're confident you don't need to 'reset' it in between tests of that context
ohcomely has joined #ruby-lang
<maloik>
if you do, you probably need an after :all as well to change the clean db method
julweber has joined #ruby-lang
mreq has joined #ruby-lang
hogeo has joined #ruby-lang
<andrewvos>
maloik: That's actually a good poitn
<andrewvos>
Though, it could create crappy tests
ruurd has joined #ruby-lang
tbuehlmann has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
ledestin has joined #ruby-lang
<maloik>
andrewvos: absolutely, you need to be well aware of what youre doing
<maloik>
but for the 'setup' part, it would work
saarinen has quit [Quit: saarinen]
<yorickpeterse>
To build on top of that, we use DB cleaner in various places and modifying tests to use before(:all) instead of before(:each) made things a lot faster
<yorickpeterse>
but it did require a few changes because the tests were super dumb about the data they expected (or not)
<yorickpeterse>
"OH SHIT THERE ARE TWO USER OBJECTS INSTEAD OF ONE, BETTER FAIL THE ENTIRE TEST"
<andrewvos>
maloik: I just noticed two things. 1. There are three tests that have this setup, and they use before(:all). 2. These tests are old and can actually be deleted.
<andrewvos>
:/
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
<injekt>
maloik: banner should be in the help output yes
rue_XIV has joined #ruby-lang
ged has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mbj has joined #ruby-lang
zenspider_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Muz_ has joined #ruby-lang
mradmacher has joined #ruby-lang
_ko10 has joined #ruby-lang
_ko10 has quit [Client Quit]
dbussink_ has joined #ruby-lang
dbussink has quit [*.net *.split]
BobuSumisu has quit [*.net *.split]
imajes has quit [*.net *.split]
Muz has quit [*.net *.split]
zenspider has quit [*.net *.split]
rue has quit [*.net *.split]
dumfries_ has quit [*.net *.split]
matthewd_ has quit [*.net *.split]
Guest92337 has quit [*.net *.split]
meise_ has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
jayne has quit [*.net *.split]
_ko1 has quit [*.net *.split]
Boohbah has quit [*.net *.split]
solars has quit [*.net *.split]
vigintas has quit [*.net *.split]
tallship has quit [*.net *.split]
vmoravec has quit [*.net *.split]
x0f has quit [*.net *.split]
GeissT has quit [*.net *.split]
hagabaka has quit [*.net *.split]
wycats_ has quit [*.net *.split]
akahn has quit [*.net *.split]
vivekrai has quit [*.net *.split]
snarfmason has quit [*.net *.split]
lguardiola has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
xxaM has quit [*.net *.split]
closer has quit [*.net *.split]
chendo has quit [*.net *.split]
hogeo has quit [*.net *.split]
andrewvos has quit [*.net *.split]
__wizard has quit [*.net *.split]
nazty has quit [*.net *.split]
Domon has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
levicole has quit [*.net *.split]
Gaelan has quit [*.net *.split]
nertzy2 has quit [*.net *.split]
face has quit [*.net *.split]
bnagy has quit [*.net *.split]
Rubennn has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
naquad has quit [*.net *.split]
yellow5 has quit [*.net *.split]
adwhit has quit [*.net *.split]
freedrull has quit [*.net *.split]
drakkhen_ has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Krimigis has quit [*.net *.split]
zavier has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
duckinator has quit [*.net *.split]
heftig has quit [*.net *.split]
Guest14254 has quit [*.net *.split]
tommyblue has quit [*.net *.split]
cyndis has quit [*.net *.split]
linc01n_ has quit [*.net *.split]
shtirlic has quit [*.net *.split]
injekt has quit [*.net *.split]
thang has quit [*.net *.split]
jtoy has quit [*.net *.split]
znouza has quit [*.net *.split]
mihar has quit [*.net *.split]
ironcamel has quit [*.net *.split]
corundum has quit [*.net *.split]
nirix has quit [*.net *.split]
randym_ has quit [*.net *.split]
s0ber has quit [*.net *.split]
levifig has quit [*.net *.split]
Cope__ has quit [*.net *.split]
lk has quit [*.net *.split]
setmeaway has quit [*.net *.split]
kiba has quit [*.net *.split]
crudson1 has quit [*.net *.split]
achiu has quit [*.net *.split]
hakunin has quit [*.net *.split]
oddmunds has quit [*.net *.split]
FlyingLeap has quit [*.net *.split]
RickHull1 has quit [*.net *.split]
_ko1 has joined #ruby-lang
s0ber has joined #ruby-lang
duckinator has joined #ruby-lang
tommyblue has joined #ruby-lang
znouza has joined #ruby-lang
zavier has joined #ruby-lang
Krimigis has joined #ruby-lang
jtoy has joined #ruby-lang
Guest14254 has joined #ruby-lang
linc01n_ has joined #ruby-lang
ironcamel has joined #ruby-lang
cyndis has joined #ruby-lang
mihar has joined #ruby-lang
heftig has joined #ruby-lang
shtirlic has joined #ruby-lang
injekt has joined #ruby-lang
corundum has joined #ruby-lang
thang has joined #ruby-lang
nirix has joined #ruby-lang
nyuszika7h has joined #ruby-lang
setmeaway2 has joined #ruby-lang
dumfries has joined #ruby-lang
__wizard has joined #ruby-lang
hogeo has joined #ruby-lang
mdedetrich has joined #ruby-lang
BobuSumisu has joined #ruby-lang
yorickpeterse1 has joined #ruby-lang
jayne_ has joined #ruby-lang
GeissT has joined #ruby-lang
crudson1 has joined #ruby-lang
levifig has joined #ruby-lang
vivekrai has joined #ruby-lang
closer has joined #ruby-lang
x0f has joined #ruby-lang
solars has joined #ruby-lang
akahn has joined #ruby-lang
wycats_ has joined #ruby-lang
randym_ has joined #ruby-lang
nazty has joined #ruby-lang
kiba has joined #ruby-lang
vmoravec has joined #ruby-lang
nertzy2 has joined #ruby-lang
hakunin has joined #ruby-lang
oddmunds has joined #ruby-lang
lguardiola has joined #ruby-lang
xxaM has joined #ruby-lang
achiu has joined #ruby-lang
Gaelan has joined #ruby-lang
hagabaka has joined #ruby-lang
tommylommykins has joined #ruby-lang
imajes has joined #ruby-lang
face has joined #ruby-lang
Cope__ has joined #ruby-lang
bnagy has joined #ruby-lang
Domon has joined #ruby-lang
freedrull has joined #ruby-lang
levicole has joined #ruby-lang
matthewd has joined #ruby-lang
FlyingLeap has joined #ruby-lang
45PAA0Q19 has joined #ruby-lang
Boohbah has joined #ruby-lang
drakkhen_ has joined #ruby-lang
erichmenge has joined #ruby-lang
yellow5 has joined #ruby-lang
adwhit has joined #ruby-lang
lk has joined #ruby-lang
tallship has joined #ruby-lang
yeltzooo has joined #ruby-lang
andrewvos has joined #ruby-lang
tkuchiki has joined #ruby-lang
vigintas has joined #ruby-lang
Rubennn has joined #ruby-lang
snarfmason has joined #ruby-lang
RickHull1 has joined #ruby-lang
naquad has joined #ruby-lang
chendo has joined #ruby-lang
meise has joined #ruby-lang
45PAA0Q19 has quit [Max SendQ exceeded]
vigintas has quit [Max SendQ exceeded]
vigintas has joined #ruby-lang
joshuawscott has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
joshuawscott has quit [Ping timeout: 248 seconds]
adambeynon has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
mdedetrich has joined #ruby-lang
holgerno has quit [Quit: Leaving...]
dhruvasagar has quit [Ping timeout: 240 seconds]
yorickpeterse1 has quit [Changing host]
yorickpeterse1 has joined #ruby-lang
<yorickpeterse1>
damn netsplits
dhruvasagar has joined #ruby-lang
mdedetrich has quit [Client Quit]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
saarinen has joined #ruby-lang
yorickpeterse1 is now known as yorickpeterse
saarinen has quit [Client Quit]
mdedetrich has joined #ruby-lang
Weems has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ffio_ has joined #ruby-lang
ffio has quit [Ping timeout: 264 seconds]
Averna has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
MaddinXx has joined #ruby-lang
skade has joined #ruby-lang
mbj has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
andrewvos has quit [Read error: Connection reset by peer]
mbj has quit [Ping timeout: 264 seconds]
andrewvos has joined #ruby-lang
mbj has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
face has quit []
stardiviner_ has joined #ruby-lang
stardiviner has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
ohcomely has quit [Quit: Leaving...]
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
face has joined #ruby-lang
_ko1 has quit [Quit: Quit Nadoka 0.8.4+git(v0.8.3-5-g0ae819a-dt)]
Mon_Ouie has quit [Read error: Operation timed out]
ohcomely has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
ohcomely has quit [Read error: Connection reset by peer]
joe has joined #ruby-lang
_ko1 has joined #ruby-lang
GeissT_ has joined #ruby-lang
GeissT_ has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
fsvehla has joined #ruby-lang
GeissT has quit [Ping timeout: 246 seconds]
stardiviner_ has quit [Read error: Connection reset by peer]
kgrz_ has quit [Remote host closed the connection]
marr has quit []
fosky__ has quit [Ping timeout: 264 seconds]
coffeeju1 is now known as coffeejunk
Cope__ has quit [Quit: leaving]
joshuawscott has joined #ruby-lang
coffeejunk has quit [Remote host closed the connection]
coffeejunk has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
joshuawscott has quit [Ping timeout: 240 seconds]
__wizard has quit [Ping timeout: 268 seconds]
andrewvos has quit [Ping timeout: 248 seconds]
fsvehla has quit [Quit: fsvehla]
andrewvos has joined #ruby-lang
zachlatta has joined #ruby-lang
kgrz has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
mreq has quit [Read error: Operation timed out]
hogeo has joined #ruby-lang
scholar01 has joined #ruby-lang
scholar01 has quit [Changing host]
scholar01 has joined #ruby-lang
thebastl has quit [Ping timeout: 264 seconds]
gregmoreno has joined #ruby-lang
Oak has quit [Ping timeout: 264 seconds]
gregmoreno has quit [Ping timeout: 256 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
wmoxam has joined #ruby-lang
benlovell has quit [Ping timeout: 256 seconds]
mreq has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
benwoody has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
Domon has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
benwoody has joined #ruby-lang
mreq has quit [Ping timeout: 268 seconds]
thebastl has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
joshuawscott has quit [Ping timeout: 256 seconds]
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
ttilley has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
mreq has joined #ruby-lang
glebm has joined #ruby-lang
ldnunes has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
runeb has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
knu has quit [Remote host closed the connection]
x0f has joined #ruby-lang
MindSpark has joined #ruby-lang
realDAB has joined #ruby-lang
[[thufir]] has joined #ruby-lang
ecnalyr has joined #ruby-lang
knu has joined #ruby-lang
wmoxam has quit [Ping timeout: 264 seconds]
[[thufir]] has quit [Client Quit]
benlovell has joined #ruby-lang
jxie has quit [Quit: leaving]
jiachen has joined #ruby-lang
jiachen has quit [Client Quit]
Spaceghost|cloud has quit [Remote host closed the connection]
Guest85414__ has quit [Remote host closed the connection]
norplr_ has quit [Remote host closed the connection]
franckverrot has quit [Read error: Connection reset by peer]
UziMonkey___ has quit [Read error: Connection reset by peer]
retro|cz has joined #ruby-lang
Krimigis has quit [Read error: Connection reset by peer]
jiachen has joined #ruby-lang
UziMonkey___ has joined #ruby-lang
Guest85414__ has joined #ruby-lang
chimkan has joined #ruby-lang
chimkan has quit [Client Quit]
FastJack has quit [Ping timeout: 245 seconds]
toretore has joined #ruby-lang
franckverrot has joined #ruby-lang
runeb has quit [Remote host closed the connection]
xxxaM has joined #ruby-lang
xxaM has quit [Ping timeout: 256 seconds]
Spaceghost|cloud has joined #ruby-lang
runeb has joined #ruby-lang
norplr_ has joined #ruby-lang
jiachen has quit [Remote host closed the connection]
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
realDAB has quit [Quit: realDAB]
jiachen has joined #ruby-lang
Oak has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
krz has quit [Quit: krz]
jiachen has left #ruby-lang [#ruby-lang]
thepumpkin has joined #ruby-lang
breakingthings has joined #ruby-lang
thebastl has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
thebastl has joined #ruby-lang
dbussink_ has quit [Quit: bye]
dbussink has joined #ruby-lang
TheNotary has quit [Ping timeout: 248 seconds]
ruurd has quit [Quit: Leaving...]
jstorimer has joined #ruby-lang
flip_digits has joined #ruby-lang
scampbell has joined #ruby-lang
scholar01 has quit [Quit: Leaving.]
pipework has quit [Quit: going to work]
w00x has joined #ruby-lang
joshuawscott has joined #ruby-lang
x0f has quit [Ping timeout: 256 seconds]
jstorimer has quit [Remote host closed the connection]
x0f has joined #ruby-lang
TheNotary has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
glebm has joined #ruby-lang
runeb has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
runeb has joined #ruby-lang
tkuchiki has quit [Ping timeout: 268 seconds]
jstorimer has quit [Remote host closed the connection]
glebm has quit [Client Quit]
wmoxam has joined #ruby-lang
arooni-mobile has joined #ruby-lang
<yorickpeterse>
*woooosh*
kstuart has joined #ruby-lang
mytrile has joined #ruby-lang
bgant has joined #ruby-lang
philnyc has joined #ruby-lang
davidfrey has joined #ruby-lang
enebo has joined #ruby-lang
davidfrey has quit [Remote host closed the connection]
<whitequark>
wat
davidfrey has joined #ruby-lang
<maloik>
injekt: are you around? Quick question in regards to slop's help capabilities
<maloik>
Basically wondering if it's supposed to autogenerate this, or display the banner when things go wrong... it doesn't seem to do this while I thought it would
julweber has quit [Read error: Connection reset by peer]
jstorimer has joined #ruby-lang
julweber has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
glebm has joined #ruby-lang
rickruby has quit [Read error: Connection reset by peer]
<maloik>
that seems to display the help all the time, and all other output stops working
<injekt>
oO
<injekt>
sounds like a bug
<injekt>
maloik: could you open an issue on the tracker with the code, what's happening, and what you expect to happen? I can look into it in about an hour or so
<maloik>
sounds good, thank you
rblair has joined #ruby-lang
intellitech has quit [Ping timeout: 256 seconds]
bgant has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
runeb has joined #ruby-lang
bgant has joined #ruby-lang
thmzlt has joined #ruby-lang
thmzlt has quit [Client Quit]
DKnox has joined #ruby-lang
jstorimer has joined #ruby-lang
phracker has quit [Ping timeout: 256 seconds]
jstorimer has quit [Read error: Connection reset by peer]
thebastl_ has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
mdedetrich has joined #ruby-lang
closer has quit [Ping timeout: 256 seconds]
xxxaM has quit [Ping timeout: 256 seconds]
chendo has quit [Ping timeout: 256 seconds]
supyo has joined #ruby-lang
xxaM has joined #ruby-lang
closer has joined #ruby-lang
supfoo has quit [Ping timeout: 260 seconds]
chendo has joined #ruby-lang
krames has joined #ruby-lang
Guest31886 has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
melter has joined #ruby-lang
Guest31886 has joined #ruby-lang
pipework has joined #ruby-lang
mradmacher has quit [Quit: leaving]
Guest65339 has joined #ruby-lang
tenderlove has joined #ruby-lang
__wizard has joined #ruby-lang
ruurd has joined #ruby-lang
wallerdev has joined #ruby-lang
<injekt>
maloik: I think I was confused, this isn't really a bug, I've replied to your issue. I'm open to suggestions if you think this behaviour should change, though
andrewvos has quit [Ping timeout: 240 seconds]
hogeo has quit [Remote host closed the connection]
andrewvos has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
zmike123 has joined #ruby-lang
glebm has joined #ruby-lang
KU0N has joined #ruby-lang
hashkey has joined #ruby-lang
<maloik>
injekt: I don't really know, you're more experienced with the way it's being used...
<maloik>
my gut told me it would just overwrite the -h flag, but I guess that's not the case
<injekt>
maloik: well it's built around how other people use it, not me, that's always been my intention
mrfoo has quit [Ping timeout: 250 seconds]
<maloik>
I meant that you know how other people use it better than I do :-) so no worries, if I can implement it that way that's fine
<maloik>
fwiw, is the help something prefilled by slop ?
<maloik>
as in "puts help"
runeb has quit [Remote host closed the connection]
<erikh>
then I'll throw that in a rb file and make a gemspec 20 times as long
<yorickpeterse>
ugh, I don't like it when an app doesn't spit out errors but doesn't produce proper data either
<yorickpeterse>
It's like trying to prove gnomes exist
rblair has quit [Ping timeout: 264 seconds]
dc5ala has quit [Quit: Ex-Chat]
yorickpeterse is now known as yorick-cowboy
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
sstrickl has joined #ruby-lang
<erikh>
I've become a fan of json logging in recent years because of that.
<whitequark>
json logging?
<erikh>
yeah, each "line" is a json object.
<erikh>
lots of node stuff uses it, and logstash ships it internally.
Guest65339 has quit [Read error: Connection reset by peer]
<whitequark>
I understand what that is (it's obvious), but not sure what's the benefits, apart from easy parsing
Bahman has quit [Quit: Leaving.]
<erikh>
oh, semantic log management
<whitequark>
hm?
Guest65339 has joined #ruby-lang
<erikh>
you can have a firehose and be able to filter trivially.
<erikh>
because you're not using a ton of convoluted regexes to find what you need
<erikh>
you're looking for obj[:foo] == "bar" or whatever
yorick-cowboy is now known as yorickpeterse
glebm has quit [Quit: Computer has gone to sleep.]
<whitequark>
right
<erikh>
so partitioning logs, or monitoring for log events, becomes less of a black art and more of a real database-ish problem
glebm has joined #ruby-lang
thebastl has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
thebastl_ has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
MindSpark has quit [Quit: MindSpark]
thebastl has quit [Ping timeout: 264 seconds]
rblair has joined #ruby-lang
dernise has joined #ruby-lang
thebastl_ has quit [Remote host closed the connection]
Weems has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
jigfox has quit [Quit: jigfox]
Aloysius1 has joined #ruby-lang
cofin has joined #ruby-lang
mistym has joined #ruby-lang
recolor has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
havenwood has joined #ruby-lang
jMCg is now known as igalic
krohrbaugh has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
julweber has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
skmp has quit [Quit: Leaving.]
geopet has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
kstuart has quit [Read error: Operation timed out]
gregmoreno has joined #ruby-lang
kstuart has joined #ruby-lang
henk has joined #ruby-lang
Gaelan has quit [Ping timeout: 268 seconds]
Gaelan has joined #ruby-lang
drejohnson has joined #ruby-lang
towski has joined #ruby-lang
<henk>
hi, I have a string like "-servers freenode,oftc -channels ruby,debian,linux -nicks henk". Could anyone please throw keywords, method names, or similar hints at me on how to parse this? I tried String#match, String#scan, and some other methods, but I can’t really make sense of how to use them to get a usable result. AFAICT Arrays or Hashes should be the target? Any suggestions what to do?
iraja has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
julweber has joined #ruby-lang
<henk>
the string might also be empty or only "-nicks a" …
<apeiros>
henk: the desired result would be helpful…
robbyoconnor has joined #ruby-lang
<apeiros>
but I'll throw in String#split
<henk>
apeiros: Yeah, that’s what I’m not sure about. Either an Array for each option (i.e. args_servers = ["freenode","oftc"]) or a hash (i.e. options["servers"] = ["freenode","oftc"]), I guess. Open to suggestions.
<apeiros>
oh, you want to parse options? use an option parser
<apeiros>
like optparse, or slop
swygue has quit [Ping timeout: 264 seconds]
drejohnson has quit [Quit: drejohnson]
<henk>
Damn … Let me start over ;) I’m writing a script for weechat (irc client). The arguments passed to the command in the client are passed to the associated method as a string argument. I’m not sure I can use an option parser there. Can I?
<apeiros>
sure, why not
<henk>
ah, good, thank you!
<apeiros>
an optionparser takes a string input and provides whatever it is built to return
<dernise>
is there a way to get the type of an archive (ie : zip tar ?)
deception has joined #ruby-lang
jbsan has joined #ruby-lang
<eam>
dernise: typically use something like File::Type which uses the magic database
<henk>
apeiros: Yeah, makes sense actually :) I’ll take a look at optparse and slop. Thanks.
brianpWins has joined #ruby-lang
<eam>
dernise: er sorry wrong module name, ruby-filemagic is the gem you want I think
<apeiros>
henk: actually most option parsers probably take an array, since ARGV is an array
<apeiros>
you can use shellwords to split a string the way the shell would split it
<apeiros>
>> require 'shellwords'; "foo bar 'baz quuz'".shellsplit
thepumpkin has quit [Remote host closed the connection]
<Nilium>
Cool beans
<yorickpeterse>
though the list is a bit sloppy CSS wise
<Nilium>
I like the little octocat.
<yorickpeterse>
github sponsors all the things
<Nilium>
The only thing I don't like is that it's Rails and not Ruby.
<yorickpeterse>
it's not exactly training though
<Nilium>
Continually disappointed that Ruby itself is often overshadowed by Rails to the point that some people (who need to be smacked on the back of the head) just assume they're the same thing.
<yorickpeterse>
co-worker had this pretty apt description of it:
eugenejen has quit [Ping timeout: 264 seconds]
<yorickpeterse>
basically they drive you to the top of the hill in a limo, show you how cool it is, then drive you back down, give you a pair of hiking books and run off saying "GOOD LUCK HAVE FUN GETTING BACK UP ON YOUR OWN"
<Nilium>
Doesn't look like training to me. Looks more like a "hey look cool stuff do this" event.
<yorickpeterse>
I do fully support it though, and chances are I might actually be helping out
<Nilium>
I support anything that gets people into coding or new tech things.
<yorickpeterse>
training absolute beginners is pretty darn difficult though
<Nilium>
Even if I hate web devs.
<yorickpeterse>
heh
kgrz has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
x0f has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
bgant has quit [Quit: Leaving.]
workmad3 has joined #ruby-lang
jstorimer has joined #ruby-lang
mbj has joined #ruby-lang
wmoxam has quit [Ping timeout: 240 seconds]
thepumpkin has joined #ruby-lang
<pipework>
I hate web devs too. only because they should transcend and become devs.
scholar01 has joined #ruby-lang
scholar01 has quit [Changing host]
scholar01 has joined #ruby-lang
scholar01 has quit [Client Quit]
fsvehla has quit [Quit: fsvehla]
<yorickpeterse>
hihi, cat hears something in the kitchen and instantly goes into hunting mode
<yorickpeterse>
it's like my personal non barking guard dog
<yorickpeterse>
except more lazy
<yorickpeterse>
and less dangerous
cofin has quit [Quit: cofin]
glebm has joined #ruby-lang
cofin has joined #ruby-lang
<yorickpeterse>
also more of a scumbag because he'll try to eat from my frying pans that are on the stove
recolor has quit [Remote host closed the connection]
w00x has quit [Ping timeout: 264 seconds]
recolor has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
rafeed has joined #ruby-lang
rafeed has quit [Client Quit]
vlad_starkov has joined #ruby-lang
julweber has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
<Nilium>
One of my parrots tries to eat anything I eat.
<Nilium>
And if he can't get it, he just screams at me.
symm- has quit [Read error: Operation timed out]
pipework has quit [Remote host closed the connection]
<yorickpeterse>
haha, parrots are amazing
<yorickpeterse>
but like any bird type they poop all over the place all the time
<yorickpeterse>
Well unless you train them
<yorickpeterse>
then they just poop all the time in the same spot
vlad_starkov has quit [Ping timeout: 264 seconds]
felipe has joined #ruby-lang
thepumpkin has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
duph1 has quit [Quit: Leaving.]
enebo has quit [Quit: enebo]
jstorimer has quit [Remote host closed the connection]
MartynKeigher has quit [Ping timeout: 245 seconds]
hhatch has quit [Ping timeout: 264 seconds]
loincloth has quit [Remote host closed the connection]
cube526 has joined #ruby-lang
MartynKeigher has joined #ruby-lang
julweber_ has joined #ruby-lang
julweber has quit [Ping timeout: 264 seconds]
dingus_khan has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
davidfrey has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
cube526 has quit [Quit: Bye]
solars has quit [Ping timeout: 248 seconds]
spinky has quit [Ping timeout: 246 seconds]
brianpWins has joined #ruby-lang
mbj has joined #ruby-lang
recolor has quit [Remote host closed the connection]
daihuws has joined #ruby-lang
cored has quit [Ping timeout: 248 seconds]
duph has joined #ruby-lang
kgrz has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
kgrz has quit [Ping timeout: 240 seconds]
nathanstitt has joined #ruby-lang
benanne has quit [Quit: kbai]
anonymus_ has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
anonymuse has joined #ruby-lang
nathanstitt has quit [Ping timeout: 241 seconds]
dingus_khan has joined #ruby-lang
TheNotary has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby-lang
<Nilium>
My 3D math gem for Ruby gets a lot of downloads.. relative to stuff of mine that doesn't. Weird. Maybe it's just bots downloading stuff.
kith has quit [Read error: Connection reset by peer]
kith has joined #ruby-lang
anonymuse has quit [Ping timeout: 248 seconds]
matled- has joined #ruby-lang
musl_ has quit [Quit: WeeChat 0.4.1]
<daihuws>
But why would bots favour downloading one gem over another?
matled has quit [Ping timeout: 246 seconds]
matled- is now known as matled
vlad_starkov has quit [Ping timeout: 256 seconds]
dingus_khan has quit [Ping timeout: 248 seconds]
nathanstitt has joined #ruby-lang
<Nilium>
Well every new version of something seems to get 30 downloads minimum, so I'm guessing it's just things grabbing everything new.
intellitech has joined #ruby-lang
<daihuws>
Ah, I see...
<drbrain>
I'm sure there's a handful of web hooks that download every gem
[[thufir]] has joined #ruby-lang
zenspider_ has left #ruby-lang [#ruby-lang]
zenspider has joined #ruby-lang
<zenspider>
mirrors and the like
[[thufir]] has quit [Client Quit]
arooni-mobile has joined #ruby-lang
TheNotary has joined #ruby-lang
kgrz has joined #ruby-lang
jds_ has quit [Read error: Connection reset by peer]
jds has joined #ruby-lang
jstorimer has joined #ruby-lang
geopet has quit [Quit: geopet]
kgrz_ has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
go|dfish has quit [Remote host closed the connection]
go|dfish has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
fuhgeddaboudit_ has joined #ruby-lang
fuhgeddaboudit_ has quit [Read error: Connection reset by peer]
spinky has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Krimigis has joined #ruby-lang
fuhgeddaboudit has quit [Read error: Operation timed out]
arubin has joined #ruby-lang
nathanstitt has quit [Ping timeout: 264 seconds]
musl has joined #ruby-lang
tylergillies has joined #ruby-lang
justinram has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
justinram has joined #ruby-lang
havenwood has joined #ruby-lang
EvilJStoker has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
mbj has quit [Ping timeout: 240 seconds]
EvilJStoker has joined #ruby-lang
verto has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
havenwood has quit [Ping timeout: 264 seconds]
swav has joined #ruby-lang
davidfrey has joined #ruby-lang
spinky has quit [Ping timeout: 264 seconds]
canton7 has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
davidfrey has quit [Ping timeout: 276 seconds]
tylersmith has quit [Remote host closed the connection]