apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
kurko_ has quit [Ping timeout: 264 seconds]
joevandyk has quit [Quit: joevandyk]
kogent has joined #ruby-lang
kurko_ has joined #ruby-lang
swav has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
AndChat| has quit [Quit: Bye]
Banistergalaxy has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
headius has quit [Quit: headius]
realDAB has quit [Quit: realDAB]
pepper_chico has joined #ruby-lang
gregmoreno has joined #ruby-lang
amerine has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
Artheist has quit [Remote host closed the connection]
Averna has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 258 seconds]
justinram has quit [Remote host closed the connection]
fragamus has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
<zzak> drbrain: can i still reopen ToHtml in my gem if RDoc has a new top-level module?
<drbrain> you can reopen it from anywhere with: class ::RDoc::Markup::ToHtml … end
<drbrain> any namespace
<zzak> ok
<zzak> i wonder if i should just subclass instead
<drbrain> I would a) monkey patch then b) turn the monkey patch into a generic hook
<zzak> im bad at organizing code :(
<drbrain> step 1 is always make it work :D
<zzak> yeh
<drbrain> between step 1 and ship you can do all kinds of things
<zzak> i gues the easiest way is to re-open accept_verb
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
firefux has joined #ruby-lang
rwk1 has joined #ruby-lang
jdsteele has joined #ruby-lang
benanne has quit [Quit: kbai]
fragamus has quit [Quit: Computer has gone to sleep.]
toertore has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.90 [Firefox 16.0.1/20121026125834]]
rwk1 has quit [Ping timeout: 252 seconds]
khaase has quit [Read error: Operation timed out]
sebasoga has quit [Quit: Computer has gone to sleep.]
khaase has joined #ruby-lang
pepper_chico has quit [Quit: Computer has gone to sleep.]
toretore has quit [Ping timeout: 256 seconds]
jperry2 has quit [Quit: jperry2]
ivanoats has quit [Remote host closed the connection]
nignaztic has quit [Ping timeout: 245 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
kogent has quit [Quit: kogent]
tenderlove has quit [Remote host closed the connection]
headius has joined #ruby-lang
jonahR has joined #ruby-lang
leocassarani has quit [Quit: Linkinus - http://linkinus.com]
havenwood has quit [Remote host closed the connection]
jonahR has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 264 seconds]
Banistergalaxy has quit [Quit: Bye]
toertore has quit [Quit: Leaving]
Banistergalaxy has joined #ruby-lang
<duckinator> is there by a way to either undefine $< entirely, or make it not read-only? i can't find one
<postmodern> duckinator, you could try ARGF.freeze ?
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
srbaker has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
segy has joined #ruby-lang
Rarrikins has joined #ruby-lang
Rarrikins_s has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby-lang
marr has quit [Ping timeout: 276 seconds]
jonahR has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
<rking> Is there a decent Ruby memory profiler around?
<rking> I just need to get a ballpark of what's hogging all the RAMs.
<whitequark> perftools.rb has one iirc
<rking> whitequark: Aha, with a Rack thing. Cool + thanks.
<duckinator> postmodern: i probably should've mentioned that i'm working on a sandbox and someone found that $< allows access to the File class (...among other things...). i'll see if freezing ARGF before removing it does the trick, though!
<duckinator> i think it'll fix at least one of the issues that $< caused :P
tonni has quit [Read error: Connection reset by peer]
kurko_ has quit [Ping timeout: 260 seconds]
tonni has joined #ruby-lang
kurko_ has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
Domon has joined #ruby-lang
cored has quit [Read error: Operation timed out]
<postmodern> duckinator, so like ARGF.reopen() ?
<postmodern> duckinator, the best kind of sandbox is a syscall jail one
<whitequark> duckinator: generally, blacklisting doesn't work
<whitequark> if you don't want anything to access the File class in Ruby, remove it from the sources. there is a thousand ways of obtaining it from within the VM.
<duckinator> whitequark: i learned that over a year ago, before i switched to a whitelist ;)
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
<duckinator> the issue boils down to read-only global variables. namely $< and $*.
<whitequark> duckinator: it seems to me that you are still using a blacklist
<postmodern> duckinator, also you could use $SAFE = 4, but even then you're not 100% safe
<duckinator> postmodern, whitequark: it's a pure-ruby sandbox. it spawns a separate process which removes constants and methods that are not whitelisted, then runs the code. but, again, read-only globals. there's no way to remove them from inside the VM.
<duckinator> aside from that, all the security-related bugs have been me doing silly things. like whitelisting ARGV.
<whitequark> duckinator: you can use DL to call ruby's C API method to remove the global
jdsteele has quit [Quit: ~ Trillian - www.trillian.im ~]
<whitequark> also how do these processes communicate?
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
<duckinator> the code is fed via STDIN (there's no later access to STDIN), and the child process outputs JSON before terminating (so you can capture stdout, stderr, exceptions, and the return value)
<duckinator> the parent process gets a hash from the JSON data and works from there
<postmodern> duckinator, sounds like what you really want is a syscall jail
<whitequark> duckinator: could you please execute `$stdout.class.read('/etc/passwd')' ?
cored has quit [Read error: Connection reset by peer]
<postmodern> duckinator, it's essentially the same idea, only allow a child process read/write access
<duckinator> whitequark: it's a StringIO, so i can guarantee you it'll fail ;) but i'll run it anyway
<duckinator> whitequark: http://sicuro.duckinator.net/view/667
<whitequark> duckinator: how do you get the data out of the child process?
ivanoats has quit [Ping timeout: 245 seconds]
<duckinator> i store the old $stdout/$stderr/$stdin, but the variables they're stored in are out of scope of the evaluated code
<duckinator> before printing the JSON, it swaps them back
<whitequark> duckinator: how does it print the JSON?
<whitequark> (or, you know, link to source would also work)
kurko_ has quit [Quit: Computer has gone to sleep.]
<duckinator> https://github.com/duckinator/sicuro/blob/master/lib/sicuro/base.rb#L220-L311 is the horrifyingly long method you're looking for :P
ivanoats has joined #ruby-lang
<duckinator> whitequark: ^lines 276-310 are responsible for printing the JSON
<whitequark> hmmmm
<whitequark> duckinator: I think I know a way
<duckinator> oh?
io_syl has quit [Read error: Operation timed out]
r0bby has joined #ruby-lang
srbaker has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
bzalasky has joined #ruby-lang
cstrahan has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<duckinator> whitequark: i found a way, too, but it's rather nasty. it pretty much boils down to eval('... (global_variables - $TRUSTED_GLOBALS).each{|x| eval(x.to_s).freeze } ...') ^^ (with the outer eval() being the existing one that's part of the sandbox)
<duckinator> OH
<duckinator> wow
<whitequark> :D
<whitequark> that was easy
<duckinator> i thought you meant a way to fix it. nice, though ^^
<postmodern> duckinator, i would suggest shutting that down before you get pwned ;)
<whitequark> postmodern: do I get to call myself a security researcher too, now? :D
<postmodern> whitequark, quick post an exploit to www.exploit-db.com
<duckinator> postmodern: it's an OpenShift instance, so i won't be affected personally, but...yea, it might be a good idea. :P
<duckinator> whitequark: so how is the old $stdout define there? O.o
lsegal has joined #ruby-lang
<duckinator> that's what i don't get about that
<whitequark> duckinator: you call #inspect on the result outside of sandbox.
<duckinator> lmao
<duckinator> clever
<whitequark> what would also work: def JSON.generate
<postmodern> duckinator, IO is surprisingly powerful
brianpWins has quit [Quit: brianpWins]
<whitequark> def $stdout.string.to_s, etc, etc
tcopp has joined #ruby-lang
<duckinator> postmodern: indeed it is. :P
<whitequark> ooooh I just thought about something else
<whitequark> that would pwn you completely
<duckinator> dare i ask? :D
<postmodern> also Socket
<whitequark> well I'm too lazy to make PoC
<postmodern> whitequark, use DL to access eval()
<whitequark> with something more or less malicious
<whitequark> postmodern: there is no DL
<postmodern> whitequark, so you can eval() in your eval(), while the code evals
<whitequark> thought of that already
<postmodern> Fiddle?
<whitequark> same
<whitequark> postmodern: better :D
<postmodern> whitequark, oh, you could use $stdout to write a .so file to /tmp
<whitequark> hrm, no Kernel#syscall
<postmodern> whitequark, then require it
<whitequark> postmodern: no require
<whitequark> as far as I see
bantic has quit [Quit: bantic]
bluepojo_ has joined #ruby-lang
chimkan has quit [Quit: chimkan]
wmoxam has joined #ruby-lang
<whitequark> duckinator: some more ways I could do that: set_trace_func
<whitequark> gem_original_require
<zzak> drbrain: lol i think i got it
<duckinator> whitequark: but can it actually require anything?
<whitequark> > gem_original_require '/tmp/foo.rb'
<whitequark> stdout: "heya gondor\n"
<whitequark> yes.
bluepojo has quit [Ping timeout: 258 seconds]
kurko_ has joined #ruby-lang
bluepojo_ has quit [Ping timeout: 252 seconds]
<duckinator> whitequark: that worked inside Sicuro?
<postmodern> whitequark, ah clever
<drbrain> zzak: :D
<whitequark> duckinator: yea
<whitequark> I've created /tmp/foo.rb beforehand but it won't be hard to find the .so's in the ruby stdlib
<duckinator> hmm, okay
<duckinator> that is an easy fix
<duckinator> or should be
<whitequark> #RubyVM? LOL trusted constant
<whitequark> at the moment ruby gets bytecode loading...
<zzak> drbrain: its like the worlds smallest gem
<drbrain> heh
<eam> duckinator: do you allow IO.select?
<duckinator> eam: you shouldn't be able to get access to IO. but i've been proven wrong about that about 4 times, now. :P
<whitequark> duckinator: I'm fairly sure there is no way for you to defend from various forms of hijacking
bzalasky has joined #ruby-lang
<eam> IO.select will smash the stack if given >1024 fds.
<whitequark> wow
<eam> choose the args carefully and arbitrary code execution
cored has joined #ruby-lang
<zzak> oh, i forgot the language hook
<zzak> hmm
<duckinator> and it's days like today i'm REALLY glad i intentionally run sicuro.duckinator.net on OpenShift because it offers a second (proven) sandbox :P
cored has quit [Read error: Connection reset by peer]
<whitequark> duckinator: in particular, if you can do something after my code is executed, I can do that either.
<whitequark> it *might* be possible to chop off various parts of IO to make it less dangerous
<whitequark> I won't count on that though
<duckinator> that's a good (and, in hindsight, rather obvious) point
<duckinator> and i think i know how to fix it, but it's going to involve rewriting about half of Sicuro. (which is fine, i made it mostly for the sake of learning more about ruby)
whitequark is now known as breakingsandboxe
* breakingsandboxe would have something else to break.
breakingsandboxe is now known as whitequark
<whitequark> damnit nick truncation :/
Raynes has joined #ruby-lang
pepper_chico has joined #ruby-lang
joevandyk_ has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
cored has joined #ruby-lang
<zzak> woot
cored has quit [Read error: Connection reset by peer]
<zzak> i subclassed..
vlad_starkov has joined #ruby-lang
brianpWins has joined #ruby-lang
mbull9 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 258 seconds]
tomzx_mac has quit [Read error: Operation timed out]
bpot has quit [Ping timeout: 240 seconds]
DEac- has quit [Ping timeout: 240 seconds]
DEac- has joined #ruby-lang
<zzak> my humble little gem supports jruby now :)
huydx has joined #ruby-lang
<headius> yay
<whitequark> jruby *ducks*
<imperator> is there a way to see all open issues on all my github repos in a single page?
<rking> imperator: I'd just 'gem install ghi && ghi l'
rsl has quit [Quit: Computer has gone to sleep.]
<imperator> rking, thanks, i'll try it out
<rking> ghi is my pal.
torrieri has joined #ruby-lang
<imperator> it's flashing stuff at me
<headius> whitequark: :P
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has quit [Read error: Connection reset by peer]
vbatts has quit [Ping timeout: 260 seconds]
pepper_chico has quit [Quit: Computer has gone to sleep.]
macmartine has joined #ruby-lang
<zzak> headius: lol
<zzak> tests pass on jruby19mode and jruby-head
<imperator> what made it not work before? C code?
<TheNotary> is it cool to publish a gem called foobarbaz but have it's bin be /bin/foo?
<whitequark> TheNotary: no, not really
<ryanf> it may or may not be cool, but it's not uncommon
ivanoats has quit [Remote host closed the connection]
<TheNotary> great I'm torn on what to do and I get a vote on each side, lol
<ryanf> that wasn't really a vote
<ryanf> so you might as well go with whitequark
<TheNotary> true, thanks guys
<imperator> /bin/whitequark
<whitequark> Segmentation fault
<duckinator> whitequark: your line about "if you can do something after my code is executed, I can do it too" is making its way around the internet because it summarizes the issues with sicuro (and most other sandboxes) so well :P
<whitequark> heh
mjio has quit [Read error: Connection reset by peer]
<drbrain> zzak: cool
hasimo-t has quit [Remote host closed the connection]
mjio has joined #ruby-lang
xxaM has joined #ruby-lang
muttonlambaus has joined #ruby-lang
muttonlambaus has quit [Client Quit]
cstrahan has quit [Ping timeout: 264 seconds]
kgrz has joined #ruby-lang
hasimo-t has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
muttonlambaus has joined #ruby-lang
kgrz has joined #ruby-lang
vbatts has joined #ruby-lang
davidbalber|away is now known as davidbalbert
breakingthings has quit []
cored has joined #ruby-lang
kgrz has quit [Client Quit]
cored has quit [Read error: Connection reset by peer]
hasimo-t has quit [Remote host closed the connection]
soahccc has quit [Ping timeout: 240 seconds]
singpolyma has quit [Ping timeout: 240 seconds]
dostoyevsky has quit [Ping timeout: 240 seconds]
dostoyevsky has joined #ruby-lang
aedorn has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
singpolyma has joined #ruby-lang
xalei has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
ssSS has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
xalei has quit [Remote host closed the connection]
hasimo-t has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
kurko_ has joined #ruby-lang
imperator has left #ruby-lang ["Leaving"]
hasimo-t has quit [Remote host closed the connection]
xalei has joined #ruby-lang
tonni_ has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
tonni_ has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
sustainableweb has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
Domon has quit [Remote host closed the connection]
xalei has quit [Ping timeout: 256 seconds]
<TheNotary> I finally published a beta of my GnuPG commandline encryption gem!
<TheNotary> now it's time for the realization that I will only need to use this once or twice in the future...
<whitequark> TheNotary: isn't there a gpgme gem?
<whitequark> which is essentially the same
<TheNotary> I think that was mostly just a library
<TheNotary> I don't think it exposed the right command line stuff to quickly do a manual encryption/decryption
<whitequark> ah, manual as in manually in the shell?
<whitequark> but why do you need a gem them
* whitequark is confused
<TheNotary> here, check out my usage: https://github.com/TheNotary/gpgc#usage
cored has quit [Read error: Connection reset by peer]
mistym_ has quit [Remote host closed the connection]
ssSS has quit [Quit: ssSS]
hasimo-t has joined #ruby-lang
<TheNotary> I looked at gnupg and I don't think it had a function to just specify a key and a message directly on the cmd line
<whitequark> gpg -se -r Bob <(echo "message here")
ryanf has quit [Ping timeout: 245 seconds]
<TheNotary> but where does Bob come from exactly? It doesn't let you specify a -i for an identity type file
<TheNotary> I went through this a bunch a couple days ago and turned up dry at least
rippa has joined #ruby-lang
ssSS has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
ssSS has quit [Client Quit]
torrieri has joined #ruby-lang
hasimo-t has quit [Ping timeout: 258 seconds]
hagzag has quit [Ping timeout: 252 seconds]
ruby-lang725 has quit [Ping timeout: 245 seconds]
hasimo-t has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
mjio has quit [Read error: Connection reset by peer]
TheNotary has quit [Quit: Leaving]
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
r0bby has quit [Read error: Connection reset by peer]
r0bby has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
mjio has joined #ruby-lang
bpot has joined #ruby-lang
torrieri has quit [Ping timeout: 256 seconds]
torrieri has joined #ruby-lang
thufir_ has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 252 seconds]
sustainableweb has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Domon has joined #ruby-lang
muttonlambaus has quit [Quit: muttonlambaus]
srbaker has joined #ruby-lang
joevandyk_ has quit [Quit: joevandyk_]
muttonlambaus has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
ryanf has left #ruby-lang [#ruby-lang]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
kogent has joined #ruby-lang
io_syl has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
srbaker has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 258 seconds]
srbaker has quit [Client Quit]
kogent has quit [Read error: Connection reset by peer]
kogent has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
wallerdev_ has joined #ruby-lang
wallerdev has quit [Ping timeout: 264 seconds]
wallerdev_ is now known as wallerdev
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
joevandyk_ has joined #ruby-lang
muttonlambaus has quit [Quit: muttonlambaus]
headius has quit [Quit: headius]
huydx has quit [Quit: huydx]
wallerdev_ has joined #ruby-lang
wallerdev has quit [Ping timeout: 258 seconds]
wallerdev_ is now known as wallerdev
tcopp has quit [Ping timeout: 256 seconds]
wallerdev has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
kogent has quit [Quit: kogent]
<bnagy> uh..
<bnagy> wait, you're encrypting arbitrary data with no padding?
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
kurko_ has joined #ruby-lang
<bnagy> with RSA.. directly... sweet baby jesus
kurko_ has quit [Client Quit]
thufir_ has quit [Quit: Leaving.]
mjio has quit []
brianpWins has quit [Quit: brianpWins]
fsvehla has joined #ruby-lang
security has joined #ruby-lang
megha has quit [Ping timeout: 276 seconds]
nXqd has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
davidbalbert is now known as davidbalber|away
mbull9 has quit [Remote host closed the connection]
headius has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
workmad3 has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
symm- has joined #ruby-lang
jg has joined #ruby-lang
<whitequark> bnagy: I don't think GPG/OpenPGP standard are that stupid
<bnagy> yeah but it's not using one of those standards
<bnagy> GPG is definitely not that stupid
nXqd has quit [Ping timeout: 245 seconds]
cored has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
rue has quit [Remote host closed the connection]
nXqd has joined #ruby-lang
gregmoreno has quit [Ping timeout: 245 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
concernedcitizen has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 252 seconds]
davidbalber|away is now known as davidbalbert
tonni has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
symm- has quit [Ping timeout: 276 seconds]
cored has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 255 seconds]
<concernedcitizen> Hi guys, I'm experiencing this weird bug in which Enumerator skips the middle element object. Been wrecking my brain on this. http://pastie.org/6636093
<concernedcitizen> Was hoping someone could help point me in the right direction
muttonlambaus has joined #ruby-lang
davidbalbert is now known as davidbalber|away
headius has quit [Quit: headius]
kuja has quit [Ping timeout: 248 seconds]
kuja has joined #ruby-lang
apeiros_ has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
muttonlambaus has quit [Quit: muttonlambaus]
<bnagy> concernedcitizen: don't modify things while you're enumerating over them
nXqd has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
spong107 has quit [Quit: Leaving]
<concernedcitizen> bnagy: I'm not modifying the original array?
tonni has joined #ruby-lang
<bnagy> wanna bet?
kgrz has quit [Quit: Computer has gone to sleep.]
<bnagy> change line 4 to [1,2,3].each ... and see if the problem goes away
<concernedcitizen> isn't dj_ids supposed to be a copy of @job.data['dj_ids']
zprnorgan has quit [Ping timeout: 260 seconds]
<bnagy> no, if you want to do that you need to do it explicitly, it's just a 'pointer'
cored has joined #ruby-lang
<concernedcitizen> hmm.
<concernedcitizen> bnagy: how do you reckon I modify the script?
zmack has joined #ruby-lang
benlovell has joined #ruby-lang
JohnBat26 has joined #ruby-lang
aedorn has quit [Remote host closed the connection]
<bnagy> there are about a jillion ways, but if you're treating your array as a queue there then maybe a construct like while (id=jobs.pop); # do stuff
r0bby_ has joined #ruby-lang
rwk1 has joined #ruby-lang
<bnagy> or until @jobs.empty?; id=@jobs.pop; # do stuff
dr_bob has joined #ruby-lang
r0bby has quit [Ping timeout: 260 seconds]
<concernedcitizen> thanks bnagy. I'm quite new to all this, so I beg your pardon for the ignorance, but how is a while loop any different from enumerating?
solars has joined #ruby-lang
<bnagy> because I'm not enumerating over a reference to the thing I'm changing
<bnagy> I'm testing, again and again, if the array is empty yet
cored has quit [Read error: Connection reset by peer]
GrayVoice has joined #ruby-lang
<GrayVoice> Is there a way to get the current offset while inside a string.gsub block?
sandbags has joined #ruby-lang
stef_204 has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
<concernedcitizen> bnagy: I get it now! thanks!
<concernedcitizen> appreciate it.
<bnagy> np
francisfish has joined #ruby-lang
dragonkh has quit [Quit: Bye!]
swav has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
dhruvasagar has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
cored has joined #ruby-lang
gnufied has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
fjfish has joined #ruby-lang
Domon has quit [Read error: Operation timed out]
rue has joined #ruby-lang
nXqd has joined #ruby-lang
rue has quit [Read error: Connection reset by peer]
Domon has joined #ruby-lang
rue has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
francisfish has quit [Ping timeout: 256 seconds]
rue_XIV has joined #ruby-lang
justinram has joined #ruby-lang
rue has quit [Ping timeout: 260 seconds]
rue_XIV has quit [Ping timeout: 255 seconds]
thufir_ has joined #ruby-lang
<yorickpeterse> morning
maxmanders has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
io_syl has quit [Ping timeout: 256 seconds]
io_syl has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
GrayVoice has quit [Quit: So long, and thanks for all the fish.]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
beiter has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
tbuehlmann has joined #ruby-lang
blacktulip has joined #ruby-lang
barttenbrinke has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 258 seconds]
Banistergalaxy has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
rwk1 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving.]
cored has quit [Read error: Connection reset by peer]
justinram has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
soahccc has joined #ruby-lang
zorbyte has quit [Ping timeout: 252 seconds]
rue has joined #ruby-lang
cored has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has joined #ruby-lang
rwk1 has quit [Ping timeout: 258 seconds]
adambeynon has joined #ruby-lang
swav has joined #ruby-lang
rue has quit [Remote host closed the connection]
marr has joined #ruby-lang
toretore has joined #ruby-lang
woollyams has joined #ruby-lang
woollyams has quit [Client Quit]
tbuehlmann has quit [Quit: Quitting.]
tbuehlmann has joined #ruby-lang
benlovell has quit [Quit: Computer has gone to sleep.]
swav has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
benlovell has joined #ruby-lang
benlovell has quit [Client Quit]
swav has joined #ruby-lang
benlovell has joined #ruby-lang
rwk1 has joined #ruby-lang
benlovell has quit [Client Quit]
benlovell has joined #ruby-lang
xxaM has quit [Quit: /gquit:ZzzzZzZzz]
Taranis has quit [Read error: Connection reset by peer]
Taranis has joined #ruby-lang
skade has joined #ruby-lang
concernedcitizen has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
GarethAdams has joined #ruby-lang
kgrz has joined #ruby-lang
gix has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
maxmanders has joined #ruby-lang
gix has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
Nisstyre has quit [Read error: Operation timed out]
fjfish has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
thufir_ has quit [Quit: Leaving.]
benlovell has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 260 seconds]
hasimo-t has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
tbuehlmann has quit [Quit: Quitting.]
mixandgo has joined #ruby-lang
mixandgo has quit [Client Quit]
mixandgo has joined #ruby-lang
Nisstyre has joined #ruby-lang
rue has joined #ruby-lang
soknee has joined #ruby-lang
rue has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
soknee has quit [Quit: Leaving.]
sush24 has joined #ruby-lang
judofyr has joined #ruby-lang
tonni_ has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
valeri_uF0 has left #ruby-lang [#ruby-lang]
sarclops has joined #ruby-lang
jxweng has joined #ruby-lang
valeri_ufo has joined #ruby-lang
jxweng has quit [Client Quit]
Rarrikins_n has joined #ruby-lang
jxweng has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
Rarrikins has quit [Ping timeout: 260 seconds]
jxweng has quit [Client Quit]
jxweng has joined #ruby-lang
sarclops has quit [Ping timeout: 252 seconds]
Mon_Ouie has joined #ruby-lang
Domon has quit [Remote host closed the connection]
jxweng has quit [Client Quit]
jxweng has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
jxweng has quit [Client Quit]
jxweng has joined #ruby-lang
jxweng has quit [Client Quit]
jxweng_ has joined #ruby-lang
Rarrikins_n_o has joined #ruby-lang
realDAB has joined #ruby-lang
sarclops has joined #ruby-lang
jxweng_ has quit [Client Quit]
jxweng has joined #ruby-lang
barttenbrinke has joined #ruby-lang
Rarrikins_n has quit [Ping timeout: 245 seconds]
fsvehla has quit [Quit: fsvehla]
gnufied has joined #ruby-lang
jxweng_ has joined #ruby-lang
jxweng has quit [Client Quit]
sepp2k has joined #ruby-lang
tbuehlmann has joined #ruby-lang
<injekt> moin
beiter has quit [Quit: beiter]
joevandyk_ has quit [Quit: joevandyk_]
<judofyr> moin moin inkjet
hasimo-t has joined #ruby-lang
<yorickpeterse> how are the cartridge levels today?
jxweng_ has quit [Quit: leaving]
jxweng has joined #ruby-lang
hasimo-t has quit [Ping timeout: 258 seconds]
vlad_starkov has joined #ruby-lang
nguerin has joined #ruby-lang
kgrz has joined #ruby-lang
madish has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 272 seconds]
francisfish has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 255 seconds]
fsvehla has joined #ruby-lang
rsl has joined #ruby-lang
fsvehla has quit [Client Quit]
GarethAdams has quit [Quit: Linkinus - http://linkinus.com]
nkr has joined #ruby-lang
<injekt> running low
vlad_sta_ has quit [Remote host closed the connection]
shtirlic has quit [Remote host closed the connection]
dustint has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
beiter has joined #ruby-lang
dhruvasagar has joined #ruby-lang
nguerin has quit [Ping timeout: 258 seconds]
realDAB has quit [Quit: realDAB]
simi has joined #ruby-lang
jxie has quit [Quit: leaving]
barttenbrinke has joined #ruby-lang
soknee has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenb_ has joined #ruby-lang
jonahR has quit [Quit: jonahR]
concernedcitizen has joined #ruby-lang
tbuehlmann has joined #ruby-lang
jxweng has quit [Quit: leaving]
AndChat| has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 264 seconds]
hakunin_ has joined #ruby-lang
bnagy has quit [Ping timeout: 256 seconds]
hakunin has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
benlovell has quit [Quit: Computer has gone to sleep.]
cstrahan has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
AndChat| has quit [Ping timeout: 240 seconds]
Banistergalaxy has joined #ruby-lang
Qwak has joined #ruby-lang
imperator has joined #ruby-lang
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
sush24 has joined #ruby-lang
jbsan has quit [Ping timeout: 252 seconds]
carloslopes has joined #ruby-lang
bnagy has joined #ruby-lang
mistym_ has joined #ruby-lang
cupakromer has joined #ruby-lang
vmoravec_ has joined #ruby-lang
hasimo-t has joined #ruby-lang
vmoravec has quit [Ping timeout: 272 seconds]
vmoravec_ has quit [Ping timeout: 256 seconds]
vmoravec_ has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
jtperreault has joined #ruby-lang
wmoxam has joined #ruby-lang
bnagy has quit [Ping timeout: 260 seconds]
muttonlambaus has joined #ruby-lang
benlovell has joined #ruby-lang
muttonlambaus has quit [Client Quit]
bnagy has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 240 seconds]
jokar has joined #ruby-lang
workmad3 has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
sush24 has quit [Quit: This computer has gone to sleep]
concernedcitizen has quit [Remote host closed the connection]
jokar has left #ruby-lang [#ruby-lang]
mistym_ has joined #ruby-lang
sebasoga has joined #ruby-lang
hasimo-t has quit [Remote host closed the connection]
scampbell has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
realDAB has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
MartynKe- has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Averna has quit [Quit: Leaving.]
Rarrikins_n_o has quit [Ping timeout: 276 seconds]
Rarrikins_n_o_x has joined #ruby-lang
<zzak> good morning
<jtperreault> good morning to you zzak
sush24 has joined #ruby-lang
kurko_ has joined #ruby-lang
<imperator> good morning!
hasimo-t has joined #ruby-lang
* imperator reads about the github email issue this morning
realDAB has quit [Quit: realDAB]
<judofyr> imperator: Rails is on fire these days!
<imperator> that's one way of putting it ;)
rwk1 has joined #ruby-lang
alessio_rocco has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
sepp2k has quit [Remote host closed the connection]
jbsan has joined #ruby-lang
kgrz has joined #ruby-lang
sailias has joined #ruby-lang
Kuukunen has quit [Ping timeout: 248 seconds]
beiter has quit [Quit: beiter]
<zzak> why am i always hungry in the morning lately
jbsan has quit [Read error: Connection reset by peer]
jbsan has joined #ruby-lang
Kuukunen has joined #ruby-lang
tbuehlmann has quit [Quit: Quitting.]
anonymuse has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
<imperator> got breakfast?
<zzak> coffee count?
<wmoxam> how do I avoid passing ENV variables when executing shell commands in a ruby script (ie: start with a fresh environment
workmad3 has quit [Ping timeout: 256 seconds]
ddd has quit [Quit: Updating iTerm]
jbsan has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby-lang
<imperator> wmoxam, set the ones you care about to nil
<wmoxam> imperator: yeah, I guess that's easiest
<wmoxam> I think homebrew does something clever
<wmoxam> but I can't seem to find it
jbsan has joined #ruby-lang
ddd has joined #ruby-lang
<judofyr> wmoxam: Process.spawn has a :unset_others => true option
ddd has quit [Client Quit]
<judofyr> pid = spawn(command, :unsetenv_others=>true)
<wmoxam> judofyr: nice!
muttonlambaus has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
realDAB has joined #ruby-lang
ddd has joined #ruby-lang
agnitio has joined #ruby-lang
ddd has quit [Client Quit]
breakingthings has joined #ruby-lang
rwk1 has joined #ruby-lang
rwilcox has joined #ruby-lang
realDAB has quit [Quit: realDAB]
dhruvasagar has quit [Ping timeout: 245 seconds]
nertzy2 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
GarethAdams has joined #ruby-lang
kith_ has joined #ruby-lang
muttonlambaus has quit [Quit: muttonlambaus]
nertzy has quit [Ping timeout: 264 seconds]
kith has quit [Read error: Operation timed out]
Guest48415 has joined #ruby-lang
Guest48415 has quit [Client Quit]
ddd_ has joined #ruby-lang
ddd_ is now known as ddd
ddd has quit [Client Quit]
ddd has joined #ruby-lang
g0bl1n has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
g0bl1n has left #ruby-lang [#ruby-lang]
tbuehlmann has joined #ruby-lang
kogent has joined #ruby-lang
faces has quit [Read error: Connection reset by peer]
srbaker has joined #ruby-lang
face has joined #ruby-lang
kith has joined #ruby-lang
methods has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
jonahR has joined #ruby-lang
beiter has joined #ruby-lang
fire has joined #ruby-lang
security has quit [Ping timeout: 260 seconds]
mytrile has joined #ruby-lang
Kuukunen has quit [Ping timeout: 256 seconds]
kith_ has quit [Ping timeout: 245 seconds]
Kuukunen has joined #ruby-lang
bantic has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
realDAB has joined #ruby-lang
realDAB has quit [Client Quit]
rwk1 has joined #ruby-lang
bama_boy has joined #ruby-lang
<andrewvos> Is anyone here in charge of chruby?
pipework has joined #ruby-lang
bama_boy has left #ruby-lang [#ruby-lang]
zprnorgan has joined #ruby-lang
<pipework> hm, is there a reason why hash keys/value pairs have to be comma separated even across newlines?
<zzak> andrewvos: what?
<andrewvos> zzak: The readme lists install instructions for ruby 1.9.3-p392 and ruby-build doesn't have this definition anymore
<andrewvos> zzak: Wondered if it was worht a pull request
<zzak> ofcourse
<zzak> but the install instructions dont use ruby-build
<andrewvos> They do
<andrewvos> Because I added them
<zzak> i never had ruby-build when i set it up about a week ago
<andrewvos> Also they tell you how to link to /opt/rubies only. I think ~/.rubies is a better place to direct users to.
<andrewvos> zzak: Well you should scrolled down a bit then ;)
<injekt> andrewvos: postmodern isn't here right now, but im sure he'll love a pull to fix it
<zzak> i do now, but when i first set it up
<zzak> there was a transition period from rvm for me
jacktrick has joined #ruby-lang
<zzak> same, send a PR
stevechiagozie has joined #ruby-lang
jacktrick has quit [Client Quit]
<andrewvos> meh, I didn't want to have to `git add origin` update blah blah :)
<injekt> update it via github
<andrewvos> injekt: How do?
davidbalber|away is now known as davidbalbert
<injekt> andrewvos: navigate to the readme and hit 'edit' in the top right
<zzak> oh, i am confused, it was ruby-build that setup p392 on install
<injekt> you can edit a file in the browser and send a pull req
<andrewvos> injekt: oh I mean I need to update from origin
<zzak> you might want to check here too https://github.com/sstephenson/ruby-build#usage
kogent has quit [Quit: kogent]
<zzak> why was p392 removed anyways?
<injekt> still exists for me
<injekt> yup
<andrewvos> weird
<andrewvos> On my mac I can't see it, and on ubuntu I can't see it either
<zzak> maybe an outdated version of ruby-build?
Banistergalaxy has quit [Ping timeout: 240 seconds]
Banistergalaxy has joined #ruby-lang
mike` has joined #ruby-lang
<andrewvos> zzak: Updated both
<andrewvos> ERgh who cares I give up
sush24 has quit [Quit: This computer has gone to sleep]
gustavnils has joined #ruby-lang
<zzak> :(
kogent has joined #ruby-lang
hasimo-t has quit [Remote host closed the connection]
beiter has quit [Ping timeout: 272 seconds]
<andrewvos> heh
<andrewvos> sorry zzak :(
realDAB has joined #ruby-lang
tomzx_mac has joined #ruby-lang
beiter has joined #ruby-lang
<injekt> need to create some unique 128bit hashes, any advice? is Time.now.to_f sent to MD5 enough?
kevinfagan is now known as 17SACLXC8
kgrz has quit [Ping timeout: 256 seconds]
realDAB has quit [Client Quit]
<GarethAdams> define 'unique'
<eam> md5(Time.now.to_f) is no more unique than just Time.now.to_f
cupakromer has left #ruby-lang [#ruby-lang]
<GarethAdams> less unique, even
<eam> yeah
<GarethAdams> but not 128-bit
<injekt> 128-bit..
<eam> pad with zero :p
<lianj> SecureRandom.hex(16) ?
<zzak> andrewvos: what was the problem?
<injekt> lianj: how are they created?
kgrz has joined #ruby-lang
<andrewvos> zzak: Well ruby-build doesn't have the dfinition for 394 *sometimes*.
<lianj> if openssl is there, then via openssl's random_bytes
<injekt> my thoughts on using Time.now.to_f is because I need less than 1 second precision
<andrewvos> zzak: So I wanted to updte chruby install instrutions to reflect this
<whitequark> injekt: cryptographic PRNG?
<andrewvos> zzak: And then I stopped caring because I couldnt' work out how to phrase the pull request.
<injekt> whitequark: i dont know a thing about this kind of stuff so no idea
<zzak> what cases would ruby-build not have that definition?
<zzak> andrewvos: ^
<zzak> could be a bug?
<eam> injekt: if you just want random numbers, use a rng. low odds of non-uniqueness. But if you need a guarantee of unique, for a single sequence, then time will do (without any hashing)
<crankharder> this is a stretch... is there some stdlib method that returns overlapping subsets of an array? [1,2,3,4,5].foo(3) => [[1,2,3], [2,3,4], [3,4,5]]
srbaker has quit [Quit: Computer has gone to sleep.]
<injekt> crankharder: [1,2,3,4,5].each_cons(3).to_a
<judofyr> crankharder: each_cons
<judofyr> damn
<injekt> judofyr: :)
srbaker has joined #ruby-lang
<crankharder> yay
Kuukunen has quit [Ping timeout: 260 seconds]
jtperreault has left #ruby-lang ["WeeChat 0.3.7"]
jtperreault has joined #ruby-lang
Uranio has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
<andrewvos> zzak: I'm not really sure!
<soahccc> I compare two times to get the elapsed time. I did a .to_f on the result but still getting unreadable 6.6e-05 What can I do? :<
<zzak> andrewvos: if you can reproduce it, might be worth opening a ticket on ruby-build
<GarethAdams> soahccc: what's unreadable about that?
<soahccc> GarethAdams: well how long is that?
<GarethAdams> it's scientific notation. e-05 means the decimal place should be 5 places further to the left
carloslopes has quit [Remote host closed the connection]
<GarethAdams> 0.000066s
<soahccc> GarethAdams: Is the amount to small maybe? http://files.sven.bmonkeys.net/images/region_lookup-20130320-163412.png
sush24 has joined #ruby-lang
<andrewvos> zzak: Yeah I guess so
realDAB has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
<soahccc> GarethAdams: Thanks :) I failed to search for it because I didn't know how this notation is called (I suck at maths ;))
jbsan has joined #ruby-lang
Kuukunen has joined #ruby-lang
jxie has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
kgrz has quit [Ping timeout: 240 seconds]
jbsan has joined #ruby-lang
realDAB has quit [Quit: realDAB]
Kuukunen has quit [Ping timeout: 245 seconds]
r0bby_ has quit [Ping timeout: 276 seconds]
Nisstyre has quit [Ping timeout: 256 seconds]
Kuukunen has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
stef_204 has quit [Quit: quitting]
alessio_rocco has quit [Ping timeout: 252 seconds]
r0bby_ has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
alessio_rocco has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
jsilver has joined #ruby-lang
barttenb_ has quit [Remote host closed the connection]
|Vargas| has quit [Quit: ...]
dr_bob has joined #ruby-lang
Nisstyre has joined #ruby-lang
dr_bob has quit [Read error: Connection reset by peer]
GarethAdams|Work has joined #ruby-lang
GarethAdams has quit [Disconnected by services]
GarethAdams|Work is now known as GarethAdams
realDAB has joined #ruby-lang
headius has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby-lang
soypirate has joined #ruby-lang
kgrz has joined #ruby-lang
hasimo-t has joined #ruby-lang
hasimo-t has quit [Ping timeout: 256 seconds]
rue has joined #ruby-lang
brianpWins has joined #ruby-lang
benlovell has quit [Quit: Computer has gone to sleep.]
apeiros_ has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 256 seconds]
nXqd has quit [Ping timeout: 252 seconds]
rue has quit [Remote host closed the connection]
jxie has joined #ruby-lang
rue has joined #ruby-lang
io_syl has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
davidbalbert is now known as davidbalber|away
nXqd has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
TheNotary has joined #ruby-lang
jxie has quit [Ping timeout: 264 seconds]
jbsan has joined #ruby-lang
r3nrut has joined #ruby-lang
mbull9 has joined #ruby-lang
davidbalber|away is now known as davidbalbert
jxie has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
r3nrut_ has joined #ruby-lang
carloslopes has joined #ruby-lang
gregmoreno has joined #ruby-lang
sheerun has joined #ruby-lang
zprnorgan has quit [Ping timeout: 264 seconds]
sheerun has quit [Client Quit]
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
sheerun has joined #ruby-lang
sheerun has quit [Max SendQ exceeded]
bluepojo has joined #ruby-lang
r3nrut has quit [Ping timeout: 245 seconds]
sheerun has joined #ruby-lang
sheerun has quit [Excess Flood]
brianpWins has quit [Quit: brianpWins]
dr_bob has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
sheerun has joined #ruby-lang
sheerun has quit [Max SendQ exceeded]
sheerun has joined #ruby-lang
sheerun has quit [Max SendQ exceeded]
chendo_ has quit [Ping timeout: 264 seconds]
sheerun has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
mistym is now known as mistym_lunch
davidbalbert is now known as davidbalber|away
matti has joined #ruby-lang
jonahR has quit [Quit: jonahR]
chendo_ has joined #ruby-lang
chendo_ has quit [Changing host]
chendo_ has joined #ruby-lang
jonahR has joined #ruby-lang
apeiros_ has joined #ruby-lang
gnufied has joined #ruby-lang
chendo_ has quit [Ping timeout: 252 seconds]
headius has quit [Quit: headius]
17SACLXC8 is now known as kevinfagan
breakingthings has quit []
davidbalber|away is now known as davidbalbert
sandbags2 has joined #ruby-lang
dr_bob has left #ruby-lang [#ruby-lang]
barttenbrinke has joined #ruby-lang
robbyoconnor has joined #ruby-lang
r0bby_ has quit [Ping timeout: 260 seconds]
barttenbrinke has quit [Ping timeout: 260 seconds]
davidbalbert is now known as davidbalber|away
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
cstrahan has quit [Ping timeout: 255 seconds]
lsegal has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
jbsan has quit [Read error: Connection reset by peer]
headius has joined #ruby-lang
jbsan has joined #ruby-lang
davidbalber|away is now known as davidbalbert
r0bby has joined #ruby-lang
snarfmason has joined #ruby-lang
kain has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
mrsolo has joined #ruby-lang
dc5ala has joined #ruby-lang
tonni_ has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
r0bby has quit [Ping timeout: 252 seconds]
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
Rarrikins_n_o_x has quit [Ping timeout: 256 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
justinram has joined #ruby-lang
brianpWins has joined #ruby-lang
agnitio has quit [Quit: Leaving]
<zzak> drbrain: those 2 tests on RDoc::Markup::Heading are super helpful
<zzak> no joke
justinram has quit [Remote host closed the connection]
justinram has joined #ruby-lang
<drbrain> heh
judofyr has joined #ruby-lang
rwilcox has quit [Ping timeout: 264 seconds]
arca0 has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
davidbalbert is now known as davidbalber|away
justinram has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
rubarLion has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
xcombelle has joined #ruby-lang
Qwakeree has joined #ruby-lang
ryanf has joined #ruby-lang
chendo_ has joined #ruby-lang
Rarrikins has joined #ruby-lang
Qwak has quit [Ping timeout: 256 seconds]
joren has quit [Disconnected by services]
mistym_lunch is now known as mistym
rubarLion has quit [Read error: Connection reset by peer]
rubarLion has joined #ruby-lang
justinram has joined #ruby-lang
zmack has quit [Remote host closed the connection]
bnagy has quit [Ping timeout: 258 seconds]
anjen has joined #ruby-lang
judofyr_ has joined #ruby-lang
judofyr has quit [Read error: No route to host]
carloslopes has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
cstrahan has joined #ruby-lang
sandbags2 has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 256 seconds]
gnufied has quit [Quit: Leaving.]
torrieri has joined #ruby-lang
breakingthings has joined #ruby-lang
realDAB has quit [Quit: realDAB]
rubarLion has quit [Read error: Connection reset by peer]
rubarLion has joined #ruby-lang
workmad3 has joined #ruby-lang
judofyr_ has quit [Remote host closed the connection]
justinram has quit [Remote host closed the connection]
fjfish has joined #ruby-lang
Rarrikins_z has joined #ruby-lang
francisfish has quit [Ping timeout: 264 seconds]
beiter_ has joined #ruby-lang
beiter_ has quit [Client Quit]
nXqd has quit [Ping timeout: 255 seconds]
beiter has quit [Ping timeout: 276 seconds]
Rarrikins has quit [Ping timeout: 276 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
rwk1 has joined #ruby-lang
havenwood has joined #ruby-lang
jxweng has joined #ruby-lang
swav has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 264 seconds]
rubarLion has quit [Read error: Connection reset by peer]
bradland has joined #ruby-lang
rubarLion has joined #ruby-lang
sarclops has quit [Quit: sarclops]
rubarLion has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 260 seconds]
solars has joined #ruby-lang
r3nrut_ has quit [Read error: Connection reset by peer]
r3nrut has joined #ruby-lang
rubarLion has joined #ruby-lang
sarclops has joined #ruby-lang
headius has quit [Quit: headius]
jbsan has quit [Read error: Connection reset by peer]
jxweng has quit [Quit: Lost terminal]
nXqd has joined #ruby-lang
workmad3 has joined #ruby-lang
cupakromer has joined #ruby-lang
davidbalber|away is now known as davidbalbert
justinram has joined #ruby-lang
maxmanders has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 264 seconds]
davidbalbert is now known as davidbalber|away
alessio_rocco has joined #ruby-lang
davidbalber|away is now known as davidbalbert
maxmanders has quit [Ping timeout: 256 seconds]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
bradland has quit [Quit: bradland]
srbaker has joined #ruby-lang
MaddinXx has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
methods has joined #ruby-lang
headius has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
jsilver has quit [Read error: Connection reset by peer]
bradland has joined #ruby-lang
jsilver has joined #ruby-lang
sarclops has quit [Quit: sarclops]
davidbalbert is now known as davidbalber|away
ryanf has quit [Ping timeout: 264 seconds]
jbsan has joined #ruby-lang
ryanf has joined #ruby-lang
headius has quit [Quit: headius]
kurko_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
headius has joined #ruby-lang
simi has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
<rue> *knocks*
headius has quit [Quit: headius]
<imperator> who's there?
flayer has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
benlovell has joined #ruby-lang
simi has joined #ruby-lang
bradland has quit [Quit: bradland]
torrieri has joined #ruby-lang
fragamus has joined #ruby-lang
r3nrut has quit [Read error: Connection reset by peer]
r3nrut has joined #ruby-lang
davidbalber|away is now known as davidbalbert
rippa has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
joevandyk_ has joined #ruby-lang
judofyr has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> Ruby
arca0 has quit [Remote host closed the connection]
r3nrut_ has joined #ruby-lang
davidbalbert is now known as davidbalber|away
r3nrut has quit [Read error: Connection reset by peer]
Kuukunen has quit [Ping timeout: 246 seconds]
blacktulip has quit [Ping timeout: 264 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
skade has quit [Read error: Operation timed out]
Kuukunen has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
davidbalber|away is now known as davidbalbert
torrieri has quit [Ping timeout: 258 seconds]
jsaak has quit [Ping timeout: 255 seconds]
bnagy has joined #ruby-lang
segy has quit [Quit: ZNC - http://znc.in]
nkr has quit [Quit: Linkinus - http://linkinus.com]
torrieri has joined #ruby-lang
benlovell has quit [Quit: Zzz]
sarclops has joined #ruby-lang
<Raynes> Ruby who?
<judofyr> Ruby me?
<pipework> Rubby wat?
<darix> Ruby ... isnt that the girl berlusconi didnt have sex with?
alessio_rocco has quit [Ping timeout: 260 seconds]
alessio_rocco has joined #ruby-lang
fjfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
Somasonic has joined #ruby-lang
<injekt> drbrain: does mech not work with bundler because there's no gemspec?
tbuehlmann has quit [Remote host closed the connection]
<injekt> drbrain: (also, why is there no gemspec?)
<injekt> drbrain: that is, bundler pointing at HEAD
<zzak> its on purpose
Somasonic has quit [Quit: ZNC - http://znc.sourceforge.net]
rwk1 has joined #ruby-lang
<injekt> why?
xcombelle has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.]
Somasonic has joined #ruby-lang
tbuehlmann has joined #ruby-lang
<zzak> short answer: unreleased versions are unsupported
<zzak> you can use hoe-gemspec to generate your own
francisfish has quit [Ping timeout: 252 seconds]
<injekt> eh, why stop users from shotting themselves in the foot? people should NEVER point to a git remote without knowing what they're doing
Somasonic has quit [Client Quit]
<injekt> adding to this, bundler can point to a commit, who's to say that isn't stable
<yxhuvud> that doesn't make sense. packaging is code too and should also be in version control. I can see no reason to not have that in the same repo as everything else.
Somasonic has joined #ruby-lang
<injekt> I can see why it's discouraged, but for it not to be possible? that's silly
<zzak> nokogiri is the same way
<zzak> because they use hoe to release, not bundler
segy has joined #ruby-lang
<injekt> bundler isn't for releasing, and neither is hoe, they both merely hide the standard all ruby gems use: a gemspec
mike` has quit [Quit: Lost terminal]
rwk1 has quit [Ping timeout: 260 seconds]
<zzak> tell that to zenspider
thufir_ has joined #ruby-lang
nazty has joined #ruby-lang
sandbags2 has joined #ruby-lang
havenwood has joined #ruby-lang
<drbrain> injekt: if mechanize needs a new release, release it :D
<injekt> drbrain: I'm pretty sure I dont have push access to rubygems
<drbrain> if it's not ready for a release, people should not be using it in production
<drbrain> injekt: I just gave it to you :D
<injekt> drbrain: oh ok thanks!
<drbrain> assuming lee@jarvis.co is the correct email
<injekt> it is :)
<drbrain> it was something I meant to do some time ago, but it has been slipping my mind
<rue> Hooray
sheerun has quit []
torrieri has quit [Quit: Leaving...]
<zzak> this is sparklemotion mtfer, not a game
<injekt> drbrain: does hoe have some special task for a release or can i do this manually without missing something?
<injekt> I'm guessing the former
<drbrain> rake release VERSION=2.whatever
<drbrain> you will want to rake install_plugins first, to make sure you have at least hoe-git
<zzak> oh the anticipation
<injekt> haha
<drbrain> let me see where the documentation goes to be sure
<injekt> ok
<drbrain> do you have a rubyforge account?
<injekt> I believe so when I last used it 30 years ago
<injekt> let me check
<drbrain> looks like you do
<injekt> drbrain: yup
<drbrain> so long as you have Host rubyforge.org\n User inject in your ~/.ssh/config you should be all set
<drbrain> be sure to pull my Rakefile update where I removed my name from the doc push location
<drbrain> if something goes wrong it won't be hard to fix
<injekt> alright
judofyr has quit [Read error: No route to host]
<injekt> lets do this
judofyr has joined #ruby-lang
wobblini has joined #ruby-lang
<injekt> hm actually, maybe before I release I should replace that File save(x, overwrite..) with save!
<drbrain> :D
justinram has quit [Remote host closed the connection]
cupakromer has left #ruby-lang [#ruby-lang]
torrieri has joined #ruby-lang
<injekt> mechanize 2.6.0 has been released!
srbaker has joined #ruby-lang
<zzak> omg
scampbell has quit [Remote host closed the connection]
<injekt> drbrain: I got a permission denied on publish_docs though
<drbrain> ok
Nisstyre-laptop has joined #ruby-lang
<drbrain> I sometimes get a permission denied at the end
<drbrain> but it looks like nothing went up
joast has quit [Quit: Leaving.]
<injekt> odd
<zzak> i like when i search for lee jarvis on twitter jaimie lee curtis comes up first
<drbrain> might be a rubyforge problem
sarclops has quit [Quit: sarclops]
<injekt> zzak: :D
banister_ has joined #ruby-lang
<drbrain> documentation pushed
<injekt> sweet thanks
<drbrain> injekt: can you gist me your output for rsync -av -O --delete doc/ rubyforge.org:/var/www/gforge-projects/mechanize/
<drbrain> maybe your pub key is out of date then
<drbrain> … on rubyforge
<injekt> ah yeah probably, I'll update it on rubyforge
MaddinXx has quit [Remote host closed the connection]
justinram has joined #ruby-lang
rippa has joined #ruby-lang
MehLaptop has joined #ruby-lang
cstrahan has quit [Ping timeout: 256 seconds]
kain has joined #ruby-lang
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
justinra_ has joined #ruby-lang
justinram has quit [Ping timeout: 260 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
banister_ has quit [Read error: Connection reset by peer]
blacktulip has joined #ruby-lang
rubarLion has quit [Read error: Connection reset by peer]
r3nrut has joined #ruby-lang
r3nrut_ has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 256 seconds]
rubarLion has joined #ruby-lang
sheerun has joined #ruby-lang
sheerun has quit [Max SendQ exceeded]
sheerun has joined #ruby-lang
sheerun has quit [Max SendQ exceeded]
sheerun has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
rubarLion has quit [Read error: Connection reset by peer]
MehLaptop has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
agarie has joined #ruby-lang
pipework has quit [Remote host closed the connection]
rubarLion has joined #ruby-lang
brhue has joined #ruby-lang
tenderlove has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
mbull9 has quit [Remote host closed the connection]
brhue has quit [Client Quit]
brhue has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
cstrahan has joined #ruby-lang
MehLaptop has joined #ruby-lang
rwk1 has joined #ruby-lang
<injekt> drbrain: works good now, thanks!
<drbrain> sweet
<zzak> grats
jpwhiting has joined #ruby-lang
sarclops has joined #ruby-lang
r3nrut has quit [Read error: Connection reset by peer]
r3nrut has joined #ruby-lang
sarclops has quit [Client Quit]
<injekt> does nick q idle in here?
rwk1 has quit [Ping timeout: 276 seconds]
judofyr has quit [Remote host closed the connection]
<drbrain> I don't think I've seen him in this channel, he does in #rubygems as qrush
<injekt> ok thanks
dustint has quit [Quit: Leaving]
jg has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
skade has quit [Client Quit]
cmckni3 has quit [Quit: Textual IRC Client: www.textualapp.com]
cmckni3 has joined #ruby-lang
kurko_ has joined #ruby-lang
rubarLion has quit [Read error: Connection reset by peer]
kurko_ has quit [Max SendQ exceeded]
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
kurko_ has joined #ruby-lang
postmodern has joined #ruby-lang
rubarLion has joined #ruby-lang
<Somasonic> whats cool about ruby
<injekt> nothing
<injekt> or everything...
rubarLion has quit [Client Quit]
<apeiros_> ruby is so hot
MehLaptop has quit [Remote host closed the connection]
<injekt> ruby ruby ruby ruby
davidw has joined #ruby-lang
simi has quit [Read error: Connection reset by peer]
<jpwhiting> hey all, is this a good place to ask about how to debug a rake error with a rails application?
<injekt> jpwhiting: #ror
<jpwhiting> when I run rake --trace db:setup
<jpwhiting> injekt: thx
torrieri has joined #ruby-lang
Rarrikins_z_t has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
Rarrikins_z has quit [Ping timeout: 240 seconds]
marr has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 264 seconds]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
volov has joined #ruby-lang
headius has joined #ruby-lang
symm- has quit [Ping timeout: 260 seconds]
anjen has quit [Quit: anjen]
blacktulip has quit [Remote host closed the connection]
r3nrut has quit [Read error: Connection reset by peer]
r3nrut has joined #ruby-lang
<imperator> somasonic, we have our own theme song
r_s_h has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
sepp2k has quit [Quit: Leaving.]
breakingthings has quit []
r_s_h has quit [Client Quit]
xalei has joined #ruby-lang
xalei has quit [Read error: Connection reset by peer]
xalei has joined #ruby-lang
torrieri has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
sarclops has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
sarclops has quit [Client Quit]
joast has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
soknee has quit [Quit: Leaving.]
benanne has joined #ruby-lang
sandbags2 has quit [Remote host closed the connection]
sarclops has joined #ruby-lang
sarclops has quit [Client Quit]
newbieking has joined #ruby-lang
r3nrut_ has joined #ruby-lang
r3nrut has quit [Read error: Connection reset by peer]
newbieking has left #ruby-lang [#ruby-lang]
r3nrut has joined #ruby-lang
r3nrut_ has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
qqroach has quit [Quit: leaving]
solars has quit [Ping timeout: 260 seconds]
nXqd has quit [Ping timeout: 264 seconds]
qqroach has joined #ruby-lang
Averna has joined #ruby-lang
tenderlo_ has joined #ruby-lang
tenderlove has quit [Ping timeout: 256 seconds]
rwk1 has joined #ruby-lang
rwk1 has quit [Ping timeout: 276 seconds]
r3nrut has quit [Read error: Connection reset by peer]
wmoxam has joined #ruby-lang
r3nrut has joined #ruby-lang
sepp2k has joined #ruby-lang
jbsan has joined #ruby-lang
r3nrut has quit [Read error: Connection reset by peer]
r3nrut has joined #ruby-lang
baba has joined #ruby-lang
fire has quit [Ping timeout: 276 seconds]
r3nrut has quit [Read error: Connection reset by peer]
mixandgo has quit [Quit: mixandgo]
r3nrut has joined #ruby-lang
r3nrut_ has joined #ruby-lang
r3nrut has quit [Read error: Connection reset by peer]
kurko_ has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
r3nrut_ has quit [Ping timeout: 256 seconds]
nignaztic has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
TheNotary has quit [Quit: Leaving]
sheerun has quit []
nazty has quit [Ping timeout: 256 seconds]
sheerun has joined #ruby-lang
bryanl has quit [Ping timeout: 245 seconds]
davidw has quit [Ping timeout: 264 seconds]
torrieri has quit [Quit: Leaving...]
publicvoid__ has joined #ruby-lang
hasimo-t has joined #ruby-lang
publicvoid_ has quit [Ping timeout: 260 seconds]
sarclops has joined #ruby-lang
kurko_ has joined #ruby-lang
rsl has quit [Quit: Computer has gone to sleep.]
r3nrut has joined #ruby-lang
sarclops has quit [Quit: sarclops]
rufio_ has joined #ruby-lang
drumond19 has joined #ruby-lang
chessguy has joined #ruby-lang
bryanl has joined #ruby-lang
rufio_ has quit [Remote host closed the connection]
jpwhiting_ has joined #ruby-lang
jpwhiting has quit [Ping timeout: 246 seconds]
Banistergalaxy has quit [Ping timeout: 256 seconds]
Banistergalaxy has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
mjio has joined #ruby-lang
cupakromer has joined #ruby-lang
jsilver has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
rwk1 has joined #ruby-lang
jonahR has joined #ruby-lang
jonahR has quit [Client Quit]
rwk1 has quit [Ping timeout: 260 seconds]
cstrahan has quit [Ping timeout: 260 seconds]
outoftime has joined #ruby-lang
r0bglees0n has joined #ruby-lang
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
anonymuse has quit [Quit: Leaving...]
thone has joined #ruby-lang
tylersmith has joined #ruby-lang
joevandyk_ has quit [Quit: joevandyk_]
thone_ has quit [Ping timeout: 245 seconds]
sebasoga has quit [Quit: Computer has gone to sleep.]
ivanoats has quit [Remote host closed the connection]
sebasoga has joined #ruby-lang
volov has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
volov has joined #ruby-lang
sebasoga has quit [Client Quit]
volov has quit [Ping timeout: 264 seconds]
amerine has quit [Quit: Computer has gone to sleep.]
ivanoats has joined #ruby-lang
marcosvanetta has joined #ruby-lang
toretore has quit [Quit: Leaving]