ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
<ddfreyne> interesting
Kingy has quit [Quit: Leaving]
<eam> a common bug, since most shells intercept .. and work off a stack -- but the system itself does not
<eam> gonna deal with ugly paths for now until I get some time to dig deeper
macmartine has joined #ruby-lang
rebelcan has quit [Ping timeout: 265 seconds]
stardiviner has quit [Ping timeout: 245 seconds]
Madis has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
gix- has quit [Ping timeout: 268 seconds]
wyhaines has quit [Remote host closed the connection]
rebelcan has joined #ruby-lang
gix has joined #ruby-lang
m3nd3s has joined #ruby-lang
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
spike|sp1egel has joined #ruby-lang
NemesisD has quit [Ping timeout: 252 seconds]
havenn has quit [Remote host closed the connection]
CrazyHorse18 has joined #ruby-lang
spike|spiegel has quit [Ping timeout: 245 seconds]
r0bby has quit [Ping timeout: 252 seconds]
geopet has quit [Quit: geopet]
vlad_sta_ has quit [Remote host closed the connection]
<eam> here's an example of the bug, and failure: https://gist.github.com/4069375
<zzak> _sillymarkets: did you figure out your shoes problem? there is #shoes on irc as well
<zzak> _sillymarkets: and a very helpful mailing list shoes@librelist.com
vlad_starkov has joined #ruby-lang
havenn has joined #ruby-lang
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
vlad_starkov has quit [Ping timeout: 260 seconds]
fromhet has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
Meta0 has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
robotmay has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
pkrnj has joined #ruby-lang
pkrnj has quit [Client Quit]
pkrnj has joined #ruby-lang
runeb has joined #ruby-lang
havenn has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
r0bgleeson has joined #ruby-lang
fromhet_ has joined #ruby-lang
fromhet has quit [Ping timeout: 245 seconds]
fromhet_ is now known as fromhet
Dan- has joined #ruby-lang
Aria has joined #ruby-lang
dankest has quit [Ping timeout: 245 seconds]
toretore has quit [Quit: This computer has gone to sleep]
qpingu has quit [Quit: Leaving.]
imajes has quit [Excess Flood]
qpingu has joined #ruby-lang
imajes has joined #ruby-lang
runeb has quit [Ping timeout: 252 seconds]
rebelcan has quit [Quit: leaving]
sent-hil has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
intellitech has joined #ruby-lang
havenn has joined #ruby-lang
roadt has joined #ruby-lang
thone has joined #ruby-lang
CrazyHorse18 has quit [Quit: Leaving.]
fromhet has quit [Quit: fromhet]
thone_ has quit [Ping timeout: 260 seconds]
CrazyHorse18 has joined #ruby-lang
sent-hil has quit [Remote host closed the connection]
spike|sp1egel has quit [Quit: leaving]
anachronistic has quit [Quit: anachronistic]
sabfer has quit [Quit: sabfer]
blazes816 has quit [Quit: blazes816]
<zzak> drbrain: think you could comment on #7112 when you've got a sec?
<zzak> not sure what to do there
pkrnj has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
<zzak> drbrain: also, i was thinking about #3022; could we add something like doc/re.rdoc until global support is added to rdoc?
<drbrain> zzak: commented
<drbrain> zzak: sure… I'm working on bringing support for pages to ri
<jaimef> so will items in a begin/rescue block exit on any method failing? or do you explicitly have to raise an exception?
gregmoreno has quit [Ping timeout: 260 seconds]
<drbrain> jaimef: "failing" is ambiguous
<zzak> drbrain: re: 7112 thanks, im going to reassign this to me
<drbrain> great!
CrazyHorse18 has quit [Quit: Leaving.]
<drbrain> jaimef: begin/rescue allows handling of raised exceptions
<drbrain> a method can "fail" and return nil or "fail" and raise an exception
<jaimef> spo not equiv to "set -e" in shell
<drbrain> only the latter is handled by begin/rescue
<drbrain> no
<jaimef> ||die
thatdutchguy has joined #ruby-lang
runeb has joined #ruby-lang
NemesisD has joined #ruby-lang
Dan- has quit [Quit: Linkinus - http://linkinus.com]
datanoise has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
datanoise has quit [Ping timeout: 246 seconds]
kgrz has quit [Ping timeout: 245 seconds]
runeb has quit [Ping timeout: 240 seconds]
enebo has joined #ruby-lang
CrazyHorse18 has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
Beached has joined #ruby-lang
Beached has left #ruby-lang [#ruby-lang]
Beached has joined #ruby-lang
Beached has quit [Client Quit]
spuk has joined #ruby-lang
abuiles has joined #ruby-lang
isale-eko has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
Hakon has quit [Ping timeout: 265 seconds]
gsav has joined #ruby-lang
jhn has joined #ruby-lang
runeb has joined #ruby-lang
retro|cz has joined #ruby-lang
ryanlecompte has quit [Ping timeout: 245 seconds]
dorei has quit []
swarley_ has joined #ruby-lang
swarley_ has left #ruby-lang [#ruby-lang]
runeb has quit [Ping timeout: 240 seconds]
CrazyHorse18 has quit [Quit: Leaving.]
CrazyHorse18 has joined #ruby-lang
jakkudanieru has joined #ruby-lang
gregmoreno has joined #ruby-lang
<zzak> drbrain: for the magic globals, i think zenspiders pre-defined stuff just covers it: http://zenspider.com/Languages/Ruby/QuickRef.html#pre-defined-variables
<zzak> drbrain: but where should it get included?
Axsuul has joined #ruby-lang
<drbrain> for now there's no good place
<zzak> yah..
enebo has quit [Quit: enebo]
<zzak> doc/re.rdoc is included in re.c
<mistym> Hmmm. This C library is not reentrant. :( If I open multiple files (each with its own separate data pointer), then use its stop function to free one of the pointers, it segfaults.
NemesisD has quit [Ping timeout: 268 seconds]
carmichael has quit [Read error: Connection reset by peer]
<zzak> drbrain: whats your plan for pages in ri?
<drbrain> zzak: for now, something like `ri ruby:globals` or `ri rdoc:README`
havenn has quit [Remote host closed the connection]
<zzak> i can talk to james britt about getting the file parsed on ruby-doc.org as well
havenn has joined #ruby-lang
havenn has quit [Read error: Connection reset by peer]
jbsan has quit [Read error: Connection reset by peer]
VGoff has quit [Read error: Operation timed out]
jbsan has joined #ruby-lang
ahf has quit [Read error: Operation timed out]
<mistym> I wonder what the right thing to do here is, given an object-oriented wrapper. Destroy the old pointer before creating a new object, so it won't segfault? Means it's effectively a singleton though...
ahf has joined #ruby-lang
VGoff has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
<mistym> What's the least evil way to deal with this? (Beyond fixing the C library.)
gregmoreno has quit [Remote host closed the connection]
gregmoreno has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
ryanf has joined #ruby-lang
alvaro_o has quit [Quit: Ex-Chat]
<zzak> vbatts: i committed your csv patch, thank you!
imajes has quit [Excess Flood]
WillMarshall has joined #ruby-lang
imajes has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
sn0wb1rd has joined #ruby-lang
<vbatts> zzak: np
gregmoreno has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
dalekurt has joined #ruby-lang
savage- has joined #ruby-lang
CrazyHorse18 has quit [Ping timeout: 252 seconds]
bfreeman has joined #ruby-lang
savage- has quit [Client Quit]
runeb has joined #ruby-lang
savage- has joined #ruby-lang
bluepojo has quit [Ping timeout: 246 seconds]
gregmoreno has joined #ruby-lang
datanoise has joined #ruby-lang
runeb has quit [Read error: Connection reset by peer]
datanoise has quit [Read error: Operation timed out]
gregmoreno has quit [Remote host closed the connection]
husch has joined #ruby-lang
jhn_ has joined #ruby-lang
<herpless> anyone knows if there's a function for outputting a number to a string in a special format? i.e. 1 -> 01, 2 -> 02, ... 10 -> 10 and so on? (or other setups like 001, 002, ... 099, 100, ...)
jhn has quit [Ping timeout: 245 seconds]
roadt has quit [Remote host closed the connection]
<heftig> herpless: sprintf or %
<herpless> ah, of course... so something like "%02d" % num?
<manveru> yeah
<herpless> sweet, thanks.
methods has joined #ruby-lang
methods has quit [Client Quit]
methods has joined #ruby-lang
mmacfadden has joined #ruby-lang
havenn has joined #ruby-lang
gregmoreno has joined #ruby-lang
thatdutchguy has quit [Remote host closed the connection]
<mistym> Holy crap, there's a lot of rewriting involved to make this C lib stop using a global struct.
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
senekis has quit [Quit: leaving o/]
Nisstyre has joined #ruby-lang
mmacfadden has quit [Ping timeout: 251 seconds]
krohrbaugh has joined #ruby-lang
shtirlic has joined #ruby-lang
shtirlic has quit [Ping timeout: 264 seconds]
rekky has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 245 seconds]
runeb has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
<zzak> crap, that last one was a feature
<zzak> i guess redmine doesnt care
runeb has quit [Ping timeout: 268 seconds]
tenaciousflea has joined #ruby-lang
rekky has quit [Quit: rekky]
lcdhoffman has joined #ruby-lang
<firefux> How do I turn a string to a pattern for regexp ?
<postmodern> firefux, Regexp.new(string) ?
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<tdy> if "a string" is literally a String object, i don't think there's a clean way
<tdy> although there are some hacks: http://www.ruby-forum.com/topic/193809
<Aria> Hm? Regexp.new(the string) works fine.
davidbalber|away is now known as davidbalbert
<firefux> postmodern: yes :)
<tdy> it "works" in that it doesn't throw an error, but i doubt Regexp.new(string) does what you actually want
<tdy> if it's actually a String that is
davidbalbert is now known as davidbalber|away
<postmodern> firefux, also if you want to embed a raw String
<postmodern> firefux, /foo: #{Regexp.escape(str)}/
<postmodern> firefux, this will escape special regexp chars
<Aria> tdy: It'd depend on what's in that string... IF you're matching a literal value, there's better ways (or escape it), but ... I can't think of any other obvious meaning of 'make a regexp from a string'
imajes has quit [Excess Flood]
runeb has joined #ruby-lang
<firefux> postmodern: cool, was looking for a way to do it using literals
JohnBat26 has joined #ruby-lang
imajes has joined #ruby-lang
stardiviner has joined #ruby-lang
<firefux> Aria: tdy: yeah, Regexp.new works fine in this case, is an element from ARGV
gsav has quit [Read error: Connection reset by peer]
tenaciousflea has quit [Quit: tenaciousflea]
pkrnj has joined #ruby-lang
runeb has quit [Ping timeout: 252 seconds]
methods has quit [Quit: Leaving.]
methods has joined #ruby-lang
savage- has quit [Quit: savage-]
datanoise has joined #ruby-lang
rekky has joined #ruby-lang
Aria has quit [Remote host closed the connection]
Aria has joined #ruby-lang
rekky has quit [Client Quit]
datanoise has quit [Ping timeout: 260 seconds]
savage- has joined #ruby-lang
RandyInLA has quit [Quit: RandyInLA]
rekky has joined #ruby-lang
lsegal` has joined #ruby-lang
lsegal has joined #ruby-lang
runeb has joined #ruby-lang
tenderlove has joined #ruby-lang
ViperMaul|_ has joined #ruby-lang
tenderlove has quit [Ping timeout: 276 seconds]
Rizzle has quit [Ping timeout: 265 seconds]
mistym has quit [Remote host closed the connection]
runeb has quit [Ping timeout: 240 seconds]
savage- has quit [Quit: savage-]
sush24 has joined #ruby-lang
18VAAEHPH has quit [Read error: Operation timed out]
sush24 has quit [Quit: This computer has gone to sleep]
datanoise has joined #ruby-lang
d3vic3 has quit [Ping timeout: 255 seconds]
chendo_ has joined #ruby-lang
imajes has quit [Excess Flood]
d3vic3 has joined #ruby-lang
imajes has joined #ruby-lang
rippa has joined #ruby-lang
sepp2k has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
b3nt_pin has quit [Read error: Operation timed out]
gsav has joined #ruby-lang
totallymike has quit [Ping timeout: 255 seconds]
savage- has joined #ruby-lang
runeb has joined #ruby-lang
cschwartz has joined #ruby-lang
agile has quit [Ping timeout: 240 seconds]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
b3nt_pin has joined #ruby-lang
runeb has quit [Ping timeout: 248 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
rohit has joined #ruby-lang
sush24 has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
agile has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
ryanf has quit [Quit: leaving]
NemesisD has joined #ruby-lang
havenn has quit [Ping timeout: 252 seconds]
aetcore has quit []
aetcore has joined #ruby-lang
jhn_ has quit [Ping timeout: 245 seconds]
apeiros_ has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
runeb has joined #ruby-lang
isale-eko has joined #ruby-lang
savage- has quit [Quit: savage-]
Guest11836 has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
Guest11836 has quit [Client Quit]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
agile has quit [Ping timeout: 268 seconds]
Aria has quit [Remote host closed the connection]
runeb has quit [Ping timeout: 245 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
tbuehlmann has joined #ruby-lang
charliesome has joined #ruby-lang
savage- has joined #ruby-lang
<NemesisD> hi all. i'm trying to bundle in a new project and i keep getting an error immediately that it could not find gem such and such in the gems available on this machine
<NemesisD> it doesn't even seem to try the internet
datanoise has quit [Ping timeout: 268 seconds]
svyatov has joined #ruby-lang
yxhuvud has joined #ruby-lang
<NemesisD> nm. im dumb
NemesisD has quit [Quit: leaving]
jakkudanieru has quit [Ping timeout: 248 seconds]
cschwartz has quit [Ping timeout: 255 seconds]
husch has quit [Ping timeout: 246 seconds]
dr_bob has joined #ruby-lang
runeb has joined #ruby-lang
nignaztic has joined #ruby-lang
nignaztic has quit [Client Quit]
gsav has joined #ruby-lang
setmeaway has quit [Quit: Leaving]
datanoise has joined #ruby-lang
rohit has quit [Quit: Leaving]
solars has quit [Quit: WeeChat 0.3.7]
runeb has quit [Ping timeout: 265 seconds]
datanoise has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
catepillar has quit [Read error: Connection reset by peer]
catepillar has joined #ruby-lang
solars has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
havenn has joined #ruby-lang
totallymike has joined #ruby-lang
rubyNoob has joined #ruby-lang
qwerxy has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
rue|w has joined #ruby-lang
rubyNoob has quit [Client Quit]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
apeiros_ has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
totallymike has quit [Ping timeout: 255 seconds]
cschwartz has joined #ruby-lang
runeb has joined #ruby-lang
rolfb has joined #ruby-lang
datanoise has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
workmad3 has quit [Ping timeout: 268 seconds]
datanoise has quit [Ping timeout: 265 seconds]
sush24 has joined #ruby-lang
runeb has quit [Ping timeout: 252 seconds]
saxy has joined #ruby-lang
<yorickpeterse> Morning
KA_ has joined #ruby-lang
<rolfb> morning yorickpeterse
<apeiros_> möin
<rolfb> apeiros_ o/
<apeiros_> ho rolfb
<rolfb> apeiros_: curious, what do you do for work?
<rolfb> s/curious/i'm curious/
shtirlic has joined #ruby-lang
havenn has quit [Ping timeout: 248 seconds]
znake has joined #ruby-lang
<apeiros_> rails
dhruvasagar has joined #ruby-lang
chendo_ has quit [Quit: Leaving...]
Averna has quit [Quit: Leaving.]
apeiros_ has quit [Remote host closed the connection]
KA_ has quit [Quit: KA_]
jxie has quit [Quit: leaving]
apeiros_ has joined #ruby-lang
KA_ has joined #ruby-lang
<rolfb> apeiros_: working for? yourself?
<apeiros_> mid-size financial company
<apeiros_> what about you?
qwerxy has quit [Quit: offski]
kalleth has joined #ruby-lang
<rolfb> apeiros_: mostly rails stuff, but doing way too much project management nowadays. my own company, two people atm + external contractors
<rolfb> external is probably superfluous
<rolfb> ^^
faces has quit [Ping timeout: 260 seconds]
runeb has joined #ruby-lang
bastilian has joined #ruby-lang
faces has joined #ruby-lang
dkannan has quit [Read error: Operation timed out]
mccraig has quit [Read error: Connection reset by peer]
herpless has quit [Read error: Connection reset by peer]
Spaceghost|cloud has quit [Read error: Connection reset by peer]
dkannan has joined #ruby-lang
anildigital_work has quit [Read error: Connection reset by peer]
pvh has quit [Remote host closed the connection]
Spaceghost|cloud has joined #ruby-lang
tubbo has quit [Read error: Operation timed out]
Harzilein has quit [Ping timeout: 246 seconds]
agib has quit [Read error: Connection reset by peer]
franckverrot has quit [Read error: Connection reset by peer]
mroth has quit [Remote host closed the connection]
grandy has quit [Read error: Connection reset by peer]
akahn has quit [Remote host closed the connection]
UberNerdGirl_ has quit [Remote host closed the connection]
amdprophet has quit [Remote host closed the connection]
akamike has quit [Remote host closed the connection]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
herpless_ has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
mccraig has joined #ruby-lang
abuiles has quit [Ping timeout: 260 seconds]
meise has quit [Ping timeout: 260 seconds]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
meise has joined #ruby-lang
beawesomeinstead has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
cinch has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
pkondzior_ has quit [Ping timeout: 268 seconds]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
strmpnk has quit [Ping timeout: 245 seconds]
cinch has joined #ruby-lang
Harzilein has joined #ruby-lang
randym has quit [Ping timeout: 276 seconds]
pvh has joined #ruby-lang
L0rdShrek__ has quit [Ping timeout: 260 seconds]
strmpnk has joined #ruby-lang
Harzilein has quit [Excess Flood]
randym has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
runeb has quit [Read error: Connection reset by peer]
pkondzior_ has joined #ruby-lang
anildigital_work has joined #ruby-lang
agarcia has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
abuiles has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Max SendQ exceeded]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
amdprophet has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Max SendQ exceeded]
savage- has quit [Quit: savage-]
mroth has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Max SendQ exceeded]
tubbo has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
mccraig has quit [Remote host closed the connection]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
Harzilein has joined #ruby-lang
Harzilein has quit [Excess Flood]
mccraig has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
akamike has joined #ruby-lang
anildigital_work has quit [Remote host closed the connection]
nuclearblast has quit [Read error: Connection reset by peer]
abuiles has quit [Remote host closed the connection]
Spaceghost|cloud has quit [Remote host closed the connection]
cldwalker_ has quit [Remote host closed the connection]
Spaceghost|cloud has joined #ruby-lang
agile has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
husch has joined #ruby-lang
abuiles has joined #ruby-lang
TommyBlue has quit [Ping timeout: 246 seconds]
heftig has quit [Quit: leaving]
cldwalker_ has joined #ruby-lang
richardjapenga has joined #ruby-lang
pkondzior_ has quit [Write error: Broken pipe]
pkondzior_ has joined #ruby-lang
anildigital_work has joined #ruby-lang
TommyBlue has joined #ruby-lang
alex_k has quit [Quit: Lost terminal]
bcardarella has quit [Ping timeout: 252 seconds]
bcardarella has joined #ruby-lang
KA_ has quit [Quit: KA_]
dc5ala has joined #ruby-lang
sebastianb has joined #ruby-lang
cyri_ has joined #ruby-lang
gokul has joined #ruby-lang
grandy has joined #ruby-lang
runeb has joined #ruby-lang
L0rdShrek__ has joined #ruby-lang
runeb has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
saxy has quit [Remote host closed the connection]
vmoravec has joined #ruby-lang
kitallis has joined #ruby-lang
<rolfb> apeiros_: what is mid-size?
<apeiros_> ~100 ppl in office, ~1000 total
anildigital_work has quit [Remote host closed the connection]
bcardarella has quit [Remote host closed the connection]
abuiles has quit [Remote host closed the connection]
Spaceghost|cloud has quit [Remote host closed the connection]
dkannan has quit [Remote host closed the connection]
herpless_ has quit [Remote host closed the connection]
mccraig has quit [Remote host closed the connection]
cldwalker_ has quit [Remote host closed the connection]
wycats has quit [Remote host closed the connection]
pvh has quit [Write error: Broken pipe]
pkondzior_ has quit [Write error: Broken pipe]
robotmay has joined #ruby-lang
adambeynon has joined #ruby-lang
slaytanic has quit [Ping timeout: 260 seconds]
franckverrot has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
saxy has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 245 seconds]
rekky has quit [Quit: rekky]
agile has quit [Ping timeout: 245 seconds]
akahn has joined #ruby-lang
qwerxy has joined #ruby-lang
agile has joined #ruby-lang
mars__ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby-lang
rohit has joined #ruby-lang
agib has joined #ruby-lang
workmad3 has joined #ruby-lang
dhruvasagar has quit [Remote host closed the connection]
rohit has quit [Ping timeout: 245 seconds]
UberNerdGirl_ has joined #ruby-lang
rohit has joined #ruby-lang
GarethAdams has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
husch has quit [Quit: husch]
d3vic3 has quit [Ping timeout: 252 seconds]
d3vic3 has joined #ruby-lang
jxie has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
husch has joined #ruby-lang
workmad3 has joined #ruby-lang
husch has left #ruby-lang [#ruby-lang]
husch has joined #ruby-lang
husch has quit [Quit: husch]
thomanil has joined #ruby-lang
thomanil has left #ruby-lang [#ruby-lang]
wycats has joined #ruby-lang
sphera has quit [Quit: ZNC - http://znc.in]
Axsuul has quit [Ping timeout: 255 seconds]
anildigital_work has joined #ruby-lang
dkannan has joined #ruby-lang
Madis has joined #ruby-lang
slaytanic has joined #ruby-lang
mccraig has joined #ruby-lang
rohit has quit [Quit: Leaving]
pvh has joined #ruby-lang
isale-eko has joined #ruby-lang
sphera has joined #ruby-lang
herpless_ has joined #ruby-lang
pkondzior_ has joined #ruby-lang
cultureulterior_ has joined #ruby-lang
<yorickpeterse> `super` is a keyword too right?
<yorickpeterse> And not some crazy method hidden away in the depths of Object/Kernel
<ddd> yes
<yorickpeterse> ta
<ddd> np
cultureulterior_ has quit [Ping timeout: 240 seconds]
<ddd> ignore the dummy. just was an easy sheet was all
<yorickpeterse> Nice! Thank you
<ddd> np
cultureulterior_ has joined #ruby-lang
bcardarella has joined #ruby-lang
leopard_me has joined #ruby-lang
abuiles has joined #ruby-lang
znake is now known as znake|away
<stardiviner> Is there some small project like web.py for Ruby ?
<kalleth> stardiviner: look up 'sinatra'
<kalleth> or jfgi
<andrewvos> stardiviner: If you google "Is there some small project like web.py for Ruby ?" Sinatra comes first.
<kalleth> lmfao
imajes has quit [Excess Flood]
robotmay has quit [Read error: Connection reset by peer]
<stardiviner> kalleth: thanks, andrewvos wow, I only know that google is good, but have not found it is so smart.
imajes has joined #ruby-lang
<andrewvos> Yeah, it's all-knowing.
robotmay has joined #ruby-lang
<stardiviner> kalleth: or jfgi and lmfao ?
<kalleth> stardiviner: yes, those are ruby frameworks….. ~_~
<stardiviner> kalleth: I have not found it in google "jfgi ruby"
<kalleth> stardiviner: i was being sarcastic. those are acronyms
<kalleth> holy shit
<kalleth> 'just fucking google it'
<kalleth> 'laughing my fucking arse off'
<stardiviner> kalleth: oh, I see. acronyms is really difficult to understand.
<kalleth> np
<kalleth> ;)
<stardiviner> kalleth: I only know one acronyms "RTFM". Learn it from Linux/Unix
<andrewvos> Can someone pay me to write gems all day? I would really like that.
heftig has joined #ruby-lang
<kalleth> andrewvos: ahaahahahahahahahahahhahaa never happens
robotmay has quit [Read error: Connection reset by peer]
robotmay_ has joined #ruby-lang
<stardiviner> andrewvos: I you can give me a gem, I will pay you. :P
robotmay_ has quit [Read error: Connection reset by peer]
<andrewvos> stardiviner: I want at least £400 per day.
jxie has quit [Read error: Connection reset by peer]
robotmay has joined #ruby-lang
<stardiviner> andrewvos: I you can give me a gem per day!. A real gem. not gems
<stardiviner> bad joking, not funny, back to learning.
<kalleth> bad joking: story of my life
<andrewvos> haha
<andrewvos> stardiviner: You sound like a robot sometimes. You must be Russian.
<kalleth> or…dare i say it
<stardiviner> andrewvos: I'm chinese, chinese are fucking sucked. But chinese is fuck smart if you are.
<kalleth> andrewvos: google translate
<kalleth> that's what that reads like
<stardiviner> if chat.over do read
m3nd3s has joined #ruby-lang
<kalleth> => true
carloslopes has joined #ruby-lang
<andrewvos> end
heftig has quit [Quit: leaving]
znake|away is now known as znake
rohit has joined #ruby-lang
<ddfreyne> Does anybody know offline HTML/CSS validator gems?
heftig has joined #ruby-lang
qpingu has quit [Ping timeout: 255 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
sush24 has joined #ruby-lang
GarethAdams has quit [Ping timeout: 260 seconds]
GarethAdams|Work has joined #ruby-lang
runeb has joined #ruby-lang
cldwalker_ has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
<andrewvos> ddfreyne: haml and sass?
saxy has quit [Remote host closed the connection]
<andrewvos> ddfreyne: Sorry wrong answer :)
blacktulip has joined #ruby-lang
znake is now known as znake|away
sphera is now known as Guest
r0bgleeson has joined #ruby-lang
leopard_me has quit [Ping timeout: 245 seconds]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
leopard_me has joined #ruby-lang
znake|away is now known as znake
robotmay has quit [Read error: Connection reset by peer]
aetcore has quit [Remote host closed the connection]
robotmay has joined #ruby-lang
aetcore has joined #ruby-lang
robotmay_ has joined #ruby-lang
robotmay has quit [Read error: No route to host]
wyhaines has joined #ruby-lang
gokul has quit [Quit: Leaving]
rohit has quit [Quit: Leaving]
cyri_ has quit [Quit: cyri_]
cyri_ has joined #ruby-lang
<H1gh> anyone know do paragraphs with gsub?
Spaceghost|cloud has joined #ruby-lang
* ddfreyne slaps andrewvos
r0bgleeson has quit [Ping timeout: 260 seconds]
GarethAdams|Work has quit [Remote host closed the connection]
GarethAdams has joined #ruby-lang
<apeiros_> H1gh: what does "do paragraphs" mean?
<H1gh> I want to change like this
<H1gh> i got ).text.gsub("\n, "")
mwjcomputing has joined #ruby-lang
<H1gh> apeiros_: how can i change it?
<tockitj_> H1gh, text.split.join("\n") - assuming you are not a troll
heftig has quit [Ping timeout: 255 seconds]
heftig_ has joined #ruby-lang
<H1gh> tockitj_: that way I got like this
<H1gh> It
<H1gh> isn't
<H1gh> -
<H1gh> news2
<H1gh> working
<apeiros_> H1gh: gsub(/ /, "\n") or split(" ").join("\n")
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<tockitj_> H1gh, isn't that what you want ?
sush24 has quit [Quit: This computer has gone to sleep]
<H1gh> no, because I want the name of the news not only strings.. as for example a news called "The internet will die"
<H1gh> i got:
<H1gh> the
<H1gh> internet
<H1gh> will
<H1gh> die
<H1gh> i want all "the internet will die"
<H1gh> and above other news
<H1gh> "love donuts"
<H1gh> etc..
<wnd> I think I'm not speaking for just myself if I say I don't get it
tbuehlmann has quit [Remote host closed the connection]
<H1gh> wnd
<tockitj_> try: news.map { |n| n.title }.join("\n")
<H1gh> you understand?
<tockitj_> H1gh, you want to have news titles in separate lines ?
<H1gh> tockitj_: exactly!
<tockitj_> there you go ^
aetcore has quit [Remote host closed the connection]
aetcore has joined #ruby-lang
<H1gh> tockitj_: puts data.at_css("#news").text
<H1gh> what should i put in front on text
<H1gh> to get the titles in separate lines
kurko_ has joined #ruby-lang
<tockitj_> try data.at_css("#news > *").text.join("\n")
<tockitj_> sorry, this: data.at_css("#news > *:first-child").text.join("\n")
<H1gh> undefined method `join' for #<String:0x007fa418ae1320> (NoMethodError)
<H1gh> lol
francisfish has quit [Ping timeout: 260 seconds]
imajes has quit [Excess Flood]
<tockitj_> data.css("#news > *:first-child").text.join("\n")
toretore has joined #ruby-lang
imajes has joined #ruby-lang
<H1gh> same error
<tockitj_> data.css("#news > *:first-child").map { |d| d.text }.join("\n")
francisfish has joined #ruby-lang
<H1gh> nop
<H1gh> :s
<H1gh> tockitj_: with ).text.squeeze("\n")
<H1gh> I got
<H1gh> with that spaces between the news
Guest is now known as sphera
saxy has joined #ruby-lang
sush24 has joined #ruby-lang
aetcore_ has joined #ruby-lang
aetcore has quit [Ping timeout: 260 seconds]
dc5ala has quit [Quit: Ex-Chat]
cultureulterior_ has quit [Ping timeout: 252 seconds]
saxy has quit [Ping timeout: 245 seconds]
cultureulterior_ has joined #ruby-lang
znake is now known as znake|away
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
<andrewvos> ddfreyne: :(
Jake232 has joined #ruby-lang
kurko_ has quit [Ping timeout: 245 seconds]
lele|w has joined #ruby-lang
kurko_ has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
sandbags has quit [Remote host closed the connection]
bastilian has quit [Read error: Connection reset by peer]
methods1 has joined #ruby-lang
znake|away is now known as znake
methods has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
Hakon has joined #ruby-lang
sush24_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
svyatov has quit [Quit: svyatov]
sush24 has quit [Ping timeout: 256 seconds]
jxie has joined #ruby-lang
sharma__ has joined #ruby-lang
sush24_ has quit [Ping timeout: 240 seconds]
jstewart has joined #ruby-lang
heftig_ has quit [Quit: leaving]
runeb has quit [Remote host closed the connection]
Hakon has quit [Quit: Leaving...]
lcdhoffman has joined #ruby-lang
slyphon has joined #ruby-lang
outoftime has joined #ruby-lang
dhruvasagar has joined #ruby-lang
runeb has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
sharma__ has quit [Ping timeout: 268 seconds]
Hakon has joined #ruby-lang
sharma__ has joined #ruby-lang
methods1 has quit [Quit: Leaving.]
scampbell has joined #ruby-lang
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
znake has quit [Quit: Linkinus - http://linkinus.com]
slyphon has quit [Quit: WeeChat 0.3.8]
kgrz has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
sailias has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
banisterfiend has joined #ruby-lang
lxsameer has joined #ruby-lang
<lxsameer> chris2: pin
isale-eko has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
Weems has joined #ruby-lang
r0bgleeson has joined #ruby-lang
saxy has joined #ruby-lang
mistym has quit [Remote host closed the connection]
nitti has joined #ruby-lang
saxy has quit [Ping timeout: 260 seconds]
Hakon has quit [Quit: Leaving...]
postmodern has quit [Quit: Leaving]
d3vic3 has quit [Ping timeout: 245 seconds]
dous has joined #ruby-lang
d3vic3 has joined #ruby-lang
slyphon has joined #ruby-lang
Serial_Killer_C has joined #ruby-lang
Serial_Killer_C has quit [Remote host closed the connection]
BigO has joined #ruby-lang
Hakon has joined #ruby-lang
mistym has joined #ruby-lang
ttilley has quit [Quit: ttilley]
ttilley has joined #ruby-lang
sush24_ has joined #ruby-lang
sharma__ has quit [Ping timeout: 255 seconds]
lxsameer has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
gravityblast has joined #ruby-lang
lxsameer has joined #ruby-lang
lxsameer has joined #ruby-lang
lxsameer has quit [Changing host]
imajes has quit [Excess Flood]
methods has joined #ruby-lang
imajes has joined #ruby-lang
davidbalber|away is now known as davidbalbert
senekis has joined #ruby-lang
gsav has joined #ruby-lang
gsav_ has joined #ruby-lang
davidbalbert is now known as davidbalber|away
imajes has quit [Excess Flood]
dstywho has joined #ruby-lang
davidbalber|away is now known as davidbalbert
imajes has joined #ruby-lang
davidbalbert is now known as davidbalber|away
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
davidbalber|away is now known as davidbalbert
carloslopes has quit [Read error: Operation timed out]
enebo has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
Miraks has joined #ruby-lang
Jake232 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
aetcore_ has quit [Ping timeout: 245 seconds]
<eam> hm, digging into Pathname this morning it *does* do the right thing if consider_symlink=true
<eam> but that should be default
rue|w has joined #ruby-lang
Miraks has quit []
<andrewvos> If I have two arrays, ["a", "b", "c"] and ["a", "b", "c", "d"] how do I find the beginning values that are similar? (["a", "b", "c"]).
<zzak> andrewvos: &
aetcore has joined #ruby-lang
<andrewvos> zzak: I need them to be in order.
<andrewvos> zzak: [1,2] and [1,"meh"] should return [1]
<zzak> %w[a b c] & %w[a b c d] #=> ["a", "b", "c"]
<tsou> andrewvos: it does
<andrewvos> %w[b c a] & %w[a b c] should return []
aetcore has quit [Remote host closed the connection]
dstywho_ has joined #ruby-lang
<andrewvos> %w[b c a] & %w[a b c] #=> ["b", "c", "a"]
<zzak> it uses the order of the first argument
dstywho_ has quit [Client Quit]
<andrewvos> That's not what I want
<zzak> what are you trying to do?
runeb has quit [Remote host closed the connection]
<tsou> andrewvos: then .each_with_index.to_a before &'ing them?
dr_bob has quit [Quit: Leaving.]
rue|w has quit [Ping timeout: 255 seconds]
<tsou> (and then .map { |d| d.first } )
carloslopes has joined #ruby-lang
<andrewvos> zzak: I'm trying to write a script to find scenarios in cucumber features files that use the same few steps
gsav_ has quit [Ping timeout: 240 seconds]
<andrewvos> tsou: each_with_index worked. Not sure how though
<andrewvos> Oh ok I understand it.
<andrewvos> Thanks
<tsou> no prob
gsav has quit [Ping timeout: 265 seconds]
|Vargas| has quit [Quit: ...]
_atomic has joined #ruby-lang
_atomic has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
dr_bob has joined #ruby-lang
qwerxy has quit [Quit: offski]
albybisy has joined #ruby-lang
qwerxy has joined #ruby-lang
dankest has joined #ruby-lang
gsav has joined #ruby-lang
saxy has joined #ruby-lang
wallerdev has joined #ruby-lang
svyatov has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 252 seconds]
qwerxy has quit [Ping timeout: 255 seconds]
gsav_ has joined #ruby-lang
kitallis has quit [Ping timeout: 245 seconds]
thinkdevcode has joined #ruby-lang
comboy has quit [Quit: No Ping reply in 180 seconds.]
qwerxy has joined #ruby-lang
comboy has joined #ruby-lang
kitallis has joined #ruby-lang
saxy has quit [Ping timeout: 240 seconds]
Hakon has quit [Quit: Leaving...]
agarcia has quit [Quit: Konversation terminated!]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
mwjcomputing has quit [Quit: Leaving]
albybisy has quit [Remote host closed the connection]
runeb has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
gregmoreno has joined #ruby-lang
_sillymarkets has quit [Quit: Page closed]
_sillymarkets has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
apeiros_ has joined #ruby-lang
richardjapenga has quit [Quit: Leaving]
runeb has quit [Ping timeout: 240 seconds]
datanoise has joined #ruby-lang
tUze has joined #ruby-lang
bcardarella has left #ruby-lang [#ruby-lang]
H1gh has quit [Ping timeout: 260 seconds]
tUze is now known as H1gh
FredLe has joined #ruby-lang
rekky has joined #ruby-lang
gravityblast has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
thatdutchguy has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
ryanlecompte has joined #ruby-lang
KA_ has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
runeb has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
KA_ has quit [Client Quit]
Criztian has joined #ruby-lang
<andrewvos> H1gh: Can you ask your questions in here from now on please.
<andrewvos> I have work to do, and can't spend my time answering simple questions.
carloslopes has quit [Read error: Connection reset by peer]
carloslopes has joined #ruby-lang
kalleth has quit [Quit: kalleth]
mars__ has quit [Quit: Leaving]
cschwartz has quit [Ping timeout: 276 seconds]
dr_bob has joined #ruby-lang
runeb has quit [Ping timeout: 240 seconds]
blazes816 has joined #ruby-lang
m3nd3s has joined #ruby-lang
setmeaway has joined #ruby-lang
gsav has quit [Quit: Lost terminal]
dr_bob has quit [Client Quit]
isale-eko has joined #ruby-lang
wyhaines has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
sush24_ has quit [Quit: This computer has gone to sleep]
cschwartz has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
qwerxy has quit [Quit: offski]
qwerxy has joined #ruby-lang
<mistym> H1gh: Yes, it also makes it easier to get answers from multiple people.
<ddd> tag team!
cyri_ has quit [Ping timeout: 260 seconds]
m3nd3s has quit [Remote host closed the connection]
javilm has joined #ruby-lang
<yorickpeterse> `while begin l = left.shift; r = right.shift; l or r end ` HNNNNGGNGNNN RUBY STDLIB
GarethAdams has quit [Quit: Linkinus - http://linkinus.com]
<zzak> is that ripper?
cschwartz has quit [Ping timeout: 256 seconds]
<apeiros_> haha, nice loop condition :D
<yorickpeterse> zzak: OptionParser
alvaro_o has joined #ruby-lang
<zzak> oh, #summarize
<zzak> nice..
shtirlic has quit [Remote host closed the connection]
runeb has joined #ruby-lang
cschwartz has joined #ruby-lang
asdfqwer has joined #ruby-lang
blacktul_ has joined #ruby-lang
tenderlove has joined #ruby-lang
blacktulip has quit [Ping timeout: 260 seconds]
cschwartz has quit [Ping timeout: 252 seconds]
geopet has joined #ruby-lang
rolfb has joined #ruby-lang
dpatel has joined #ruby-lang
datanoise has quit [Ping timeout: 265 seconds]
runeb has quit [Ping timeout: 240 seconds]
kitallis has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby-lang
<yorickpeterse> OptionParser surprises me yet again
<yorickpeterse> The fuck does '*variable = ...` even do?
<yorickpeterse> (beyond assigning a value of course)
<H1gh> can i put this inside a if loop? puts data.at_css("#news").text.squeeze(" ")squeeze("\n")
m3nd3s has joined #ruby-lang
<mistym> yorickpeterse: I think nothing? I mean it's a splat but the end assignment is identical.
<manveru> yorickpeterse: it makes sure variable is an array
<mistym> Oh, what do you know. You're right. I had no idea that syntax existed.
<yorickpeterse> manveru: Right, hmm
<manveru> same as variable = [*...] i guess
sepp2k1 has joined #ruby-lang
<manveru> stdlib is full of gems like that :)
Criztian has quit [Remote host closed the connection]
<yorickpeterse> I've noticed so far
sepp2k has quit [Ping timeout: 245 seconds]
<yorickpeterse> What would I call such an assignment?
<yorickpeterse> "Array assignment" is rather ambiguous
<mistym> Obtuse.
<manveru> :)
<manveru> coming up with a name for that...
<manveru> splatty arraysignment?
havenn has quit [Remote host closed the connection]
<yorickpeterse> I'll just call it a splat assignment
<manveru> wouldn't that be a = *b ?
<manveru> actually, where's the difference...
<yorickpeterse> That returns the value values
<manveru> i mean, if there's only one lefthand and righthand, then the splat works on either side just fine
<manveru> you could even use *a = *1
dankest has quit [Quit: Linkinus - http://linkinus.com]
Mon_Ouie has joined #ruby-lang
dankest has joined #ruby-lang
Kingy has joined #ruby-lang
<H1gh> when i run this code -> puts data.at_css(".news").text.gsub "//n", "\r"
<H1gh> i receive an error syntax error, unexpected $end, expecting keyword_end
<H1gh> if i put end in the end
<H1gh> it doesnt work anyway
javilm has left #ruby-lang [#ruby-lang]
<H1gh> if i put the keywork end at the end of the code
<H1gh> doesnt work
dankest has quit [Client Quit]
dankest has joined #ruby-lang
<manveru> uhm
<manveru> first of all... //n is not a newline
<manveru> that would be \n
<manveru> and you're better off using tr for this :)
<manveru> secondly, show the whole code, because you're clearly having more in your file
<manveru> and this line is not where the error is
Kingy has quit [Read error: Connection reset by peer]
<manveru> did you try autoindent your code and see if there's some oddity?
<H1gh> that piece of code is inside a if loop -> if options == x
<H1gh> because if i dont put it in a if loop it works nice
<H1gh> without keyword end
<manveru> because if needs end
<H1gh> wait will gist
<manveru> but you're having something different
d3vic3 has quit [Quit: leaving]
<manveru> wish ruby didn't use $end when it means end of file...
<H1gh> oh already solved it
<manveru> there you go :)
benanne has joined #ruby-lang
<tubbo> is $GEM_HOME kinda like $PATH in the sense that it cycles through its entries until it finds the file you're looking for?
<manveru> tubbo: it looks for $GEM_HOME/specifications
mistym is now known as mistym_lunch
runeb has joined #ruby-lang
pkrnj has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 248 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lxsameer has quit [Quit: Leaving]
datanoise has joined #ruby-lang
nitti_ has joined #ruby-lang
nitti has quit [Ping timeout: 240 seconds]
mistym_lunch is now known as mistym
sn0wb1rd has quit [Quit: sn0wb1rd]
datanoise has quit [Ping timeout: 246 seconds]
runeb has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
<tubbo> manveru: right, so what would happen if i kept setting $GEM_HOME to be GEM_HOME=vendor/gems:$GEM_HOME every time i `cd` into a dir?
<tubbo> would this effectively continue loading gems into the "pool"?
qwerxy has quit [Quit: offski]
sepp2k1 has quit [Remote host closed the connection]
rebelcan has joined #ruby-lang
mrsolo has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
thillux has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
<manveru> tubbo: you can only have one GEM_HOME
sn0wb1rd has joined #ruby-lang
<manveru> iota ~ % GEM_HOME=nonesense:other_nonesense strace -etrace=file ruby -r blah -e '' 2>&1 | grep nonesense
<manveru> openat(AT_FDCWD, "nonesense:other_nonesense/specifications", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
svyatov has quit [Quit: svyatov]
cultureulterior_ has quit [Quit: cultureulterior_]
banisterfiend has joined #ruby-lang
<manveru> just use rvm if you want to change it on cd
nitti_ has left #ruby-lang [#ruby-lang]
nitti has joined #ruby-lang
Mon_Ouie has quit [Remote host closed the connection]
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
Mon_Ouie has joined #ruby-lang
shtirlic has joined #ruby-lang
tbuehlmann has joined #ruby-lang
datanoise has joined #ruby-lang
runeb has joined #ruby-lang
cschwartz has joined #ruby-lang
sn0wb1rd_ has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
sn0wb1rd has quit [Ping timeout: 240 seconds]
sn0wb1rd_ is now known as sn0wb1rd
cschwartz has quit [Ping timeout: 248 seconds]
bfreeman has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
mrsolo has quit [Quit: Leaving]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
runeb has quit [Ping timeout: 240 seconds]
canton7 has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 252 seconds]
canton7 has joined #ruby-lang
enebo has quit [Quit: enebo]
kurko_ has joined #ruby-lang
Uranio has joined #ruby-lang
Dreamer3 has quit [Quit: Computer has gone to sleep.]
ivanoats has joined #ruby-lang
<drbrain> jMCg: RDoc can't read ./src/tsung/priv/erl_crash.dump, it got Permission denied
<zzak> drbrain: do you have admin to bugs.ruby-lang.org?
<drbrain> zzak: nope
<zzak> its been down all day :/
<drbrain> Japan will be waking up in 3 or 4 hours, so it'll probably be restored in 4 to 5 hours
<zzak> yeh, it is really late/early there still
<zzak> おはよう!
<zzak> i setup ibus again :D
havenn has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
iamlacroix has joined #ruby-lang
<zzak> drbrain: also heard back from james britt on a few things
<drbrain> cool!
<zzak> he's trying to restore 2.0 stdlib docs
<apeiros_> banisterfiend: so, I finally did it, `alias irb=pry`
<zzak> and we were discussing how those are generated
<apeiros_> stopping that irb nonsense :)
<zzak> irb for lyfe
mistym is now known as mistym_lunch
<zzak> drbrain: specifically discussed how stdlib just extends core time class
<banisterfiend> apeiros_: how is it working out 4 u
<zzak> drbrain: he thinks they should still stay separate, but we both agree then, that there should be a mention in the stdlib docs that requiring the module will monkeypatch the core class
<apeiros_> banisterfiend: will see. you'll notice when the amount of buggings from my part goes up ;-)
qpingu has joined #ruby-lang
<zzak> drbrain: for Time specifically, we were wondering the rationality why not just include it in core?
<drbrain> probably because it would need to be ported to C for no real benefit
<drbrain> most of the methods in time.rb have something like "require 'time' to use this method"
<drbrain> or, some, anyhow
<zzak> drbrain: there's a few other modules in stdlib that do this as well, like fileutils, date, io/wait
<apeiros_> drbrain: just move the ruby code over literally and eval?
<apeiros_> I did that once to create a binary executable…
<drbrain> apeiros_: seems like cheating
<apeiros_> drbrain: so? it serves the purpose
<apeiros_> avoids having to translate it to C, avoids having to have a require 'time' which is confusing to many
<zzak> i dont like the cheats, but some of this stuff should probably just be in core if possible
<zzak> avoids confusion and an extra require
<zzak> yeah
<banisterfiend> apeiros_: k00, $ and ? are your frens :) and we're finally adding 'pipes' and save-source to the next release, should be much cooler soon
<apeiros_> cool
m3nd3s has joined #ruby-lang
<apeiros_> I'll move my irbrc in the next few days. that's probably when most questions will come.
<apeiros_> I like the project-specific .pryrc
<apeiros_> using pry-rails too, to have pry also in rails projects
<zzak> at any rate, making it clearer in these libs that 'this is an extension on a core class, you must require x to use it' is better than nothing
rekky has quit [Quit: rekky]
vectorshelve has joined #ruby-lang
<vectorshelve> I am writing an atoi method .. this is the issue I am facing https://gist.github.com/4074104
<apeiros_> oh, crossposter…
<apeiros_> (vectorshelve, that is)
brianpWins has joined #ruby-lang
<zzak> banisterfiend: i will say, i do use pry, and someone recently showed me pry-doc very cool
<zzak> drbrain: have you seen it yet?
<drbrain> vectorshelve: def atoi(value) value.to_i end # ??
sailias has quit [Quit: Leaving.]
<vectorshelve> drbrain: why is a.atoi("jdmkjsdvbkjvb") giving 0 ? or should it really be giving me 0 only since in ruby ("jdmkjsdvbkjvb").to_i would also return 0 :>)
<drbrain> vectorshelve: what do you want it to give?
<drbrain> vectorshelve: 24-26 is why it gives 0
<drbrain> that reduces your string to ""
<drbrain> so 11-13 does nothing, and result is returned
<banisterfiend> zzak: pry-doc is pry 101, you shoudl check out pry-rescue (https://github.com/conradirwin/pry-rescue), pry-debugger, and pry-remote-em
<drbrain> you could add an empty? check after line 9 to do something different
<vectorshelve> drbrain: I just want to make sure it works exactly similar to an atoi method.. may be like to_i in ruby :)
<banisterfiend> :P
<vectorshelve> apeiros_: here I am :)
bluepojo has joined #ruby-lang
<vectorshelve> didnt know a lot of bigshots migrated from #ruby to #ruby-lang
<zzak> banisterfiend: i saw the announce, but havent checked it out yet
sailias has joined #ruby-lang
<drbrain> vectorshelve: I have to get on the bus now, but I hope my pointers are helpful
alexkira has quit [Read error: Connection reset by peer]
<vectorshelve> drbrain: thanks... have a safe journey
saxy has joined #ruby-lang
FredLe has quit [Ping timeout: 245 seconds]
runeb has joined #ruby-lang
<H1gh> open': can't convert nil into String (TypeError)
<H1gh> data = nokogiri::HTML(open(url))
<H1gh> Whats wrong?
saxy has quit [Ping timeout: 255 seconds]
<apeiros_> url i snil
<apeiros_> *is
<H1gh> yes but i got
<H1gh> url = "http://site/"
<H1gh> and then the data
<H1gh> url = "http://.../"
<H1gh> data = Nokogiri:HTML(open(url))
<H1gh> why i receive that error, is all right isnt it
__butch__ has joined #ruby-lang
<jMCg> Can someone please tell me what I'm doing wrong in this string comparision: http://dpaste.com/831117/ ?
runeb has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wlsn has joined #ruby-lang
<_sillymarkets> Any EventMachine gurus on?
Uranio has quit [Quit: WeeChat 0.3.8]
leopard_me has quit [Quit: Computer has gone to sleep.]
swarley has joined #ruby-lang
gaveen has quit [Remote host closed the connection]
vectorshelve has quit [Quit: Page closed]
banisterfiend has quit [Ping timeout: 252 seconds]
gravityblast has joined #ruby-lang
gravityblast has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
_sillymarkets has quit [Ping timeout: 245 seconds]
kalleth has joined #ruby-lang
herpless_ is now known as herpless
robotmay_ has quit [Remote host closed the connection]
kalleth has quit [Client Quit]
<herpless> jMCg: i'm just guessing, but is it possible that the "sha1_file.read" doesn't return a string, but something else? try sha_file_content.to_s == sha1.to_s or so
runeb has joined #ruby-lang
<darix> jMCg: .chomp
<darix> also you could change line 17 to just
<darix> sha1
<darix> return sha1_file_content == sha1
<darix> although i would think returning nil in that case is better than false
R_Macy has joined #ruby-lang
_sillymarkets has joined #ruby-lang
jstewart has quit [Ping timeout: 245 seconds]
saxy has joined #ruby-lang
gregmoreno has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
runeb has quit [Ping timeout: 268 seconds]
jstewart has joined #ruby-lang
voker57 has quit [Ping timeout: 276 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
mistym_lunch is now known as mistym
s0ber_ has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 255 seconds]
s0ber_ is now known as s0ber
wyhaines has quit [Remote host closed the connection]
saxy has quit [Ping timeout: 240 seconds]
chimkan_ has joined #ruby-lang
srji has joined #ruby-lang
<yorickpeterse> Another little gem I found in stdlib: http://pastebin.com/raw.php?i=qhxLWCxd
<yorickpeterse> Does anybody know what such a call would do (the when statement)?
<methods> it's probably auto expanding it
<methods> just like you can do x = [ 1, 2, 3 ] some_func *x which turns into some_func 1, 2, 3
<yorickpeterse> It's an odd bit since just `*foo` is invalid
outoftime has quit [Read error: Connection reset by peer]
<lianj> yorickpeterse: what methods said
<yorickpeterse> hmm
<yorickpeterse> thanks
<yorickpeterse> would be nice if this was more properly documented somewhere
<yorickpeterse> Would also be nice if Ripper actually had some decent docs
<methods> ripper ?
<methods> i think it is a pretty well known feature of ruby and many other languages
<zzak> yorickpeterse: check trunk
<zzak> its a start
<lianj> ruby -rripper -rpp -e '[:tokenize, :lex, :sexp].map{|m| pp Ripper.send(m, "a,b = *[1,2]"); puts }'
ruurd has joined #ruby-lang
justinram has joined #ruby-lang
<methods> cool
<yorickpeterse> zzak: nice
<yorickpeterse> That's a lot better than what currently exists
rolfb has quit [Quit: Linkinus - http://linkinus.com]
<zzak> thank you
<zzak> it could be better
felipe has quit [Ping timeout: 244 seconds]
weeb1e_ has quit [Quit: No Ping reply in 180 seconds.]
runeb has joined #ruby-lang
Kingy has joined #ruby-lang
weeb1e has joined #ruby-lang
<zzak> this is what i have to put up with while im trying to work
saxy has joined #ruby-lang
<yorickpeterse> haha
fsvehla has joined #ruby-lang
runeb has quit [Ping timeout: 265 seconds]
datanoise has joined #ruby-lang
saxy_ has joined #ruby-lang
saxy has quit [Ping timeout: 252 seconds]
datanoise has quit [Ping timeout: 246 seconds]
fsvehla has quit [Quit: fsvehla]
keller-ship has joined #ruby-lang
outoftime has joined #ruby-lang
iamlacroix has quit [Remote host closed the connection]
Kingy has quit [Quit: Leaving]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
shtirlic has quit [Remote host closed the connection]
<jMCg> ack.
<jMCg> darix: .chomp on what?
m3nd3s has quit [Remote host closed the connection]
runeb has joined #ruby-lang
<apeiros_> oooh, nice, rand(1..10) != rand(1.0..10.0)
<apeiros_> life just got easier
richardjortega has joined #ruby-lang
sleepynate has joined #ruby-lang
<sleepynate> anyone here responsible for the redmine that takes care of ruby bug reports? :)
<sleepynate> 'cause it's down :(
yxhuvud has quit [Ping timeout: 245 seconds]
Carnage\ has joined #ruby-lang
tenderlove has joined #ruby-lang
wlsn has quit [Quit: Leaving]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
runeb has quit [Ping timeout: 240 seconds]
slyphon has quit [Read error: Connection reset by peer]
<zenspider> lianj: what I hate about ripper:
<zenspider> ruby19 -rripper -rpp -e "[:tokenize, :lex, :sexp].map{|m| pp Ripper.send(m, \"I'm a little teapot\"); puts }"
<zenspider> bbiab
slyphon has joined #ruby-lang
<zenspider> sleepynate: they're aware
sn0wb1rd_ has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 240 seconds]
sn0wb1rd has joined #ruby-lang
sn0wb1rd has quit [Remote host closed the connection]
<sleepynate> zenspider: kind of figured, but i hit a stack trace in core and wanted to see if i wasn't the only one
<sleepynate> guess i'll hit it with gdb
sn0wb1rd has joined #ruby-lang
sn0wb1rd_ has quit [Ping timeout: 260 seconds]
<zenspider> *nod*
<zenspider> I doubt you're the only one
saxy_ has quit [Remote host closed the connection]
<sleepynate> hehehe
<zenspider> we found a regression in Marshal yesterday. :)
<sleepynate> yea this is from protocol in the network stacj
<sleepynate> but i think i will do that at home in my slippers :P
<sleepynate> thanks for the response
TheDracle has quit [Remote host closed the connection]
felipe has joined #ruby-lang
sleepynate has quit [Ping timeout: 260 seconds]
josephholsten has joined #ruby-lang
<josephholsten> who owns http://bugs.ruby-lang.org ?
<josephholsten> as it's 500ing
thatdutchguy has quit [Remote host closed the connection]
runeb has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
cyri_ has joined #ruby-lang
jstewart has quit [Quit: Leaving.]
keller-ship has quit [Quit: Leaving]
<zzak> lol
<zzak> josephholsten: known bug
srji has quit [Quit: Lost terminal]
<josephholsten> well I'm making due with cached copies of the pages
runeb has quit [Ping timeout: 248 seconds]
sailias has quit [Read error: Connection reset by peer]
kain has quit [Quit: exit]
benanne has quit [Ping timeout: 245 seconds]
cyri_ has quit [Quit: cyri_]
kurko_ has quit [Quit: Computer has gone to sleep.]
kain has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
scampbell has quit [Quit: Ex-Chat]
<andrewvos> Hello internets
fsvehla has joined #ruby-lang
vmoravec has quit [Ping timeout: 252 seconds]
vmoravec has joined #ruby-lang
Criztian has joined #ruby-lang
<jMCg> darix: private method `chop' called for #<Digest::SHA1: cb0c98431e6729722a6af81186c4eed3193bf9b1>
workmad3 has joined #ruby-lang
benanne has joined #ruby-lang
kain has quit [Quit: exit]
cyri_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
<darix> so call .to_s on your sha object
<darix> then you can compare it
<darix> with the string you read
KA_ has joined #ruby-lang
runeb has joined #ruby-lang
imajes has quit [Excess Flood]
<zzak> josephholsten: seems to be back up
<josephholsten> yay!
imajes has joined #ruby-lang
CaptainJet has quit []
kain has joined #ruby-lang
slyphon has joined #ruby-lang
sleepynate has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
runeb has quit [Ping timeout: 264 seconds]
Carnage\ has quit []
havenn has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
R_Macy has quit []
_dicksont has joined #ruby-lang
saxy has joined #ruby-lang
qwerxy has joined #ruby-lang
BigO has quit [Remote host closed the connection]
aetcore has joined #ruby-lang
saxy has quit [Ping timeout: 252 seconds]
L0rdShrek___ has joined #ruby-lang
hackeron_ has joined #ruby-lang
bluepojo has quit [Quit: Leaving.]
L0rdShrek__ has quit [Read error: Operation timed out]
hackeron has quit [Read error: Operation timed out]
gsav has joined #ruby-lang
bluepojo has joined #ruby-lang
<andrewvos> telemachus: I notice you worked on rbfu zsh completion! Thanks! Also, it doesn't work for me :/
bfreeman has quit [Read error: Connection reset by peer]
bfreeman has joined #ruby-lang
gsav_ has quit [Ping timeout: 265 seconds]
sailias has joined #ruby-lang
qwerxy has quit [Quit: offski]
gsav has quit [Ping timeout: 276 seconds]
<andrewvos> injekt: I wasn't being sarcastic. That movie is cool :)
aetcore_ has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
swarley has quit [Read error: Operation timed out]
mistym has quit [Remote host closed the connection]
swarley has joined #ruby-lang
aetcore has quit [Ping timeout: 248 seconds]
KA_ has quit [Quit: KA_]
runeb has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
_dicksont has quit [Quit: Leaving]
saxy has joined #ruby-lang
wyhaines has joined #ruby-lang
kurko_ has joined #ruby-lang
davidbalbert is now known as davidbalber|away
slyphon has quit [Quit: WeeChat 0.3.8]
Xzyx987X has quit [Read error: Connection reset by peer]
Xzyx987X has joined #ruby-lang
nitti has quit [Remote host closed the connection]
Xzyx987X_ has joined #ruby-lang
sailias has quit [Ping timeout: 246 seconds]
blacktul_ has quit [Remote host closed the connection]
saxy has quit [Remote host closed the connection]
saxy has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 260 seconds]
runeb has quit [Ping timeout: 265 seconds]
Guest65027 is now known as mitchty
DEac- has quit [Read error: No route to host]
dankest has quit [Quit: Linkinus - http://linkinus.com]
aetcore_ has quit []
saxy_ has joined #ruby-lang
aetcore has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
sleepynate has quit [Ping timeout: 265 seconds]
saxy has quit [Read error: Connection reset by peer]
outoftime has quit [Quit: Leaving]
Kingy has joined #ruby-lang
DEac- has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
tenderlo_ has joined #ruby-lang
Kingy has quit [Client Quit]
solars has quit [Ping timeout: 240 seconds]
unsymbol has quit [Quit: ZNC - http://znc.in]
unsymbol has joined #ruby-lang
tenderlove has quit [Ping timeout: 255 seconds]
aetcore has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
pkrnj has joined #ruby-lang
runeb has joined #ruby-lang
thinkdevcode has quit [Remote host closed the connection]
Averna has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]
mpan has joined #ruby-lang
gregmoreno has joined #ruby-lang
mrsolo has joined #ruby-lang
amerine has quit [Quit: Lost terminal]
amerine has joined #ruby-lang
amerine has quit [Client Quit]
gjaldon has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
amerine has joined #ruby-lang
runeb has quit [Ping timeout: 248 seconds]
faces has quit [Ping timeout: 260 seconds]