apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
rsahae_ has joined #ruby
<Eiam> have a server use the keys and just give your script users the results?
Soliah has joined #ruby
queston has quit [Ping timeout: 264 seconds]
emergion has quit [Ping timeout: 260 seconds]
troker has joined #ruby
<havenwood> freestyl3r: What is the script for? Can you assume internet connection? Does its size matter?
krainboltgreene has joined #ruby
<troker> Hey all, total ruby newb trying to install the airstream ruby gem, but Im getting this error message? Any thoughts? Running gem update --system returns ""Latest Version Already Installed" but it clearly failed. http://pastebin.com/QtsAUNFQ
queston has joined #ruby
<Eiam> troker: what version of ruby do you have?
<troker> 1.9
justsee has joined #ruby
justsee has joined #ruby
orion has left #ruby [#ruby]
<freestyl3r> havenwood: just an imgur uploader. have a user register his own application to fill in the client id & secret seems like a lot of work
wmoxam has joined #ruby
Todd has joined #ruby
rfizzle has quit [Ping timeout: 268 seconds]
`p has quit [Ping timeout: 246 seconds]
RobW_ has joined #ruby
<troker> I think I found a fix but I need to add it to my… gemfile?
<troker> where is that?
fryguy- is now known as fryguy
burlyscudd has quit [Quit: Leaving.]
<fryguy> troker: Gemfile would be in the root of your project if you are using Bundler
<troker> mhm.. Im just trying to update it
freakazoid0223 has quit [Read error: Operation timed out]
nomenkun has joined #ruby
<fryguy> troker: what version do you have installed
<troker> fryguy 1.9
<fryguy> troker: of airstream
jimg has joined #ruby
<troker> gem install airstream ?
milardovich has joined #ruby
<fryguy> troker: gem list airstream
<troker> *** LOCAL GEMS *** and then noting
<troker> *nothing
<fryguy> ok, so gem install airstream and then output that
<troker> fryguy output what?
<fryguy> the failure that you get
freakazoid0223 has joined #ruby
<fryguy> so, the error is on like line 3 and tells you what to do. install that library
vlad_starkov has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
nomenkun has quit [Ping timeout: 256 seconds]
marr has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
takezawa has quit [Remote host closed the connection]
<troker> fryguy I'm running FreeBSD, I couldn't find any results for that
<pontiki_> freestyl3r: the way i do it is have a config file that is not part of my repo, and a sample-config file that is, but only contains the things the user of the script needs to install
takezawa has joined #ruby
<popl> What's FreeBSD got to do with this?
<pontiki_> not install -- write into the config file i mean
<pontiki_> credentials, names, local stuff, etc
<fryguy> troker: on my system it's in the avahi package
vigintas has quit [Ping timeout: 256 seconds]
<fryguy> troker: i'd guess it's either avahi or avahi-libdns on freebsd
dkeefe75 has joined #ruby
mahmoudimus has joined #ruby
<fryguy> i'm way too lazy to install both to verify that for you
jimg has quit [Ping timeout: 240 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 256 seconds]
<troker> fryguy I have those installed and no dice, I guess Ill just keep looking for this libraryy
queston has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
takezawa has quit [Ping timeout: 268 seconds]
KhalilC has quit [Ping timeout: 276 seconds]
`p has joined #ruby
brum has joined #ruby
marcgg has quit [Ping timeout: 248 seconds]
justsee has quit [Ping timeout: 268 seconds]
brum is now known as ryancw
marcgg has joined #ruby
io_syl has quit [Read error: Operation timed out]
jimg has joined #ruby
pyreal has quit [Quit: pyreal]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
threesome has quit [Ping timeout: 276 seconds]
dmiller has joined #ruby
troker has quit [Ping timeout: 246 seconds]
Spooner has quit [Remote host closed the connection]
julweber_ has joined #ruby
Inside has quit [Ping timeout: 240 seconds]
yshh has quit [Remote host closed the connection]
Kricir has joined #ruby
zeade has quit [Quit: Leaving.]
wmoxam has joined #ruby
julweber has quit [Ping timeout: 252 seconds]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
tkuchiki has joined #ruby
arya_ has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
dpatel has quit [Quit: dpatel]
huoxito has joined #ruby
arya__ has quit [Ping timeout: 248 seconds]
nomenkun has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has joined #ruby
codesod__ is now known as codesoda
djbkd has quit [Quit: Leaving]
ssvo has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
nomenkun has quit [Read error: Operation timed out]
ffranz has joined #ruby
JimmyNeutron has joined #ruby
ffio_ has joined #ruby
ffio has quit [Ping timeout: 246 seconds]
emmanuelux has quit [Remote host closed the connection]
mfletcher has joined #ruby
ssvo has quit [Ping timeout: 268 seconds]
RichardBaker has quit [Quit: RichardBaker]
c0rn has quit [Quit: Computer has gone to sleep.]
nbouscal has joined #ruby
blitz has quit [Quit: This computer has gone to sleep]
Xeago_ has joined #ruby
jeremy_c has joined #ruby
yekta has joined #ruby
phutchin1 has quit [Ping timeout: 260 seconds]
Chris has joined #ruby
Chris is now known as Guest74521
wallerdev_ has joined #ruby
tomzx_mac_ has joined #ruby
LetsNukeUSA has quit [Ping timeout: 240 seconds]
krislappy has joined #ruby
krislappy has joined #ruby
mfletcher_ has joined #ruby
tomzx_mac has quit [Ping timeout: 343 seconds]
moshee has quit [Ping timeout: 343 seconds]
krisfremen has quit [Write error: Connection reset by peer]
wallerdev has quit [Write error: Connection reset by peer]
ereslibre has quit [Write error: Connection reset by peer]
jeremy_c_ has quit [Write error: Connection reset by peer]
wallerdev_ is now known as wallerdev
moshee has joined #ruby
mfletcher has quit [Read error: Connection reset by peer]
mfletcher_ is now known as mfletcher
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
northelks has joined #ruby
felixjet__ has joined #ruby
mfletcher has left #ruby [#ruby]
marcgg has quit [Ping timeout: 240 seconds]
robert__ has joined #ruby
robert__ has quit [Changing host]
robert__ has joined #ruby
takezawa has joined #ruby
Astral__ has joined #ruby
Soliah has quit [Ping timeout: 248 seconds]
xptnd has quit [Ping timeout: 248 seconds]
Xeago has quit [Ping timeout: 248 seconds]
zets2 has joined #ruby
Asher1 has joined #ruby
wesside_ has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
sumark has quit [Read error: Operation timed out]
sumark_ has joined #ruby
xptnd has joined #ruby
rgarver has quit [Read error: Connection reset by peer]
jaredrhine_ has joined #ruby
marcgg has joined #ruby
cam`_ has joined #ruby
xargoon has quit [Ping timeout: 246 seconds]
wesside has quit [Ping timeout: 246 seconds]
Asher has quit [Read error: Connection reset by peer]
fcoury__ has quit [Ping timeout: 246 seconds]
joshu has quit [Ping timeout: 246 seconds]
cam` has quit [Ping timeout: 246 seconds]
cheese1756 has quit [Ping timeout: 246 seconds]
jaredrhine has quit [Read error: Connection reset by peer]
ericmathison has quit [Ping timeout: 246 seconds]
devyn has quit [Ping timeout: 246 seconds]
ericmath1son has joined #ruby
Kelet_ has joined #ruby
devyn_ has joined #ruby
fess has quit [Ping timeout: 246 seconds]
mogsy has quit [Ping timeout: 246 seconds]
robert_ has quit [Ping timeout: 246 seconds]
banjara has quit [Quit: Leaving.]
s14 has joined #ruby
felixjet_ has quit [Ping timeout: 246 seconds]
mogsy has joined #ruby
takezawa_ has joined #ruby
joshu has joined #ruby
ndngvr` has joined #ruby
mmitchel_ has joined #ruby
xargoon has joined #ruby
adrian_ has joined #ruby
fcoury___ has joined #ruby
dbruns_ has quit [Ping timeout: 256 seconds]
dbruns has joined #ruby
_seanc_ has quit [Quit: _seanc_]
danCe- has joined #ruby
KarlHung1s has joined #ruby
tkuchiki_ has joined #ruby
takezawa_ has quit [Read error: Connection reset by peer]
takezawa_ has joined #ruby
wsterling has joined #ruby
Astral_ has quit [Ping timeout: 256 seconds]
Ortuna_ has joined #ruby
zets has quit [Ping timeout: 246 seconds]
ssvo has joined #ruby
cheese1756 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Beoran_ has joined #ruby
AndChat| has joined #ruby
brennanMKE has joined #ruby
wuest_ has joined #ruby
takezawa_ has quit [Read error: Connection reset by peer]
Wandering_Glitch has joined #ruby
drizz has joined #ruby
buzzybron has joined #ruby
takezawa_ has joined #ruby
rotor` has joined #ruby
mnms_ has joined #ruby
kiela_ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Raboo_ has joined #ruby
yshh has joined #ruby
msuszczy_ has joined #ruby
queston has joined #ruby
agjacome_ has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
eval-in_ has joined #ruby
JimmyNeutron has quit [Ping timeout: 256 seconds]
cam`_ is now known as cam`
sgkim1261 has joined #ruby
heidar_ has joined #ruby
three18t- has joined #ruby
yellow5_ has joined #ruby
firebury has joined #ruby
takezaw__ has joined #ruby
takezawa_ has quit [Read error: Connection reset by peer]
Guedes0 has joined #ruby
adrian_ has quit [Quit: Linkinus - http://linkinus.com]
slightair has quit [Ping timeout: 256 seconds]
lyanchih has joined #ruby
Kruppe has quit [Remote host closed the connection]
Mendon has quit [Ping timeout: 256 seconds]
ryotarai has quit [Ping timeout: 256 seconds]
danCe- has quit [Ping timeout: 240 seconds]
Kruppe has joined #ruby
vadelius has quit [Ping timeout: 256 seconds]
willrax has quit [Ping timeout: 256 seconds]
Astral_ has joined #ruby
takezawa_ has joined #ruby
Niamkik has joined #ruby
forced_request has joined #ruby
[0x1a] has quit [Ping timeout: 256 seconds]
Jb___ has quit [Ping timeout: 256 seconds]
shtirlic has quit [Ping timeout: 256 seconds]
takezaw__ has quit [Read error: Connection reset by peer]
MetaCosm_ has joined #ruby
takezawa has quit [*.net *.split]
tomzx_mac_ has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
huoxito has quit [*.net *.split]
Cyrus has quit [*.net *.split]
Ortuna has quit [*.net *.split]
axeman- has quit [*.net *.split]
doritostains has quit [*.net *.split]
agjacome has quit [*.net *.split]
JumpMast3r has quit [*.net *.split]
gildo has quit [*.net *.split]
mnms has quit [*.net *.split]
mmitchell has quit [*.net *.split]
Beoran__ has quit [*.net *.split]
lkba has quit [*.net *.split]
ejnahc has quit [*.net *.split]
Tarential has quit [*.net *.split]
joast has quit [*.net *.split]
msuszczy has quit [*.net *.split]
strax has quit [*.net *.split]
bobbyz has quit [*.net *.split]
sgkim126l has quit [*.net *.split]
ndngvr has quit [*.net *.split]
Akuma has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
_s14_ has quit [*.net *.split]
Raboo has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
Kelet has quit [*.net *.split]
three18ti has quit [*.net *.split]
firebury_ has quit [*.net *.split]
chee has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
preller has quit [*.net *.split]
rotor has quit [*.net *.split]
blz37 has quit [*.net *.split]
fbernier has quit [*.net *.split]
kiela has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
emptynine has quit [*.net *.split]
heidar has quit [*.net *.split]
davidboy has quit [*.net *.split]
eval-in has quit [*.net *.split]
naquad has quit [*.net *.split]
drizz_ has quit [*.net *.split]
cespare has quit [*.net *.split]
wuest has quit [*.net *.split]
yellow5 has quit [*.net *.split]
rotor` is now known as rotor
three18t- is now known as three18ti
yellow5_ is now known as yellow5
Raboo_ is now known as Raboo
vereteran has joined #ruby
Niamkik_ has quit [Ping timeout: 256 seconds]
xefi_ has quit [Ping timeout: 256 seconds]
<RobW_> is there a way to write an assignment that sets the var to a hash if the var is unset, and merges with the var (which is a hash) if the var is set?
slightair has joined #ruby
axeman- has joined #ruby
JumpMast3r has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
Jb___ has joined #ruby
eka has quit [Ping timeout: 256 seconds]
calmyournerves has quit [Ping timeout: 256 seconds]
dayepa has quit [Quit: dayepa]
bobbyz has joined #ruby
nomenkun has joined #ruby
kofno has joined #ruby
ryotarai has joined #ruby
chee has joined #ruby
willrax has joined #ruby
calmyournerves has joined #ruby
tehKitten has quit [Ping timeout: 256 seconds]
dayepa has joined #ruby
<RobW_> I'm setting the var to an empty hash now and then doing merges in an each, just wondering if there's a cleaner way.
takezawa has joined #ruby
vadelius has joined #ruby
onewheelskyward has joined #ruby
ejnahc has joined #ruby
mogsy has quit [Ping timeout: 256 seconds]
kx has quit [Ping timeout: 256 seconds]
xefi_ has joined #ruby
eka has joined #ruby
<ravster> I'm trying to set up a thread pool to build up a single array. What is the best way to go about that?
lyanchih has quit [Ping timeout: 240 seconds]
tehKitten has joined #ruby
fbernier has joined #ruby
yourmysin has quit [Ping timeout: 256 seconds]
sixteneighty has quit [Ping timeout: 256 seconds]
msch has quit [Ping timeout: 256 seconds]
Gate has quit [Ping timeout: 256 seconds]
ssvo has quit [Ping timeout: 248 seconds]
tomzx_mac has joined #ruby
mogsy has joined #ruby
shtirlic has joined #ruby
Astral__ has quit [Ping timeout: 256 seconds]
pkrnj has joined #ruby
sixteneighty has joined #ruby
takezawa has quit [Read error: Connection reset by peer]
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
takezawa has joined #ruby
takezawa_ has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
<pontiki_> RobW_: not quite getting what you're after
kx has joined #ruby
takezawa has quit [Read error: Connection reset by peer]
92AAASRLC has quit [Ping timeout: 256 seconds]
nomenkun has quit [Ping timeout: 256 seconds]
<pontiki_> is it unless var1.nil? ; var1.merge(var2) ; else var1 = var2 ; end
marcgg_ has joined #ruby
oz has quit [Ping timeout: 256 seconds]
erichmenge has quit [Ping timeout: 256 seconds]
<pontiki_> ?
msch has joined #ruby
huoxito has joined #ruby
asteve has joined #ruby
<pontiki_> only doing that in some sort of single operation way?
cespare has joined #ruby
arya_ has joined #ruby
marcgg has quit [Ping timeout: 256 seconds]
Tarential has joined #ruby
erichmenge has joined #ruby
Akuma has joined #ruby
emptynine has joined #ruby
oz has joined #ruby
xefi_ has quit [Ping timeout: 256 seconds]
fbernier has quit [Ping timeout: 256 seconds]
classix has quit [Ping timeout: 256 seconds]
Nanuq has quit [Ping timeout: 245 seconds]
blz37 has joined #ruby
ericwood has quit [Ping timeout: 256 seconds]
fcoury has quit [Ping timeout: 256 seconds]
xefi_ has joined #ruby
hogeo has joined #ruby
phite has joined #ruby
classix has joined #ruby
fcoury has joined #ruby
davidboy has joined #ruby
fbernier has joined #ruby
ericwood has joined #ruby
<RobW_> pontiki_: Yeah, exactly.
Nahra has quit [Ping timeout: 256 seconds]
<RobW_> sorry, stepped away for a second.
<pontiki_> nw :)
Nahra has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
<pontiki_> there is probably some elegant way to do that
Hanmac has joined #ruby
robert__ is now known as robert_
Solnse has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 264 seconds]
<RobW_> I have an empty var an want to assign regex result each key: val
robbyoconnor has joined #ruby
[0x1a] has joined #ruby
<pontiki_> do you know it's always empty?
tommyvyo has joined #ruby
marcgg_ has quit [Ping timeout: 276 seconds]
<RobW_> So the first time through the var is empty.
nari has quit [Ping timeout: 256 seconds]
<RobW_> Yep, always.
<pontiki_> cause i'm wondering if you want a map/reduce thing?
superscott[8] has quit [Quit: superscott[8]]
marcgg has joined #ruby
<RobW_> I'll take a look.
<RobW_> I figured there would be a fancy ruby way.
Hanmac2 has quit [Ping timeout: 256 seconds]
gildo has joined #ruby
<pontiki_> there's *always* a fancy ruby way :))
jimg has quit [Remote host closed the connection]
<pontiki_> just blythely, something like this:
blitz has joined #ruby
ssvo has joined #ruby
<pontiki_> oh wait
<pontiki_> might something even easier
burlyscudd has joined #ruby
<pontiki_> if you can arrange your regexp results to be something like [[key1, val1],[key2, val2], ...]
oz has quit [Ping timeout: 256 seconds]
Nisstyre has quit [Quit: Leaving]
joast has joined #ruby
dallasm_ has joined #ruby
<pontiki_> you can create a hash out of that merely by Hash[[key1, val1],[key2, val2] ... ]
sailias has joined #ruby
<RobW_> Yeah, I think I need to just look a little closer at what I'm working with.
<RobW_> Thanks for the suggestions.
<pontiki_> nod
<pontiki_> good luck!
sevenseacat has joined #ruby
GeissT has joined #ruby
gf3 has quit [Ping timeout: 256 seconds]
oz has joined #ruby
kofno has quit [Remote host closed the connection]
JZTech101 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]
rupee has quit [Quit: Leaving]
ayonix has quit [Read error: Connection reset by peer]
ayonix has joined #ruby
gf3 has joined #ruby
bmn has joined #ruby
i_s has quit [Remote host closed the connection]
milardovich has quit [Quit: Leaving]
djbkd has joined #ruby
<RobW_> pontiki_: Thanks for the suggestion.
<RobW_> Hash[ *tag[:html_attr].scan(/(?<attr>[^\s="]+)(?:="(?<value>[^"]+)")?\s?/).flatten ]
<RobW_> Boo ya!
<RobW_> Now all my variable assignments look exactly the same :' )
<popl> oh that's ugly
reset has joined #ruby
<popl> are you trying to parse HTML with regexp?
i_s has joined #ruby
DanKnox is now known as DanKnox_away
ssvo has quit [Ping timeout: 276 seconds]
wmoxam has joined #ruby
cj3kim has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
rgarver has joined #ruby
harrymoreno has joined #ruby
jimg has joined #ruby
niklasb has quit [Ping timeout: 276 seconds]
burlyscudd has quit [Quit: Leaving.]
<pontiki_> parsing the entire HTML DOM is ugly, but it can be handy to extract just certain things
LucidDreamZzZ has quit [Remote host closed the connection]
LucidDreamZzZ has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
<RobW_> Parsing small bits of text for a liquid plugin.
<RobW_> It's not going to get any prettier, unless there's a nicer regex.
nbouscal has quit [Ping timeout: 248 seconds]
tkuchiki has joined #ruby
Domon has joined #ruby
<RobW_> No need to nokogiri "alt="some value" title="some value" data-my-attr
devyn_ has quit [Changing host]
devyn_ has joined #ruby
devyn_ is now known as devyn
Deele has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
kofno has joined #ruby
LucidDreamZzZz has joined #ruby
larissa has joined #ruby
splittingred has joined #ruby
JimmyNeutron has joined #ruby
LucidDreamZzZ has quit [Remote host closed the connection]
nari has joined #ruby
i_s has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<pontiki_> noop
<pontiki_> s'what i'm sayin'
nomenkun has quit [Ping timeout: 252 seconds]
jlast has joined #ruby
* popl shrugs
<popl> it looks a lot cleaner than that horrible regexp :)
<pontiki_> that's just cos you don't know regexp
<popl> What a silly assumption.
<pontiki_> RobW_: one thing to consider there might be white space between the = and "
pen has quit [Remote host closed the connection]
<pontiki_> you've got it covered for preceeding the =
<RobW_> pontiki_: I don't believe that's valid.
<RobW_> valid html I mean
<pontiki_> what alt = "blah" ?
RonScagz has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
<pontiki_> also, do you really expect to only deal with code that completely validates?
dallasm_ has quit []
ckrailo has quit [Quit: Computer has gone to sleep.]
Astralum has joined #ruby
<RobW_> pontiki_: Pretty sure that's not valid html.
Astral_ has quit [Ping timeout: 264 seconds]
jimg has quit [Remote host closed the connection]
<RobW_> As in a browser won't see the alt, so it's more than non-spec, it's actually broken.
twoism has quit [Remote host closed the connection]
BombStrike has quit [Ping timeout: 256 seconds]
<RobW_> Luckily this is for a liquid plugin, so the people using it are mostly developers. And the point of malformed html not passing is so the plugin can alert them to their error :)
arya_ has joined #ruby
<RobW_> You're right though, if it weren't a pretty specific situation I would be more worried.
rgarver has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dsabanin has joined #ruby
Guedes0 has quit [Ping timeout: 246 seconds]
harrymoreno has quit [Ping timeout: 256 seconds]
BombStrike has joined #ruby
yekta has quit [Quit: yekta]
<RobW_> An empty box.
harrymoreno has joined #ruby
<RobW_> Is it coming through for you?
<pontiki_> yes
iamjarvo has joined #ruby
<RobW_> Ah here we go.
<RobW_> I stand corrected.
<RobW_> Thanks for the knowledge.
<RobW_> But, if I look in the inspector, Chrome has parsed and fixed the spaces for us.
<RobW_> <img alt="some alt text" title="some kind of title"
arya_ has quit [Ping timeout: 248 seconds]
<pontiki_> anyway
<pontiki_> it's really not a huge deal
<RobW_> No. I appreciate the test case.
rsahae_ has quit [Quit: rsahae_]
lyanchih has joined #ruby
<pontiki_> given you know where things are coming from and that you can be certain that it's not coming in from some random web site written by the boss's grandson
nothnks has joined #ruby
dkeefe75 has quit [Quit: WeeChat 0.4.0]
harrymoreno has quit [Ping timeout: 264 seconds]
Kelet_ is now known as Kelet
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
harrymoreno has joined #ruby
ffranz has quit [Quit: Leaving]
robustus has quit [Ping timeout: 248 seconds]
RobW_ has quit [Ping timeout: 246 seconds]
lyanchih has quit [Ping timeout: 246 seconds]
pipework has joined #ruby
emptymag00 has quit [Ping timeout: 260 seconds]
pipework has quit [Remote host closed the connection]
arya_ has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
freestyl3r has quit [Quit: WeeChat 0.4.1]
nothnks has quit [Quit: Page closed]
harrymoreno has quit [Ping timeout: 240 seconds]
Nisstyre has joined #ruby
johnjohnson has joined #ruby
johnjohnson has quit [Client Quit]
harrymoreno has joined #ruby
vlad_starkov has joined #ruby
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
robustus has joined #ruby
queston has quit [Remote host closed the connection]
chrishough has joined #ruby
havenwood has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has joined #ruby
djbkd has quit [Remote host closed the connection]
CaptainJet_ has quit []
CaptainJet has joined #ruby
arya__ has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
joshwines has quit [Ping timeout: 264 seconds]
emptymag00 has joined #ruby
<Kelet> Hi. I have a 'Polygon' class which is essentially just a container for an array of Points, which is just a class that contains x, y variables and includes the Comparable mixin. I want Polygon.sort to return a new Polygon and Polygon.sort! to modify the polygon. I seem to be doing fairly well with this code: http://hastebin.com/dagimebafe.rb but was wondering if anyone had other suggestions.
dsabanin has quit [Quit: Leaving...]
<CaptainJet> Assuming you want to be using the same points as the original polygon, you'll probably want to be using self.dup._sort for the Polygon#sort method
demet8 has quit [Quit: demet8]
iamjarvo has quit [Quit: Leaving.]
queston has joined #ruby
_seanc_ has joined #ruby
RobW_ has joined #ruby
joshwines has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
ixti has quit [Quit: WeeChat 0.4.1]
<Kelet> CaptainJet, Hmm well currently it works fine functionally for me, as the constructor takes the new points, but if I add anything more to the class that would not be preserved so I could see the merits.
<Kelet> Of doing it that way
<Kelet> thanks
arya__ has quit [Ping timeout: 246 seconds]
ukd1 has quit [Remote host closed the connection]
dsabanin has joined #ruby
<buzzybron> what are the available methods for postgres result set? currently i am using get value, is there a more column name specific method to do so?
swordsmanz has quit [Ping timeout: 252 seconds]
dsabanin has quit [Client Quit]
shammancer has joined #ruby
ryancw has quit [Remote host closed the connection]
Guga_ has quit [Quit: ~]
JimmyNeutron has quit [Quit: Leaving]
yekta has joined #ruby
ebobby has quit [Quit: Lost terminal]
gildo has quit [Ping timeout: 256 seconds]
arya_ has joined #ruby
yekta has quit [Client Quit]
Kelet has left #ruby ["Leaving"]
iamjarvo has joined #ruby
wsterling has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
burlyscudd has joined #ruby
splittingred has quit [Quit: splittingred]
zenergi has joined #ruby
QKO has quit [Read error: No route to host]
QKO has joined #ruby
dmiller has quit [Remote host closed the connection]
ssvo has joined #ruby
radic_ has joined #ruby
RichardBaker has joined #ruby
RichardBaker has quit [Client Quit]
harrymoreno_ has joined #ruby
yekta has joined #ruby
RichardBaker has joined #ruby
ttt has joined #ruby
harrymoreno has quit [Ping timeout: 276 seconds]
harrymoreno_ is now known as harrymoreno
radic__ has quit [Ping timeout: 256 seconds]
yekta has quit [Client Quit]
kx has quit [Ping timeout: 264 seconds]
cjsarette has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
adkron has joined #ruby
arya_ has quit [Ping timeout: 252 seconds]
cjsarette has joined #ruby
bitkiller has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
io_syl has joined #ruby
grillermo has joined #ruby
malcolmva has quit [Ping timeout: 252 seconds]
dsabanin has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
kofno has quit [Remote host closed the connection]
x1337807x has joined #ruby
DanKnox_away is now known as DanKnox
momomomomo has joined #ruby
malcolmva has joined #ruby
lyanchih has joined #ruby
reset has quit [Quit: Leaving...]
cj3kim has quit [Remote host closed the connection]
mmitchel_ has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
ssvo has quit [Ping timeout: 256 seconds]
banghouse has quit [Remote host closed the connection]
crazymykl has quit [Ping timeout: 256 seconds]
harrymoreno has quit [Ping timeout: 256 seconds]
lyanchih has quit [Ping timeout: 252 seconds]
pkrnj has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
harrymoreno has joined #ruby
strax has joined #ruby
nomenkun has joined #ruby
axeman- has quit [Ping timeout: 240 seconds]
axeman- has joined #ruby
jefflyne has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
jefflyne has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
reset has joined #ruby
dsabanin has quit [Remote host closed the connection]
dsabanin has joined #ruby
dkeefe75 has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
jbueza has quit [Quit: Leaving.]
browndawg has joined #ruby
mmitchell has joined #ruby
cha1tanya has joined #ruby
cha1tanya has joined #ruby
jimg has joined #ruby
crazymykl has joined #ruby
cjsarette has quit [Ping timeout: 245 seconds]
dsabanin has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 256 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has quit [Ping timeout: 246 seconds]
mahmoudimus has joined #ruby
sayan has joined #ruby
stkowski has quit [Quit: stkowski]
oddraisin has quit [Quit: leaving]
rezzack has quit [Quit: Leaving.]
Todd has quit [Ping timeout: 240 seconds]
zenergi has quit [Quit: zenergi]
sayan has quit [Ping timeout: 246 seconds]
n_blownapart has joined #ruby
n_blownapart has quit [Remote host closed the connection]
havenwood has joined #ruby
sambao21 has joined #ruby
ner0x has quit [Quit: Leaving]
machuga|away is now known as machuga
browndawg has joined #ruby
Kruppe has quit [Remote host closed the connection]
nomenkun has joined #ruby
RobW_ has quit [Quit: RobW_]
wmoxam has quit [Ping timeout: 240 seconds]
Hobogrammer has joined #ruby
ravster has left #ruby [#ruby]
nomenkun has quit [Ping timeout: 246 seconds]
wsterling has joined #ruby
Hobogrammer_ has quit [Ping timeout: 252 seconds]
burlyscudd has joined #ruby
oddraisin has joined #ruby
jonathanwallace has quit [Ping timeout: 256 seconds]
axeman- has quit [Remote host closed the connection]
queston has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
wsterling has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Ping timeout: 256 seconds]
cha1tanya has quit [Ping timeout: 256 seconds]
queston has joined #ruby
yacks has quit [Ping timeout: 256 seconds]
jimg has quit [Remote host closed the connection]
AndChat| has quit [Ping timeout: 252 seconds]
eldariof has joined #ruby
jimg has joined #ruby
krislappy is now known as krisfremen
cj3kim has joined #ruby
banghouse has joined #ruby
banghouse is now known as Guest48768
jimg has quit [Remote host closed the connection]
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
codesoda has quit [Remote host closed the connection]
codesoda has joined #ruby
ssvo has joined #ruby
arya__ has joined #ruby
Guest48768 is now known as banghouse
r3m has joined #ruby
gnutz has joined #ruby
<r3m> Hi, I would like to know if there is a famous IRC framework
lyanchih has joined #ruby
havenwood has quit [Remote host closed the connection]
jimg has joined #ruby
matthalliday has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
dmiller has joined #ruby
cha1tanya has joined #ruby
retired has joined #ruby
tonini has joined #ruby
lyanchih has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby
jonathanwallace has quit [Read error: Operation timed out]
havenwood has quit [Remote host closed the connection]
matthalliday has quit [Quit: matthalliday]
Mendon has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Aristata has joined #ruby
gnutz has quit [Quit: Konversation terminated!]
RobW_ has joined #ruby
lkba has joined #ruby
<Aristata> When I am calling rake jobs:work for resque, how to I assign queue1 and queue2 only through the QUEUE env variable?
nomenkun has joined #ruby
mmitchell has quit [Ping timeout: 252 seconds]
Hobogrammer_ has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
axeman- has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
kiela_ has quit [Ping timeout: 240 seconds]
kiela has joined #ruby
queston has quit [Remote host closed the connection]
anildigital has quit [Changing host]
anildigital has joined #ruby
anildigital has joined #ruby
queston has joined #ruby
osvico has quit [Ping timeout: 252 seconds]
grillermo has quit [Quit: bandtastic.me]
<epitron> r3m: here the are, ranked by famousness: https://www.ruby-toolbox.com/categories/irc_bots
<epitron> *they
queston has quit [Remote host closed the connection]
queston_ has joined #ruby
queston_ has quit [Remote host closed the connection]
yacks has joined #ruby
<r3m> thanks a lot
<r3m> is isaac a good choice
anay has joined #ruby
banghouse has quit [Remote host closed the connection]
<epitron> whatever looks like it fits your needs :)
<r3m> well thanks ill choose one
<epitron> you can actually write a ruby bot in about 50 lines of pure ruby
sailias has quit [Ping timeout: 256 seconds]
<epitron> so, keep that in mind when picking a "framework"
<r3m> damn very short
<epitron> this is a pretty nice one: https://github.com/defunkt/matzbot
sailias has joined #ruby
<epitron> artfully short, leveraging ruby itself for a number of features
<r3m> ill check this out, night all and thanks again epitron
<epitron> night
r3m has left #ruby ["WeeChat 0.4.1"]
toquonce has joined #ruby
ssvo has quit [Ping timeout: 240 seconds]
Hobogrammer_ has quit [Ping timeout: 256 seconds]
ssvo has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
osvico has joined #ruby
havenwood has quit [Remote host closed the connection]
fomatin has joined #ruby
dodosan has joined #ruby
iamjarvo has quit [Quit: Leaving.]
dkeefe75 has quit [Quit: WeeChat 0.4.0]
retired is now known as petru
toquonce has quit [Remote host closed the connection]
graydot has joined #ruby
dkay has joined #ruby
iamjbecker has joined #ruby
lindenle has joined #ruby
dkay has quit [Client Quit]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
fridim__ has joined #ruby
cha1tanya has quit [Quit: Leaving]
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby
Domon has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
dodosan has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
marcdel has joined #ruby
cj3kim has joined #ruby
nomenkun has joined #ruby
diogenesofsinope has joined #ruby
halfie|zzz is now known as halfie
jonahR has joined #ruby
TIJ has joined #ruby
burlyscudd has joined #ruby
nomenkun has quit [Ping timeout: 276 seconds]
Jackneill has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
queston has joined #ruby
krz has joined #ruby
diogenesofsinope has quit [Ping timeout: 246 seconds]
eldariof has quit [Ping timeout: 248 seconds]
s2013 has joined #ruby
CaptainJet has quit []
DonRichie has joined #ruby
queston has quit [Ping timeout: 252 seconds]
EPIK has quit [Ping timeout: 256 seconds]
huoxito has quit [Quit: Leaving]
lyanchih has joined #ruby
iamjarvo has joined #ruby
diogenesofsinope has joined #ruby
cyong has joined #ruby
dhruvasagar has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
arya__ has quit [Ping timeout: 246 seconds]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
xptnd has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
Kricir has quit [Remote host closed the connection]
arya_ has joined #ruby
agjacome_ has quit [Quit: leaving]
fridim__ is now known as fridim_
iamjarvo has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
anay has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 252 seconds]
headius has joined #ruby
nomenkun has joined #ruby
ssvo has joined #ruby
mahmoudimus has joined #ruby
anay_ has joined #ruby
danslo has quit [Quit: danslo]
jonathanwallace has joined #ruby
iamjbecker has quit [Remote host closed the connection]
therealnoop has joined #ruby
lindenle has quit [Quit: This computer has gone to sleep]
nomenkun has quit [Ping timeout: 240 seconds]
larissa has quit [Quit: Leaving]
ssvo has quit [Ping timeout: 252 seconds]
milardovich has joined #ruby
anay_ has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
anay has joined #ruby
twoism has joined #ruby
m_3 has quit [Ping timeout: 264 seconds]
machuga is now known as machuga|away
Aristata has left #ruby [#ruby]
sayan has joined #ruby
lyanchih has quit [Quit: lyanchih]
jonathanwallace has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
chrishough has joined #ruby
jalcine has quit [Excess Flood]
lurch_ has joined #ruby
DanKnox is now known as DanKnox_away
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ananthakumaran has joined #ruby
m_3 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
osvico has quit [Ping timeout: 240 seconds]
Kricir has joined #ruby
timonv has quit [Remote host closed the connection]
cha1tanya has joined #ruby
tagrudev has joined #ruby
momomomomo has quit [Quit: momomomomo]
DanKnox_away is now known as DanKnox
wallerdev has quit [Quit: wallerdev]
lurch_ has left #ruby [#ruby]
iamjbecker has joined #ruby
poseid has joined #ruby
nomenkun has joined #ruby
braoru has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
twoism has quit [Remote host closed the connection]
jimg has quit [Remote host closed the connection]
lyanchih has joined #ruby
zets2 is now known as zets
Domon has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
nomenkun has quit [Ping timeout: 264 seconds]
RobW_ has quit [Quit: RobW_]
DanKnox is now known as DanKnox_away
Inside has quit [Ping timeout: 256 seconds]
jimg has joined #ruby
Uranio has quit [Read error: Connection reset by peer]
Uranio has joined #ruby
Killerkeksdose has quit [Remote host closed the connection]
roadt has joined #ruby
macmartine has joined #ruby
rippa has joined #ruby
pranny has joined #ruby
burlyscudd has joined #ruby
dmiller has quit [Remote host closed the connection]
ericmath1son has quit [Ping timeout: 248 seconds]
jonahR has quit [Quit: jonahR]
banjara has joined #ruby
Inside has joined #ruby
threesome has joined #ruby
havenwood has joined #ruby
_Andres has joined #ruby
burlyscudd has quit [Ping timeout: 276 seconds]
poseid has quit [Quit: poseid]
cyong has quit [Quit: Leaving.]
timonv has joined #ruby
aganov has joined #ruby
wargasm has quit [Read error: Connection reset by peer]
macmartine has quit [Quit: Computer has gone to sleep.]
noop has joined #ruby
DarkFoxDK has quit [Remote host closed the connection]
therealnoop has quit [Ping timeout: 276 seconds]
Kricir has joined #ruby
fredjean has joined #ruby
fredjean has quit [Client Quit]
Xeago_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
DarkFoxDK has joined #ruby
nomenkun has joined #ruby
xptnd has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
jarin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
nomenkun has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
wolcanus has joined #ruby
rickruby has joined #ruby
zommi has joined #ruby
zommi has quit [Remote host closed the connection]
wolcanus has quit [Ping timeout: 256 seconds]
burlyscudd has joined #ruby
headius has quit [Quit: headius]
dmiller has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
krainbol_ has joined #ruby
romockee has joined #ruby
krainboltgreene has quit [Ping timeout: 264 seconds]
rippa has quit [Ping timeout: 248 seconds]
krainbol_ is now known as krainboltgreene
Al__ has joined #ruby
dmiller has quit [Read error: Operation timed out]
zmike123 has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
ngoldman has joined #ruby
Jefus has quit [Ping timeout: 246 seconds]
leonidlm has joined #ruby
ShapeShifter499 has quit [Ping timeout: 264 seconds]
ayaz has joined #ruby
s2013 has quit [Ping timeout: 248 seconds]
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
diogenesofsinope has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
jmimi has joined #ruby
Killerkeksdose has joined #ruby
graydot has quit [Quit: graydot]
tacos1de has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
tacos1de has joined #ruby
graydot has joined #ruby
graydot has quit [Client Quit]
threesome has quit [Ping timeout: 276 seconds]
graydot has joined #ruby
jds_ has joined #ruby
DrCode has joined #ruby
noop is now known as therealnoop
nomenkun has quit [Ping timeout: 256 seconds]
MrThePla_ has joined #ruby
linduxed has quit [Ping timeout: 248 seconds]
petru has quit [Ping timeout: 276 seconds]
mikepack has joined #ruby
[0x1a] has quit [Ping timeout: 256 seconds]
MrThePlague|Away has quit [Ping timeout: 256 seconds]
supergiantrobot_ has quit [Ping timeout: 256 seconds]
zigomir has joined #ruby
xerxas has quit [Ping timeout: 248 seconds]
dotemacs has quit [Ping timeout: 248 seconds]
mroth has quit [Ping timeout: 248 seconds]
gstamp has quit [Quit: Computer has gone to sleep.]
pi3r has joined #ruby
romockee has quit [Quit: romockee]
relix has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
linduxed has joined #ruby
colonolGron has joined #ruby
sayan has joined #ruby
persand has joined #ruby
Domon has quit [Remote host closed the connection]
smt has joined #ruby
girija has joined #ruby
Domon has joined #ruby
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Quit: Leaving]
halfie has quit [Read error: Operation timed out]
sami has quit [Quit: leaving]
sami has joined #ruby
halfie has joined #ruby
diogenesofsinope has joined #ruby
rickruby has quit [Remote host closed the connection]
Kricir has joined #ruby
zacts has joined #ruby
Domon has quit [Ping timeout: 240 seconds]
djbkd has quit [Quit: Leaving]
chrishough has left #ruby [#ruby]
Domon has joined #ruby
banjara has quit [Quit: Leaving.]
blitz has quit [Quit: This computer has gone to sleep]
mikepack has quit [Remote host closed the connection]
girija has left #ruby ["Ex-Chat"]
Al__ has quit [Quit: Al__]
mikepack has joined #ruby
girija has joined #ruby
Kar- has joined #ruby
cj3kim has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
nomenkun has joined #ruby
girija has left #ruby [#ruby]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
jalcine has joined #ruby
sumark_ is now known as sumark
girija has joined #ruby
mikepack has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
nomenkun has quit [Ping timeout: 246 seconds]
pi3r has quit [Ping timeout: 240 seconds]
alup has joined #ruby
kiri has quit [Ping timeout: 246 seconds]
freeayu has joined #ruby
threesome has joined #ruby
s2013 has joined #ruby
kiri has joined #ruby
Deele has joined #ruby
vlad_starkov has joined #ruby
jprovazn has joined #ruby
sayan has quit [Remote host closed the connection]
ngoldman has quit [Remote host closed the connection]
nomenkun has joined #ruby
boblu has joined #ruby
sayan has joined #ruby
codesoda has quit [Remote host closed the connection]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BeLucid_ has quit [Ping timeout: 240 seconds]
codesoda has joined #ruby
viszu has joined #ruby
dkannan has joined #ruby
<buzzybron> using the pg gem and prepare method, got an error while i was trying to use $1 as a placeholder, stating there is a syntax error
ybart has joined #ruby
Gooder has joined #ruby
Jackneill has quit [Remote host closed the connection]
sk87 has joined #ruby
havenn_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
dmiller has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
niceguyjames has joined #ruby
haxrbyte has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
jefflyne has joined #ruby
ntus1017 has joined #ruby
haxrbyt__ has joined #ruby
pi3r has joined #ruby
Alina-malina has joined #ruby
haxrbyte_ has quit [Ping timeout: 246 seconds]
havenn_ has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 256 seconds]
jimg has quit [Remote host closed the connection]
kiri has quit [Read error: Operation timed out]
hamed_r has joined #ruby
haxrbyte has quit [Ping timeout: 256 seconds]
statarb3 has joined #ruby
statarb3 has joined #ruby
yacks has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
mneorr has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
teclator has joined #ruby
julweber_ has quit [Remote host closed the connection]
cha1tanya has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
yacks has joined #ruby
jds_ has quit [Remote host closed the connection]
cha1tanya has joined #ruby
blaxter has joined #ruby
pranny1 has joined #ruby
kiri has joined #ruby
DaniG2k has joined #ruby
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lyanchih has quit [Quit: lyanchih]
romockee has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
pranny has quit [Ping timeout: 240 seconds]
denver has joined #ruby
cha1tanya has quit [Ping timeout: 240 seconds]
b0oh has joined #ruby
Aristata has joined #ruby
lyanchih has joined #ruby
bamdad has joined #ruby
<Aristata> Anyone here know where there is a erb/haml page that gives a general overview of what's going on with resque?
DrCode has joined #ruby
<Aristata> and by page I mean template
khushildep has joined #ruby
io_syl has quit [Quit: io_syl]
obs has joined #ruby
heidar_ is now known as heidar
vigintas has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
timonv has quit [Remote host closed the connection]
ferdev has quit [Quit: ferdev]
iamjbecker has quit [Remote host closed the connection]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
Kelet has joined #ruby
arya__ has joined #ruby
tvw has joined #ruby
niceguyjames has joined #ruby
arya_ has quit [Ping timeout: 252 seconds]
tonini has joined #ruby
diogenesofsinope has joined #ruby
krainboltgreene has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
DaniG2k has joined #ruby
niceguyjames has quit [Client Quit]
teclator has quit [Ping timeout: 264 seconds]
niceguyjames has joined #ruby
trepidaciousMBR has joined #ruby
teclator has joined #ruby
trepidaciousMBR has quit [Client Quit]
bamdad has quit [Quit: bamdad]
MrZYX|off is now known as MrZYX
AlbireoX has joined #ruby
jibi has joined #ruby
futilegames has joined #ruby
bamdad has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
TIJ has quit [Ping timeout: 248 seconds]
elaptics`away is now known as elaptics
blz37 has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
kreisys has joined #ruby
ntus1017 has quit [Remote host closed the connection]
pedda has joined #ruby
Alina-malina has quit [Max SendQ exceeded]
s2013 has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
ephemerian has joined #ruby
therealnoop has quit [Ping timeout: 256 seconds]
TIJ has joined #ruby
TIJ has quit [Client Quit]
eaWPq4nU has joined #ruby
TIJ has joined #ruby
TIJ has quit [Client Quit]
roadt has quit [Ping timeout: 240 seconds]
TIJ has joined #ruby
TIJ has quit [Client Quit]
tacos1de_ has joined #ruby
Alina-malina has joined #ruby
TIJ has joined #ruby
NsOmNiAc has quit [Ping timeout: 252 seconds]
therealnoop has joined #ruby
TIJ has quit [Read error: Connection reset by peer]
NsOmNiAc has joined #ruby
rdark has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
LucidDreamZzZz has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
arya__ has quit [Ping timeout: 276 seconds]
TIJ has joined #ruby
lyanchih has quit [Ping timeout: 264 seconds]
comrade_ has joined #ruby
comrade_ has quit [Read error: Connection reset by peer]
ferdev has joined #ruby
comrade_ has joined #ruby
emergion has joined #ruby
comrade_ has quit [Read error: Connection reset by peer]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
comrade_ has joined #ruby
ferdev has quit [Client Quit]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
ferdev has joined #ruby
D4T has joined #ruby
emergion has quit [Client Quit]
TIJ has quit [Ping timeout: 248 seconds]
arya_ has joined #ruby
noname001 has joined #ruby
bamdad has quit [Quit: bamdad]
dmiller has joined #ruby
blackmesa has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
D4T has quit [Quit: Computer has gone to sleep.]
staafl has joined #ruby
D4T has joined #ruby
D4T has quit [Max SendQ exceeded]
Kar- has quit [Remote host closed the connection]
D4T has joined #ruby
AlbireoX has quit [Remote host closed the connection]
marr has joined #ruby
pyrac has joined #ruby
bmn has quit [Ping timeout: 246 seconds]
krainboltgreene has joined #ruby
burlyscudd has joined #ruby
Kricir has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
julweber has joined #ruby
_ffio_ has joined #ruby
comrade_ has quit [Ping timeout: 256 seconds]
ffio_ has quit [Ping timeout: 264 seconds]
bmn has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
julweber has quit [Remote host closed the connection]
julweber has joined #ruby
Meatant has joined #ruby
blz37 has joined #ruby
KevinSjoberg has joined #ruby
[0x1a] has joined #ruby
Inside has quit [Ping timeout: 246 seconds]
arya_ has quit [Ping timeout: 248 seconds]
camilasan has quit [Remote host closed the connection]
dotemacs has joined #ruby
xerxas has joined #ruby
mroth has joined #ruby
ntus1017 has joined #ruby
therealnoop has quit [Ping timeout: 248 seconds]
therealnoop has joined #ruby
camilasan has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
log_keeper has joined #ruby
jds_ has joined #ruby
codesoda has quit [Remote host closed the connection]
arya_ has joined #ruby
ghr has joined #ruby
sevenseacat has quit [Quit: Leaving.]
hamed_r has quit [Quit: Leaving]
kofno has joined #ruby
trepidaciousMBR has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cha1tanya has joined #ruby
bobbyz has quit [Ping timeout: 248 seconds]
log_keeper has quit [Remote host closed the connection]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
fixl has joined #ruby
jds_ has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
romockee has quit [Quit: romockee]
pedda has joined #ruby
_seanc_ has quit [Quit: _seanc_]
kofno has quit [Ping timeout: 241 seconds]
ntus1017 has quit [Remote host closed the connection]
LetsNukeUSA has joined #ruby
bobbyz has joined #ruby
krainboltgreene has quit [Ping timeout: 276 seconds]
pootler has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
emergion has joined #ruby
log_keeper has joined #ruby
shaileshg has joined #ruby
log_keeper has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
postmodern has quit [Quit: Leaving]
arya_ has joined #ruby
dkannan has quit [Quit: dkannan]
maxmanders has joined #ruby
<Sargun> Any idea what's up with my bundler: https://gist.github.com/sargun/7f8878a2f0b9a40324c0
arya_ has quit [Ping timeout: 248 seconds]
chichou has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
krainboltgreene has joined #ruby
charliesome has joined #ruby
futilegames has quit [Ping timeout: 256 seconds]
tonini has quit [Ping timeout: 248 seconds]
comrade_ has joined #ruby
sk87 has joined #ruby
Heero_ has quit [Ping timeout: 264 seconds]
BrianJ has quit [Quit: Computer has gone to sleep.]
comrade_ has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 245 seconds]
TIJ has joined #ruby
pyrac has quit [Quit: pyrac]
vinnyOcean has joined #ruby
ezkl has joined #ruby
elaptics is now known as elaptics`away
adambeynon has joined #ruby
jbanier has joined #ruby
tonini has joined #ruby
Guest74521 has quit [Ping timeout: 248 seconds]
Kricir has joined #ruby
pyrac has joined #ruby
emergion has joined #ruby
viszu has quit [Quit: Leaving.]
ArnaudR has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
viszu has joined #ruby
viszu has quit [Client Quit]
<ArnaudR> Hi everybody! Any idea why my db/schema.rb is added the '# encoding: US-ASCII' line when running migrations?
Kricir has quit [Ping timeout: 276 seconds]
jbanier has left #ruby [#ruby]
BeLucid has joined #ruby
arya_ has joined #ruby
tatsuya_o has joined #ruby
statarb3 is now known as Proshot-laptop
tatsuya_o has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
DaniG2k has quit [Read error: Connection reset by peer]
tatsuya_o has joined #ruby
DaniG2k1 has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
dkannan has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 248 seconds]
ybart has quit [Quit: ybart]
codesoda has joined #ruby
KevinSjoberg has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
KhalilC has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
Elhu has joined #ruby
b0oh has quit [Quit: Leaving.]
Asher has quit [Quit: Leaving.]
arya_ has joined #ruby
b0oh has joined #ruby
<e-dard> Hi, question — instance method takes a hash and does stuff to the values. Mutate the hash or return a new hash or return the mutated hash? Answers on a postcard...
Asher has joined #ruby
freeayu has quit [Ping timeout: 252 seconds]
Meatant has quit [Quit: the man across the street gives you an awekward stare, and you know shits just going to get weirder]
LetsNukeUSA has quit [Remote host closed the connection]
TIJ has quit [Ping timeout: 256 seconds]
LetsNukeUSA has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
arya_ has quit [Ping timeout: 248 seconds]
arya_ has joined #ruby
tkuchiki has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Spooner has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
tatsuya__ has joined #ruby
Guga_ has joined #ruby
mathnode has joined #ruby
yshh has quit [Remote host closed the connection]
emanon_ has joined #ruby
arya_ has joined #ruby
<mathnode> How can I make this function return the newly modified string without using '!' after the gsub method?
<mathnode> def strSwap(str, arr) arr.each { |var| str.gsub!(var[0], var[1]) }end
vlad_starkov has quit [Remote host closed the connection]
<hoelzro> use gsub and not gsub!?
<hoelzro> and use map rather than each?
camilasan has quit [Remote host closed the connection]
<bnagy> >> [['a','A'],['bl','pr']].inject("blah blah") {|s,(a,b)| s.gsub(a,b)}
<eval-in_> bnagy => "prAh prAh" (https://eval.in/36406)
<bnagy> mathnode: also strSwap is no a ruby method name
<bnagy> *not - it would be str_swap or something
<mathnode> bnagy, oh ok
<mathnode> hmm ok I will take a look at inject
KevinSjoberg has joined #ruby
krainbol_ has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
nari has joined #ruby
krainboltgreene has quit [Read error: Operation timed out]
sk87 has joined #ruby
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poga has quit [Remote host closed the connection]
<mathnode> bnagy, my goodness, that's great thanks very much. inject!
<bnagy> I don't normally use it because it's often a harder-to-understand way of doing something easy
<bnagy> but in this case I think you'd need to create a .dup and then repeatedly assign to that, which is ugly
pyrac has quit [Quit: pyrac]
<mathnode> bnagy, I find it easier in ruby to use the more functional and folding features, that it is to try and write straight-up nested loops, like I would have in C.
<bnagy> idiomatic ruby has almost no loops
<bnagy> well no for loops
Zeeraw has joined #ruby
ybart has joined #ruby
<mathnode> bnagy, not a loop, just a hacking find and replace for a bunch of place holders in a config file.
DaniG2k1 has quit [Quit: Leaving.]
<mathnode> s/hacking/messy/
camilasan has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
browndawg has quit [Quit: Leaving.]
TIJ has joined #ruby
jefflyne has joined #ruby
camilasan has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
pwnfactory has joined #ruby
futilegames has joined #ruby
sevenseacat has joined #ruby
ptman has joined #ruby
arya_ has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
RonScagz has joined #ruby
<ptman> is there function-like composability in eruby? can someone point me to documentation or example?
<ptman> maybe the ability to include another template?
Domon has quit [Remote host closed the connection]
Xeago has joined #ruby
KevinSjoberg has joined #ruby
RonScagz has quit [Client Quit]
pyrac has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
camilasan has joined #ruby
ybart has quit [Quit: ybart]
threesome has joined #ruby
arya_ has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
freeayu has joined #ruby
tatsuya__ has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
razi has joined #ruby
Meatant has joined #ruby
julweber has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
Guga_ has quit [Quit: ~]
whowantstolivefo has joined #ruby
teclator has quit [Quit: Lost terminal]
Shrink has quit [Remote host closed the connection]
burlyscudd has joined #ruby
julweber has joined #ruby
elaptics`away is now known as elaptics
threesome has quit [Read error: Connection reset by peer]
pyrac has quit [Quit: pyrac]
yshh has joined #ruby
fermion has joined #ruby
threesome has joined #ruby
kasper has joined #ruby
wsterling has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 248 seconds]
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
arya_ has joined #ruby
tacos1de_ has quit [Ping timeout: 240 seconds]
buzzybron has quit [Quit: Leaving.]
tacos1de has joined #ruby
diogenesofsinope has joined #ruby
KevinSjoberg has joined #ruby
Zeeraw has joined #ruby
kofno has joined #ruby
queston has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
<ddv> how can you call a method dynamically and pass a block to it?
jimg has joined #ruby
wsterling has quit [Remote host closed the connection]
Meatant has quit [Quit: the man across the street slowly and purposefuly blinks 3 times, then everything is dark. more wierdness sets in as you hear an increasingly louder low-pitched hum, while noticing a warm breeze strengthening, mingling and providing new dimensions of wier]
<pwnfactory> ddv: with #send
<pwnfactory> or #__send__
b0oh has quit [Quit: Leaving.]
Jackneill has joined #ruby
Jackneill has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
<ddv> pwnfactory: how do I pass the block?
<pwnfactory> Object.__send__(:method_with_block_arg) { block.code }
<MrZYX> there's also #public_send which respects method visibility
<ddv> pwnfactory: ah ok thanks
niceguyjames has quit [Quit: Computer has gone to sleep.]
arya_ has quit [Ping timeout: 248 seconds]
arya_ has joined #ruby
atno has joined #ruby
rh1n0 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
myth17 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seich- has quit [Ping timeout: 245 seconds]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
b0oh has joined #ruby
b0oh has quit [Client Quit]
b0oh has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
Zeeraw has joined #ruby
futilegames has quit [Quit: futilegames]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
gianlucadv has quit [Ping timeout: 260 seconds]
Astral_ has joined #ruby
Astral_ has left #ruby [#ruby]
huoxito has joined #ruby
gianlucadv has joined #ruby
Xeago has joined #ruby
krainbol_ is now known as krainboltgreene
Emmanuel_Chanel_ has joined #ruby
tonini has joined #ruby
Kricir has joined #ruby
colonolGron has quit [Quit: Lost terminal]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel_ is now known as Emmanuel_Chanel
Kricir has quit [Ping timeout: 248 seconds]
sk87 has joined #ruby
ferdev has quit [Quit: ferdev]
pyrac has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
senayar has joined #ruby
arya_ has joined #ruby
pkh has joined #ruby
jcromartie has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ybart has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
gakos has joined #ruby
philcrissman_ has joined #ruby
_bart has quit [Remote host closed the connection]
vereteran has quit [Quit: ZNC - http://znc.in]
naquad has joined #ruby
TheFuzzball has joined #ruby
lkba has joined #ruby
arya_ has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
<gakos> hello, just in case there is anyone available, I was wondering why str_gsub() creates RMatch object for every match occurence
jibi has quit [Quit: .]
petru has joined #ruby
petru has quit [Changing host]
petru has joined #ruby
<ptman> https://gist.github.com/ptman/5917331 -- how should I do something like this in eruby?
vlad_starkov has joined #ruby
<gakos> following up, if gsub occurs within an iterator, match objects are not getting garbage collected and T_STRING object count blows up
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
krainboltgreene has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
burlyscudd has joined #ruby
tkuchiki has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
niklasb has joined #ruby
niceguyjames has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
Kudos has quit [Excess Flood]
Kruppe has joined #ruby
atno has quit [Remote host closed the connection]
diogenesofsinope has joined #ruby
gildo has joined #ruby
pen has joined #ruby
diogenesofsinope has quit [Client Quit]
krz has quit [Quit: krz]
seich has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
anay has quit [Remote host closed the connection]
matthewrobbins has joined #ruby
ybart has quit [Quit: ybart]
anay has joined #ruby
tomzx_mac has joined #ruby
blackmesa has joined #ruby
pen has quit [Remote host closed the connection]
Squarepy has joined #ruby
anay has quit [Ping timeout: 245 seconds]
mark_locklear has joined #ruby
chrisja has joined #ruby
TIJ has quit [Ping timeout: 276 seconds]
profil has joined #ruby
jimg has quit [Remote host closed the connection]
<profil> Hey, I have a line like this "foo.each do |kind, command|" how do I create that foo with kind and command? should it be like this "foo = [["email", "admin"], ["phone", "user"]]"?
nezumi has quit [Ping timeout: 264 seconds]
TIJ has joined #ruby
<Kelet> profil, That looks fine if the logic matches your intentions. i.e., on first loop kind="email" and command="admin"
<Kelet> (Maybe use single quotes as you're not doing any string interpolation *shrug*)
rfizzle has joined #ruby
maxmanders has joined #ruby
pipopopo has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
<profil> Kelet: yeah okay, but that's kinda ugly, isnt there a more elegant way?
Kudos has joined #ruby
Kudos has quit [Changing host]
Kudos has joined #ruby
carloslopes has joined #ruby
<Xeago> profil: are your values tuples do you have a hash (dictionary)
iamjarvo has quit [Quit: Leaving.]
pkh has quit [Quit: Leaving]
viszu has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
iamjarvo has joined #ruby
splittingred has joined #ruby
Fire-Dragon-DoL has joined #ruby
KevinSjoberg has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
obs has quit [Quit: Konversation terminated!]
ybart has joined #ruby
RobW_ has joined #ruby
graydot has quit [Quit: graydot]
kasper has quit [Remote host closed the connection]
danslo has joined #ruby
angusiguess has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Elhu has joined #ruby
atyz has joined #ruby
romockee has joined #ruby
kasper has joined #ruby
ldnunes has joined #ruby
troker has joined #ruby
Shrink has left #ruby ["tata"]
iamjarvo has quit [Quit: Leaving.]
JZTech101 has joined #ruby
codesoda has quit [Remote host closed the connection]
anay has joined #ruby
io_syl has joined #ruby
pen has joined #ruby
seich has quit [Read error: Operation timed out]
maze has joined #ruby
<maze> good afternoon
<maze> can somebody tell me how to fetch the page content when rescuing a OpenURI::HTTPError ?
maxmanders has joined #ruby
freeayu has quit [Remote host closed the connection]
breakingthings has joined #ruby
jimg has joined #ruby
mmitchell has joined #ruby
queston has quit [Remote host closed the connection]
colonolGron has joined #ruby
sambao21 has joined #ruby
niceguyjames has quit [Remote host closed the connection]
niceguyjames has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
wesside_ has quit [Quit: Computer has gone to sleep.]
kofno has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 248 seconds]
kofno has joined #ruby
arya_ has joined #ruby
LetsNukeUSA has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
pranny1 has quit [Quit: Leaving.]
Bry8Star{T2 has joined #ruby
ferdev has joined #ruby
jimg has quit [Ping timeout: 246 seconds]
sevenseacat has quit [Quit: Leaving.]
hogeo has quit [Remote host closed the connection]
Bry8Star{T2_ has quit [Ping timeout: 240 seconds]
ryannielson has joined #ruby
kasper has quit [Remote host closed the connection]
hogeo has joined #ruby
RubNoob has joined #ruby
jerius has joined #ruby
AlbireoX has joined #ruby
ttt has quit [Remote host closed the connection]
<RubNoob> can someone point me at a link on how to set minimum spacing in an ERB template string? (i.e. I would like to build something like a crontab and ensure each field has at least 5 char spots)
angusiguess has quit [Ping timeout: 246 seconds]
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
fuzzyhorns has joined #ruby
ravster has joined #ruby
ravster has quit [Client Quit]
nomenkun has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 246 seconds]
cha1tanya has quit [Ping timeout: 246 seconds]
pyrac_ has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
pyrac has quit [Ping timeout: 246 seconds]
pyrac_ is now known as pyrac
codecop has quit [Quit: Išeinu]
johnmilton has joined #ruby
axeman- has quit [Remote host closed the connection]
io_syl has quit [Remote host closed the connection]
elux has joined #ruby
tomzx_mac has quit [Ping timeout: 245 seconds]
arya_ has joined #ruby
b0oh has quit [Quit: Leaving.]
LetsNukeUSA has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
interactionjaxsn has joined #ruby
pipopopo has joined #ruby
arya__ has joined #ruby
Squarepy has quit [Quit: Leaving]
anay has quit [Remote host closed the connection]
nignaztic has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
smt has quit [Quit: Konversation terminated!]
wsterling has joined #ruby
b0oh has joined #ruby
b0oh has left #ruby [#ruby]
dmiller has quit [Remote host closed the connection]
nazty has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
Nisstyre has quit [Ping timeout: 256 seconds]
queston has joined #ruby
braoru has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
wsterling has quit [Ping timeout: 248 seconds]
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
goganchic has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
braoru has joined #ruby
jefflyne has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
sk87 has joined #ruby
afd__ has quit [Read error: Connection reset by peer]
jimg has joined #ruby
asteve has joined #ruby
queston has quit [Ping timeout: 256 seconds]
asteve has quit [Client Quit]
<Dwarf> Good afternoon
angusiguess has joined #ruby
<Dwarf> I remember there was a way to define an array like "test_array = %q(one two three)" or something like that?
mengu has joined #ruby
failshell has joined #ruby
iamjarvo has joined #ruby
<Mon_Ouie> %w(one two three)
<_br_> Dwarf: %w
<Dwarf> I see
<_br_> ah, 2 seconds to late.
<Dwarf> What would I look for in the documentation, what is it called?
freerobby has joined #ruby
<Dwarf> %q seems to be a string
freerobby has quit [Client Quit]
ybart has quit [Quit: ybart]
freerobby has joined #ruby
<Dwarf> Thank you
zommi has joined #ruby
jimg has quit [Ping timeout: 260 seconds]
<pwnfactory> Dwarf: %i(sym1 sym2... ) for an array of symbols
<pwnfactory> Ruby 2
<Mon_Ouie> _br_: that link is outdated now
<pedda> hi there
wmoxam has joined #ruby
matchaw_ has joined #ruby
DestinyAwaits has joined #ruby
DestinyAwaits has quit [Changing host]
DestinyAwaits has joined #ruby
Kruppe has quit [Ping timeout: 246 seconds]
matchaw_ has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 248 seconds]
LennyLinux has joined #ruby
<pedda> if i want to clone a repo from within a ruby file, i can specify the repositorym the path to clone to, the reference, but how do i define what the (directory-)name of the cloned repo is?
kasper has joined #ruby
enebo has joined #ruby
zommi has quit [Remote host closed the connection]
acrussell has joined #ruby
pyrac has quit [Ping timeout: 256 seconds]
pyrac has joined #ruby
alpaca_taichou has joined #ruby
devoldmx has joined #ruby
sailias has quit [Read error: Operation timed out]
<hoelzro> pedda: I assume you mean git?
<pedda> yes
<hoelzro> you can specify the name of the new working directory as an optional second argument to the git clone command
<pedda> git clone git://example.com/myRepo.git <nameofclonedfolder>
<pedda> just append it like the usual terminal command?
threesome has quit [Ping timeout: 248 seconds]
goganchic has quit [Remote host closed the connection]
diogenesofsinope has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
<pedda> how do i specify a dynamic folder name?
Zeeo has joined #ruby
Kricir has joined #ruby
nomenkun has joined #ruby
<pedda> Blank.git " + $project_name ?
<pedda> hoelzro
niceguyjames has joined #ruby
<hoelzro> you can just do something like this:
ybart has joined #ruby
<hoelzro> spawn ['git', 'clone', repo_location, working_directory_name]
v0n has joined #ruby
<pedda> this is my code
<MrZYX> or `git clone "#{repo_url}" "#{dest_dir}"` or %X[git clone "#{repo_url}" "
<MrZYX> #{dest_dir"}]
<pedda> looks like there are several ways to do so
<hoelzro> why use ``?
wolcanus has joined #ruby
<hoelzro> that grabs the output
<hoelzro> which you don't need
Astralum has quit [Ping timeout: 256 seconds]
elaptics`away is now known as elaptics
<hoelzro> also, there's no reason to run it in a shell subprocess
matchaw has joined #ruby
<pedda> it is.. due to vagrant (ruby based provisioning of virtual machines)
<MrZYX> hoelzro: then tell him about Process.wait too
vlad_starkov has quit [Remote host closed the connection]
zenergi has joined #ruby
<hoelzro> MrZYX: what about it?
zenergi has left #ruby [#ruby]
<pedda> my question is ruby syntax related, but rather a vagrant topic
Kricir has quit [Ping timeout: 256 seconds]
<hoelzro> oh, I didn't realize spawn put the process in the bg
<hoelzro> my bad
futilegames has joined #ruby
<pedda> so what happens in my snippet is called a shell subprocess?
sarkis has joined #ruby
brum has joined #ruby
Nisstyre has joined #ruby
brum is now known as ryancw
<pedda> if one knows what to google for .. thx :)
pyrac has quit [Ping timeout: 260 seconds]
<pedda> found my solution
* hoelzro waits for paste to load
bitkiller has joined #ruby
ntus1017 has joined #ruby
JZTech101 has quit [Read error: Connection reset by peer]
profil has left #ruby [#ruby]
threesome has joined #ruby
persand has quit [Quit: persand]
DaniG2k has joined #ruby
<pontiki_> pedda, that code you pasted looks like vagrant's dsl
<pedda> this might be.. i am new to both .. ruby and vagrant :)
<pedda> i have found a solution for my problem already :)
Maior has joined #ruby
dkannan has quit [Quit: dkannan]
tommyvyo has joined #ruby
JZTech101 has joined #ruby
aedorn has joined #ruby
<aedorn> bonjour!
machuga|away is now known as machuga
philcrissman_ has joined #ruby
fridim_ has quit [Read error: Connection reset by peer]
JZTech101 has quit [Max SendQ exceeded]
<Maior> I'm led to believe I can deploy a ruby app by doing "bundle install --deployment", packaging up the dir, and running it with "bundle exec server.rb"; instead I find myself getting http://pastebin.com/yZpiDkUi as though it were semi-ignoring my bundled gems
<MrZYX> you're searching for bundle package
zmike123 has left #ruby ["~"]
<MrZYX> and then on the server you can do bundle install --deployment
<iamjarvo> if you have used a not so known method to refactor code can you please post the method with the before and after? for example i recently used partition
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<_br_> Mon_Ouie: Outdated yes, but he was asking what it is called.
<Maior> MrZYX: so I don't `bundle install --deployment` pre-packaging; it's instead a post-install step?
<Maior> MrZYX: doesn't that mean I'm fetching packages again?
<MrZYX> not if you use bundle package
maze has left #ruby [#ruby]
<MrZYX> it does require a compiler and dev packages on the server though
zmike123 has joined #ruby
<Maior> MrZYX: doing those on the server has made no differenc
<Maior> +e
rippa has joined #ruby
freerobby has quit [Quit: Leaving.]
BillCriswell has joined #ruby
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zmike123 is now known as fntzr
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
philcrissman_ has quit [Remote host closed the connection]
diogenesofsinope has joined #ruby
cha1tanya has joined #ruby
dmiller has joined #ruby
diogenesofsinope has quit [Client Quit]
diogenesofsinope has joined #ruby
JZTech101 has joined #ruby
bamdad has joined #ruby
alpaca_taichou has quit [Remote host closed the connection]
DestinyAwaits has quit [Ping timeout: 276 seconds]
bamdad has quit [Client Quit]
razi has quit [Quit: Leaving.]
razi has joined #ruby
alex__c2022 has joined #ruby
ciziar has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
dmiller has quit [Read error: Operation timed out]
sk87 has joined #ruby
<Maior> (also, why can't I just `bundle install` and package that as a single blob?)
kevinykc_ has quit [Quit: Computer has gone to sleep.]
seich has joined #ruby
<aedorn> Nothing really stopping you from doing that. Just need to make sure your local environment and architecture is roughly the same as what you're putting it on. Especially since you have some C extensions (like EventMachine)
brennanMKE has joined #ruby
tagrudev has quit [Remote host closed the connection]
<Maior> aedorn: ok, good good, that's what I thought I was doing
danbeck has joined #ruby
<Maior> but these errors are surprising, and persist even after i `bundle install --deployment` and `bundle package` on the server
<Maior> waxjar: yep, read and am following that
<Maior> waxjar: that's how I arrived at the point I'm at
ttt has joined #ruby
aramus_ has joined #ruby
<waxjar> i dont think you should pass the --deployment flag if you used bundle package
browndawg has left #ruby [#ruby]
<aramus_> Hi, is there a better way to call other ruby programs from within a ruby program aside from "system 'ruby program.rb"
rismoney has quit [Remote host closed the connection]
rismoney has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
RobW_ has quit [Quit: RobW_]
pootler_ has joined #ruby
Zeeraw has joined #ruby
<aedorn> You don't want to run "bundle package" on the server, though. You run "bundle package" on your local machine, then package it, copy it, unpackage, and run "bundle install --local" or "bundle install --local --deployment" if you want to conform to your Gemfile.lock file.
pranny has joined #ruby
pranny has quit [Client Quit]
<Maior> aedorn: waxjar: sure, I didn't expect success, but figured I should try them to see if they effected any change
ananthakumaran has quit [Quit: Leaving.]
TIJ has quit [Read error: Connection reset by peer]
comrade_ has joined #ruby
comrade_ has quit [Client Quit]
kreisys has quit [Quit: Computer has gone to sleep.]
comrade_ has joined #ruby
failshell has left #ruby [#ruby]
Jefus has joined #ruby
ttt has quit [Ping timeout: 256 seconds]
comrade_ has quit [Read error: Connection reset by peer]
comrade__ has joined #ruby
mary5030 has joined #ruby
pootler has quit [Ping timeout: 264 seconds]
comrade__ has quit [Read error: Connection reset by peer]
colonolGron has quit [Ping timeout: 264 seconds]
comrade__ has joined #ruby
comrade__ has quit [Client Quit]
comrade__ has joined #ruby
joshwines has quit [Ping timeout: 240 seconds]
braoru has quit [Quit: Leaving]
comrade__ has quit [Client Quit]
comrade__ has joined #ruby
iamjarvo has quit [Ping timeout: 246 seconds]
comrade__ has quit [Read error: Connection reset by peer]
comrade__ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
comrade__ has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
comrade__ has joined #ruby
comrade__ has quit [Read error: Connection reset by peer]
darkstar| has joined #ruby
joshwines has joined #ruby
sambao21 has joined #ruby
epta has quit [Ping timeout: 240 seconds]
vigintas_ has joined #ruby
alemos has joined #ruby
<Maior> ah
vigintas has quit [Ping timeout: 264 seconds]
<alemos> sorry for the n00b question. But can I pass the value from a div or a span from a view to a controller?
bamdad has joined #ruby
<MrZYX> alemos: #rubyonrails
kasper has quit [Remote host closed the connection]
haxrbyt__ has quit [Remote host closed the connection]
<alemos> ah. sorry MrZYX
bamdad has quit [Client Quit]
haxrbyte has joined #ruby
<Maior> aedorn / waxjar: native extension woe it seems, cheers; if I rm the packaged vendor/bundle, and then `bundle install`, all works fine; if I also add a dependency on `ruby-eventmachine` I get some progress; now trying to find a Debian package with `ruby_http_parser`
pipework has joined #ruby
sk87 has joined #ruby
zodiak has quit [Remote host closed the connection]
wallerdev has joined #ruby
threesome has quit [Ping timeout: 276 seconds]
RichardBaker has quit [Quit: RichardBaker]
threesome has joined #ruby
generalissimo has joined #ruby
freerobby has joined #ruby
samuel02 has joined #ruby
sk87 has quit [Client Quit]
momomomomo has joined #ruby
machuga is now known as machuga|away
kobain has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
realDAB has joined #ruby
<aedorn> cool, glad you got some progress at least
nowthatsamatt has joined #ruby
nowthatsamatt has left #ruby [#ruby]
s2013 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
wesside has joined #ruby
epta has joined #ruby
cha1tanya has quit [Ping timeout: 256 seconds]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<aramus_> Hi, is there a better way to call other ruby programs from within a ruby program aside from "system 'ruby program.rb"?
<burlyscudd> aramus_: load
<burlyscudd> load "foo.rb"
<aramus_> Thanks, I'll look into that
<burlyscudd> np
rhys_ has joined #ruby
iamjarvo has quit [Read error: Operation timed out]
<Mon_Ouie> Except that means the program you're starting is going to affect your own
UukGoblin has joined #ruby
Kricir has joined #ruby
UukGoblin has left #ruby [#ruby]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
fuzzyhorns has quit [Remote host closed the connection]
razi has quit [Quit: Leaving.]
boblu has quit [Read error: Operation timed out]
wargasm has joined #ruby
iamjarvo has joined #ruby
threesome has quit [Read error: Operation timed out]
carloslopes has quit [Remote host closed the connection]
bamdad has joined #ruby
kasper has joined #ruby
thecommongeek has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
HodorBaggins has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
bamdad has quit [Client Quit]
nbouscal has joined #ruby
thecommongeek has quit [Remote host closed the connection]
<HodorBaggins> Hello, I just installed ruby2 and rails4 on a remote centos6/apache2 server. I genereted a generic welcome/index but when browse to mysite.com it still just serves up public/index.html. How do I get it to show my view? Do I need an htaccess?
banghouse2 has joined #ruby
viszu has quit [Ping timeout: 260 seconds]
<Xeago> HodorBaggins: are you using passenger?
<HodorBaggins> no, is that what I need?
<Xeago> apache doesn't know how to run ruby
<Xeago> it doesn't know how to run php either, the application server knows
banghouse2 is now known as banghouse
RobW_ has joined #ruby
<HodorBaggins> Xeago: How do I tell the apache how to run ruby?
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
jgood has joined #ruby
RichardBaker has joined #ruby
<Xeago> mod_ruby, passenger
<Xeago> or use another setup
vlad_starkov has joined #ruby
<Xeago> do some googling, hosting rails on apache
vadelius has quit [Changing host]
vadelius has joined #ruby
<HodorBaggins> Xeago: Thank you. I missed this piece of it. Most tutorials just talk about local development.
sayan has quit [Ping timeout: 256 seconds]
queston has joined #ruby
ShapeShifter499 has joined #ruby
samuel02 has quit [Ping timeout: 246 seconds]
mklappstuhl has joined #ruby
jimg has joined #ruby
sambao21 has joined #ruby
bobbyz has quit [Ping timeout: 252 seconds]
zigomir has quit [Quit: zigomir]
zodiak has joined #ruby
alemos has quit [Quit: Leaving.]
wolcanus has quit [Remote host closed the connection]
ravster has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
queston has quit [Ping timeout: 264 seconds]
ybart has quit [Quit: ybart]
HodorBaggins has quit [Quit: Page closed]
maxmanders has joined #ruby
<Maior> does anyone recommend any reading about ruby native extensions + packaging?
<hoelzro> Maior: README.EXT, and other extensions others have written
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<hoelzro> I don't think there's a good text on the subject
<hoelzro> which is a shame
<hoelzro> Hanmac has written a number of good extensions
burlyscudd has quit [Quit: Leaving.]
jimg has quit [Ping timeout: 276 seconds]
<Maior> hoelzro: I'm not looking to write them, I'm looking to package apps with gem dependencies that use them
<hoelzro> oh, I see
mahmoudimus has joined #ruby
<Maior> I'm trying to avoid having to `bundle install` as a package postinst
Appineer has joined #ruby
RichardBaker has quit [Ping timeout: 264 seconds]
banjara has joined #ruby
bobbyz has joined #ruby
splittingred_ has joined #ruby
aganov has quit [Quit: aganov]
jeffreylevesque has joined #ruby
splittingred has quit [Ping timeout: 245 seconds]
splittingred_ is now known as splittingred
huoxito has quit [Quit: Leaving]
julweber has quit [Remote host closed the connection]
queston has joined #ruby
jprovazn has quit [Quit: Leaving]
ckrailo has joined #ruby
sarkis has quit [Quit: leaving]
wolcanus has joined #ruby
geggam has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
viszu has joined #ruby
threesome has joined #ruby
queston has quit [Remote host closed the connection]
Xeago_ has joined #ruby
chrishough has joined #ruby
aramus_ has left #ruby [#ruby]
danbeck has quit [Quit: danbeck]
danbeck has joined #ruby
Adawerk has quit [Quit: Leaving]
mengu has quit [Quit: Leaving]
Kricir has quit [Ping timeout: 246 seconds]
JumpMast3r has quit [Quit: JumpMast3r]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
haxrbyte has quit [Read error: Connection reset by peer]
maxmanders has quit [Quit: Computer has gone to sleep.]
Anit89 has joined #ruby
Anit89 has left #ruby [#ruby]
MrThePlague has joined #ruby
maxmanders has joined #ruby
bitkiller has quit [Quit: Life]
wsterling has joined #ruby
dysth has joined #ruby
alup has quit [Quit: Leaving]
baordog has joined #ruby
<Aristata> How do I add god to services in unix?
dysth has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
dysth has joined #ruby
LennyLinux has quit [Remote host closed the connection]
D4T has quit [Quit: Textual IRC Client: www.textualapp.com]
pagios has joined #ruby
obs has joined #ruby
girija has quit [Ping timeout: 276 seconds]
wsterling has quit [Ping timeout: 264 seconds]
fredjean has joined #ruby
sambao21 has joined #ruby
ssvo has joined #ruby
ybart has joined #ruby
sambao21 has quit [Client Quit]
s__dana has joined #ruby
pyrac has joined #ruby
sambao21 has joined #ruby
bluenemo has quit [Quit: Verlassend]
ybart has quit [Client Quit]
noname001 has quit [Ping timeout: 252 seconds]
Solnse has joined #ruby
wolcanus has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 276 seconds]
headius has joined #ruby
anay has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
ciziar has quit [Ping timeout: 256 seconds]
mklappstuhl has joined #ruby
danslo has quit [Ping timeout: 256 seconds]
anay has quit [Remote host closed the connection]
sambao21 has quit [Client Quit]
LetsNukeUSA has quit [Remote host closed the connection]
ahawkins has joined #ruby
<ahawkins> does anyone know how Hash#has_key? checks for equality? My objects implement equality methods and I can't get this to work
Aristata has left #ruby [#ruby]
vinnyOcean has quit [Quit: Textual IRC Client: www.textualapp.com]
arya__ has quit [Ping timeout: 248 seconds]
<Mon_Ouie> To use an object as a hash key, you need #hash and #eql?
LetsNukeUSA has joined #ruby
<Mon_Ouie> And a.eql? b must imply a.hash == b.hash
<Mon_Ouie> (hash returns an integer hash for the object)
ananthakumaran has joined #ruby
arya_ has joined #ruby
<ahawkins> Mon_Ouie: how is #hash used?
<ahawkins> nm
_ffio_ is now known as bsd_freak
sk87 has joined #ruby
codecop has joined #ruby
mikepack has joined #ruby
m8 has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<ahawkins> Mon_Ouie: how did you know that?
<waxjar> he's a wizard :D
mmitchell has quit [Remote host closed the connection]
ryancw has quit [Remote host closed the connection]
hamakn_ has quit [Remote host closed the connection]
<pontiki_> a wizard that reads documentation?
tkuchiki has joined #ruby
<Mon_Ouie> A wizard never reveals his secrets!
hamakn has joined #ruby
<ahawkins> nm
<ahawkins> i see where it is now
ciziar has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
eightbitraptor_ has joined #ruby
dysth has quit [Remote host closed the connection]
eightbitraptor_ is now known as eightbitraptor
Kricir_ has joined #ruby
Zeeo has quit [Ping timeout: 258 seconds]
lindenle has joined #ruby
hamakn has quit [Ping timeout: 276 seconds]
mahmoudimus has joined #ruby
dysth has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has quit [Remote host closed the connection]
pootler_ has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
anay has joined #ruby
dkannan has joined #ruby
arya_ has joined #ruby
bamdad has joined #ruby
t-mart_ has joined #ruby
atno has joined #ruby
ThePicard has quit [Quit: Engage]
dysth has quit [Remote host closed the connection]
Jefus has quit [Ping timeout: 264 seconds]
ericmathison has joined #ruby
Jefus has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
ThePicard has joined #ruby
mikepack has quit [Ping timeout: 256 seconds]
danbeck has quit [Quit: danbeck]
Spooner has quit [Quit: Leaving]
niklasb has quit [Ping timeout: 264 seconds]
cha1tanya_ has joined #ruby
timonv has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
jimg has joined #ruby
dysth has joined #ruby
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
<e-dard> Is it possible to stub initialize for an object?
fermion has joined #ruby
jbueza has joined #ruby
DaniG2k has left #ruby [#ruby]
<e-dard> While still creating the object?
jbueza has quit [Client Quit]
jbueza has joined #ruby
<pontiki_> sure
jbueza has quit [Max SendQ exceeded]
seich has quit [Ping timeout: 245 seconds]
<pontiki_> are you talking about in a test?
<Mon_Ouie> Notice the real method that creates the object is Class.allocate
jbueza has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
mklappstuhl has quit [Remote host closed the connection]
tatsuya_o has quit [Remote host closed the connection]
jimg has quit [Ping timeout: 248 seconds]
bsd_freak is now known as babaji
mklappstuhl has joined #ruby
matthewrobbins has quit [Ping timeout: 276 seconds]
stkowski has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
Kricir_ has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
_seanc_ has joined #ruby
msuszczy_ has quit [Quit: leaving]
<pwnfactory> y
haxrbyte has joined #ruby
<pwnfactory> *ops sorry
ephemerian has quit [Quit: Leaving.]
pyrac has quit [Quit: pyrac]
enebo has quit [Quit: enebo]
blackmesa has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
seich has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
graydot has joined #ruby
browndawg has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Remote host closed the connection]
blackmesa has joined #ruby
Kricir has joined #ruby
arya__ has joined #ruby
danbeck has joined #ruby
aqil has joined #ruby
<micah`> e-dard: interesting read here, if you're looking at testing that kind of thing: http://collectiveidea.com/blog/archives/2013/01/23/long-lost-allocation/
Voodoofish430 has joined #ruby
jonahR has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
blitz has joined #ruby
mneorr has quit [Remote host closed the connection]
pyrac has joined #ruby
<e-dard> micah`: ah allocate looks *exactly* like what I'm looking for.,
JZTech101 has quit [Ping timeout: 276 seconds]
<e-dard> pontiki_: yup. micah` seems to have hit the nail on the head :)
realDAB has quit [Quit: realDAB]
twoism has joined #ruby
danslo has joined #ruby
workmad3 has joined #ruby
darkstar| has quit [Remote host closed the connection]
swordsmanz has joined #ruby
bamdad has quit [Quit: bamdad]
bamdad has joined #ruby
<pontiki_> i have a basic question about the efficacy of such testing
burlyscudd has joined #ruby
Petru_ has joined #ruby
generalissimo has quit [Remote host closed the connection]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
<pontiki_> what is that actually buying you?
wsterling has joined #ruby
atmosx has quit [Ping timeout: 240 seconds]
<pontiki_> seems like you are now testing the ruby infrastructure rather than your own
<e-dard> pontiki_: the class does some validation and so on in initialize. I'm testing an instance method that does not rely on the object's state
blaxter has quit [Read error: Operation timed out]
<e-dard> I don't need to test the initialize validation for those tests, so it seems redundant to construct a valid object
<pontiki_> in that case, i'd agree
<MrZYX> but then if the method doesn't interact if the objects state, should it really be part of that class?
<e-dard> (if I had it my way the method would be a static function, but my team don't like those...)
<pontiki_> i guess i was responding more the author's point that all unit testing should be this way be default
ryannielson has quit [Quit: ryannielson]
<e-dard> MrZYX: I agree.
petru has quit [Ping timeout: 276 seconds]
Fire-Dragon-DoL has left #ruby [#ruby]
KarlHung1s is now known as KarlHungus
jonahR has quit [Ping timeout: 256 seconds]
<e-dard> MrZYX: we are starting to use concerns quite a bit now (well really just including modules) I guess that's where this kind of method should be living
<MrZYX> yeah
<pontiki_> yes, quite
manutter has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Zeeraw has joined #ruby
senayar has quit [Remote host closed the connection]
<e-dard> On a tangential note, I've been writing Ruby full-time for 2 months now and I'm really beginning to enjoy it :)
mmitchell has joined #ruby
<e-dard> But not Rails. I. Really. Don't. Like. Rails.
bamdad has quit [Quit: bamdad]
wsterling has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Remote host closed the connection]
<pontiki_> what is it you don't like, iydmma?
<pontiki_> caveat: i like rails, but i don't like it all the time
enebo has joined #ruby
wolcanus has joined #ruby
pi3r has quit [Quit: Leaving]
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
jerius has quit [Ping timeout: 246 seconds]
Kricir has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has joined #ruby
Kricir has joined #ruby
moted has quit [Quit: moted]
popl has joined #ruby
fuzzyhorns has joined #ruby
freerobby has quit [Quit: Leaving.]
pootler has joined #ruby
e-dard has left #ruby [#ruby]
e-dard has joined #ruby
delinquentme has joined #ruby
zeade has joined #ruby
havenwood has joined #ruby
LennyLinux has joined #ruby
moted has joined #ruby
<e-dard> pontiki_: (1) way too much magic for me; (2) it's so slow; (3) with AR I don't like/get the whole "let's slap an id in every table"
moted has quit [Client Quit]
mklappstuhl has joined #ruby
adambeynon has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
maxmanders has quit [Quit: Computer has gone to sleep.]
<pontiki_> nod. all legit, i think
razi has joined #ruby
graydot has quit [Quit: graydot]
<e-dard> Still. I'm getting used to it.
<pontiki_> the magic is double edged
Kricir_ has joined #ruby
<e-dard> (prior to this I was a Python / Flask guy)
<pontiki_> devs come to rely on it to exclusion of thinking about what is happening
moted has joined #ruby
ffio has joined #ruby
razi has quit [Client Quit]
<pontiki_> and that sometimes leads to bad design decisions, especially w.r.t. db design
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
browndawg has quit [Ping timeout: 246 seconds]
<e-dard> There have been a couple of wtf moments for me with my team — where they felt it was perfectly reasonable and didn't get why I was going wtf :D
<pontiki_> OTOH, it makes standing up a full web app pretty easy
babaji has quit [Ping timeout: 256 seconds]
<pontiki_> oh, hehe
<pontiki_> i was working on a project recently where we started measure the wtf-rate
<e-dard> For example there are many places in our app where methods are created on the fly based on collections of variables/db values
<pontiki_> but yes, there are some things which would be idiomatically different
Kricir has quit [Ping timeout: 256 seconds]
<pontiki_> metaprogramming
<e-dard> sure. Just too much of it ;)
<pontiki_> nod
<pontiki_> happens
atmosx has joined #ruby
<pontiki_> it can be an elegant solution to some things
<e-dard> there are also cases where classes must implement some method for them to work (because super class calls the method) but there are no simple things like def foo; raise NotImplementedError; end in the super class.
futilegames has quit [Quit: futilegames]
atmosx has quit [Client Quit]
machuga|away is now known as machuga
<e-dard> things I would consider good practise, but not "the Rails way" haha
<pontiki_> isn't that part of concerns?
<pontiki_> or was this something self-developed?
<pontiki_> oh, don't say that
<e-dard> Well I would think these things should be in concerns now yes
<pontiki_> your team may very well have "house rules" for what "the Rails way" is
<Mon_Ouie> The most common way to indicate that is just to have the class documnted
<Mon_Ouie> Just to think about it, consider the case where the method is implemented using method missing
<pontiki_> i was the only person who ever wrote documentation, let alone comments, in their code at the place i just left
<e-dard> Don't get me started on documentation
mityaz has joined #ruby
locriani has joined #ruby
<e-dard> I got sent this bloody piece the other day http://37signals.com/svn/posts/838-ask-37signals-how-do-you-document-code
mark_locklear has quit [Ping timeout: 245 seconds]
<e-dard> The problem for me with that approach is — you're now restricting your hiring basically to "Rails engineers"
<pontiki_> i think one has to deconstruct what one means by documentation
momomomomo has quit [Quit: momomomomo]
<pontiki_> that is so
<pontiki_> and that isn't a problem for DHH
<e-dard> For me documentation means any competent engineer can read your code and get a feel for what's going on, even if they don't fully grasp it immediately
<pontiki_> there are two aspects of it for me
<pontiki_> one it the sort of stuff you'd see in an rdoc
<pontiki_> explaining how to use my code
rsahae_ has joined #ruby
<pontiki_> the second is the stuff inside that says why i'm choosing to implement something a certain way, and what other approaches may have been tried, and so on -- as communication to the future maintainer (which might even be me)
<pontiki_> and my third is the snippets of doggerel i write when i want to entertain myself
fmcgeough has quit [Read error: Connection reset by peer]
<pontiki_> the second crops up a lot when i've picked up someone else's code that's largely undecipherable
fmcgeough has joined #ruby
haxrbyte has quit [Remote host closed the connection]
<pontiki_> but as for writing external tomes of documentation, as DHH is saying, i find that largely useless as well
obs has quit [Quit: Konversation terminated!]
<terrellt> I go back and forth.
tommyvyo has quit [Quit:]
<pontiki_> i think one must, terrellt
<popl> terrellt: your hair?
<terrellt> I like the documentation that gets generated by something like YARD, and it's not too onerous.
<pontiki_> i think one must respond to the current state of things
<terrellt> But it's extra development time when I decide to change implementation.
<pontiki_> terrellt: as in change the interface?
<pontiki_> i.e., the contract?
girija has joined #ruby
mityaz has quit [Quit: See ya!]
Seus has joined #ruby
carloslopes has joined #ruby
<terrellt> Indeed.
mklappstuhl has quit [Remote host closed the connection]
Nisstyre has quit [Quit: Leaving]
rsahae_ has quit [Client Quit]
<pontiki_> at issue, though, is how to communicate what the contract is, isn't it?
anay has quit [Remote host closed the connection]
mneorr has joined #ruby
trepidaciousMBR has quit [Quit: trepidaciousMBR]
<terrellt> The problem being I verify the contract in my unit tests.
noop has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
zeade has quit [Quit: Leaving.]
Spami has joined #ruby
zeade has joined #ruby
robscomputer has joined #ruby
cj3kim has joined #ruby
browndawg has joined #ruby
<pwnfactory> gst
timonv has joined #ruby
therealnoop has quit [Ping timeout: 276 seconds]
ferdev has quit [Ping timeout: 260 seconds]
vigintas_ has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
<pontiki_> um
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
<pontiki_> is that communicating it to the person who wants to use your module?
tommyvyo has quit [Client Quit]
anay has joined #ruby
alex__c2022 has joined #ruby
kadoo has joined #ruby
burlyscudd has quit [Quit: Leaving.]
rsahae_ has joined #ruby
JZTech101 has joined #ruby
<terrellt> Again, I'm torn. I definitely understand the sentiment behind that post, but I also realize method-level comments can help...I think, at least.
dhruvasagar has joined #ruby
freerobby has joined #ruby
ferdev has joined #ruby
rickruby has joined #ruby
<terrellt> When I follow "comment all the things" I find myself doing things like # @return [Array<User>] Users with some condition\n def with_condition
altivec has joined #ruby
<terrellt> Sure feels like I just repeated myself there.
rupee has joined #ruby
<pontiki_> you have
<pontiki_> and that's the wrong level of commenting
Kricir_ has quit [Remote host closed the connection]
tommyvyo has joined #ruby
eldariof has joined #ruby
<pontiki_> the point i guess i'm trying to make is that there isn't one and only one way to document code
timonv has quit [Remote host closed the connection]
<havenwood> I don't think i care for comments. The code says what the code does. The tests say what the code does. Enough!
<havenwood> Unless there is something worth discussing.
DanKnox_away is now known as DanKnox
<pontiki_> havenwood: i think that's just too extremist and fundamentalist a position
<pontiki_> ok, with that caveat
<terrellt> havenwood: As was said earlier, method_missing hurts that.
<terrellt> Dynamic anything, really.
<havenwood> pontiki_: Larger block comments that actually have a discussion about something hard to understand or expected are nice, I think.
<havenwood> terrellt: Good point.
seich has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 276 seconds]
<Mon_Ouie> Hm? What I said about method missing was that def foo; raise NotImplementedError; end would prevent method_missing from being triggered when foo gets called
<pwnfactory> I always like finding comments about _why_ something is the way it is
<terrellt> I'm considering taking the plunge on a gem to add table columns to my documentation too.
<Mon_Ouie> (Well, I should have said it explicitly, true)
<pontiki_> we had a case where earlier devs created this really awesomely cool DSL for doing seed data, but then when it came around to understanding what was happening, it turned out to be a rather complicated mess
jonahR has joined #ruby
saarinen has joined #ruby
camilasan has quit [Remote host closed the connection]
<pontiki_> terrellt: there is one already
<terrellt> pontiki_: I know, I meant take the plunge on using it.
<Mon_Ouie> pwnfactory: Don't forget to check your SCM commits for that
<pontiki_> oh i see, sorry
<pwnfactory> Mon_Ouie: excellent point! git-blame
<Mon_Ouie> Indeed
<e-dard> havenwood: I understand that point for sure. For me though, documentation is not just about "adding value", it's about making things easier for other devs.
<pontiki_> i guess i'm unclear why that sort of thing is being objected to (the raise NotImplementedError)
<e-dard> If you can convey something in documentation in half the time or less it takes to read and understand the code, then it's perhaps a good thing, no?
<pontiki_> can be, e-dard
<pwnfactory> Mon_Quie: although when something is initially committed into the repo, the commit message probably won't include the 'why'
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
kevinykchan has joined #ruby
mrsolo has joined #ruby
<pontiki_> but then you have the entropy question of maintaining explanation and implementataion when implementation changes
ciziar has quit [Ping timeout: 256 seconds]
generalissimo has joined #ruby
banjara has quit [Quit: Leaving.]
<pontiki_> but keeping the info there, and updating it, does communicate history to the future maintainer
pyrac has quit [Quit: pyrac]
spider-mario has joined #ruby
<Mon_Ouie> True, note that having that kind of comments is perfectly fine in my opinion (it just can cause repetitions with commit messages, which is why they're often not directly in the code)
<pontiki_> in other projects, i've seen things go back and forth
<e-dard> Yeah. I guess this is perhaps one of the reasons "documentation testing" became popular
<pontiki_> one dev implements something one way
PhatBaja has joined #ruby
<pontiki_> later anotehr dev changes it
<pontiki_> then even later, another dev changes it back
emmanuelux has joined #ruby
s2013_ has joined #ruby
<pontiki_> or another case where a module was implemented a certain way because of the way some outside condition made a constraint on how it was done
<pontiki_> but this outside constraint wasn't documented
c0rn has joined #ruby
<pwnfactory> the worst are outdated comments... which can be really confusing
Kricir has joined #ruby
<pontiki_> i think those are the worst
_Andres has joined #ruby
<popl> are you presuming comments that do not describe what the code is doing are outdated? if so I agree with you.
s2013 has quit [Ping timeout: 245 seconds]
<popl> or in like C++ code: counter++; // adds one to counter
eniolopes has joined #ruby
diogenesofsinope has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tommyvyo has quit [Quit:]
eniolopes has left #ruby [#ruby]
elaptics`away is now known as elaptics
<pwnfactory> the first case, when the code has been updated but not the comment
rdark has quit [Quit: leaving]
diogenesofsinope has joined #ruby
tonini has joined #ruby
KevinSjoberg has joined #ruby
pwnfactory has quit [Quit: Leaving]
dkannan has quit [Quit: dkannan]
pen has quit [Ping timeout: 256 seconds]
jibi has joined #ruby
dkannan has joined #ruby
chrishough has quit [Quit: chrishough]
jerius has joined #ruby
dkannan has quit [Client Quit]
LennyLinux has quit [Remote host closed the connection]
goganchic has joined #ruby
goganchic has quit [Remote host closed the connection]
havenwood has quit [Read error: Connection reset by peer]
matthalliday has joined #ruby
havenn_ has joined #ruby
LennyLinux has joined #ruby
pen has joined #ruby
banjara has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
alex__c2022 has quit [Quit: alex__c2022]
boblu has joined #ruby
atno has quit [Remote host closed the connection]
Mars` has joined #ruby
jerius has quit [Client Quit]
jorge__ has joined #ruby
<_br_> Anyone here know guard-livereload & sinatra well? I was hanging around in #guard but that # is rather dead. Wondering which it won't recompile my slim templates properly when running despite reacting on save events. It works fine with e.g. sass but not with views.
anay has quit [Remote host closed the connection]
x1337807x has joined #ruby
ciziar has joined #ruby
LennyLinux has quit [Ping timeout: 260 seconds]
<MarcWeber> Is there yet another alternative for rake /drake ?
jerius has joined #ruby
<_br_> MarcWeber: Whats wrong with Rake?
Kricir has quit [Remote host closed the connection]
<MarcWeber> _br_: Its design
alex__c2022 has joined #ruby
chrishough has joined #ruby
chrishough has quit [Client Quit]
<MarcWeber> What's wrong with drake? Don't know. I don't get why its taking more than a sec to start as simple build.
<MarcWeber> Keeps reinvoking the same target over and over again.
alex__c2022 has quit [Client Quit]
jorge__ has quit [Read error: Connection reset by peer]
<_br_> Well these build system tools are a dime a dozen. Its a very difficult problem otherwise we wouldn't have e.g. Make, Autotools, Scons, ant, rake, and ten thousand other variations
alex__c2022 has joined #ruby
havenn_ has quit [Read error: Connection reset by peer]
realDAB has joined #ruby
Appineer has left #ruby [#ruby]
<MarcWeber> _br_: No: its simple. I want "fail early" and "continue on failure with branches who didn't fail"
JZTech101 has quit [Ping timeout: 260 seconds]
jlast has quit [Ping timeout: 245 seconds]
marcdel has joined #ruby
<MarcWeber> And I want a drake -j 4 to start earlier than within 1-2 secs if there are about 240 files only
matthalliday has left #ruby ["Textual IRC Client: www.textualapp.com"]
_seanc_ has quit [Quit: _seanc_]
<MarcWeber> It does not using -j 4, but then it fails much later..
<MarcWeber> Thus starting more than 4 - 8 builds if you have 4 cores doesn't make sense.
jlast has joined #ruby
<_br_> I think it depends what you want to accomplish and what you are comfortable with. e.g. CMake has rather good performance, but a retarded syntax, while Autotools are so much more feature complete and mature but rely on a insanity of languages e.g. m4 and others. Rake is basically just an attempt to make a fancier make and suffers from plenty of issues. It should be possible to twist the standard tools to do what you want with some patch
JZTech101 has joined #ruby
<_br_> Out of the box, I'm not aware of it.
<MarcWeber> _br_: I'm talking about basic properties, not about fancy custom code.
<MarcWeber> Well - rake ships with ruby, and yet it has such flaws. That's frightening to me.
jorge__ has joined #ruby
harrymoreno has joined #ruby
sayan has joined #ruby
jimg has joined #ruby
<_br_> Instead of complaining why don't you send pull-requests?
girija has quit [Ping timeout: 256 seconds]
Schuyler has quit [Ping timeout: 245 seconds]
mark_locklear has joined #ruby
ciziar has quit [Quit: Computer has gone to sleep.]
<MarcWeber> _br_: Because I'm running out of money and power -l because I've been trying to do for 2 weeks for various projects.
matthalliday has joined #ruby
poseid has joined #ruby
noop has quit [Read error: Operation timed out]
_seanc_ has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
dannymcc has joined #ruby
<_br_> Switch build system to something which does exactly what you want. There are plenty of choices. Just because Ruby ships with Rake doesn't mean its perfect and required to work on what you want. If you insist on rake, either go ask nicely the core devs of that tool or patch it to what you want.
jimg has quit [Ping timeout: 248 seconds]
dannymcc has quit [Client Quit]
<MarcWeber> _br_: That's what I did: asking nicely for alternatives before starting my own rake / drake like utility.
jorge__ has quit [Ping timeout: 276 seconds]
krainboltgreene has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
nari has quit [Ping timeout: 256 seconds]
machuga is now known as machuga|away
ferdev has quit [Quit: ferdev]
pootler has quit [Ping timeout: 256 seconds]
adeponte has joined #ruby
rsahae_ has quit [Quit: rsahae_]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brennanMKE has quit [Read error: Connection reset by peer]
adeponte has quit [Remote host closed the connection]
jonahR has quit [Ping timeout: 260 seconds]
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
rsahae has joined #ruby
jonahR has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
headius has quit [Quit: headius]
<ravster> hey all. I have an array of hashes, with the some hashes having a common pair. How would I go about collecting all those hashes into one hash?
Schuyler has joined #ruby
timonv has joined #ruby
kadoo has joined #ruby
girija has joined #ruby
kadoo has quit [Max SendQ exceeded]
cj3kim has quit [Read error: Connection reset by peer]
<ravster> is there a built-in function that does something similar to that? Or do I just roll my own?
cj3kim has joined #ruby
kevinykchan has joined #ruby
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
robscomputer_ has joined #ruby
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
yacks has quit [Quit: Leaving]
robscomputer_ has quit [Read error: Connection reset by peer]
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
kadoo has joined #ruby
yacks has joined #ruby
_seanc_ has quit [Quit: _seanc_]
burlyscudd has joined #ruby
adeponte has joined #ruby
Kricir has joined #ruby
<realDAB> ravster: try something like: array_of_hashes.reduce(&:merge)
<ravster> realDAB: will try something like that. Thanks.
ravster has left #ruby [#ruby]
kevinykchan has quit [Read error: Connection reset by peer]
angusiguess has quit [Ping timeout: 256 seconds]
LennyLinux has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kadoo has quit [Client Quit]
CaptainJet has joined #ruby
Neomex has joined #ruby
pmros has joined #ruby
<pmros> hi
<pmros> do you know espresso ruby framework?
kadoo has joined #ruby
mmitchell has quit [Remote host closed the connection]
kadoo has quit [Max SendQ exceeded]
fmcgeough has quit [Ping timeout: 246 seconds]
mmitchell has joined #ruby
fmcgeough has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
kadoo has joined #ruby
tonini has joined #ruby
codepython7771 has quit [Quit: Leaving.]
codepython777 has joined #ruby
ericmathison has quit [Ping timeout: 248 seconds]
kevinykchan has joined #ruby
danslo has quit [Read error: Connection reset by peer]
Neomex has quit [Quit: Neomex]
danslo has joined #ruby
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
JZTech101 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]
arya__ has quit []
MistuhKurtz has joined #ruby
maxmanders has joined #ruby
yekta has joined #ruby
cha1tanya_ has quit [Ping timeout: 264 seconds]
mneorr has quit [Remote host closed the connection]
dysth has quit [Quit: Textual IRC Client: www.textualapp.com]
Ortuna_ has quit [Quit: Computer has gone to sleep.]
Ortuna has joined #ruby
arya_ has joined #ruby
jpsirois has joined #ruby
elux has quit [Quit: Bye!]
Kruppe has joined #ruby
JZTech101 has joined #ruby
rickruby has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
ericmathison has joined #ruby
danslo has quit [Read error: Connection reset by peer]
danslo has joined #ruby
Neomex has joined #ruby
fntzr has quit [Ping timeout: 246 seconds]
rezzack has joined #ruby
kirun has joined #ruby
Kricir has joined #ruby
pagios has left #ruby ["Leaving"]
poseid has quit [Quit: poseid]
aqil has quit [Ping timeout: 256 seconds]
Neomex has quit [Client Quit]
codepython777 has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
soulcake has quit [Ping timeout: 240 seconds]
seich has joined #ruby
kadoo has quit [Quit: Textual IRC Client: www.textualapp.com]
alvaro_o has joined #ruby
thoolihan has joined #ruby
alvaro_o has quit [Read error: Connection reset by peer]
gks has joined #ruby
browndawg has joined #ruby
ferdev has joined #ruby
jsonperl has joined #ruby
<Uranio> pmros: sinatra without gags
<jsonperl> If i install from source, having already installed ruby
PhatBaja has quit [Quit: Leaving.]
<jsonperl> will it do the right thing?
<Uranio> pmros: try camping
PhatBaja has joined #ruby
brianpWins has joined #ruby
danslo has quit [Read error: Connection reset by peer]
osvico has joined #ruby
danslo has joined #ruby
devoldmx has quit [Ping timeout: 276 seconds]
devoldmx has joined #ruby
tonhe has joined #ruby
<jsonperl> anyone: can i run make and make install on a newer ruby and assume it will upgrade?
marcdel has joined #ruby
<tonhe> can someone point me in the right direction, playing with Dasher, found an SNMP script, but when I run it using ruby on the CLI it fails, complaining about "inbound.rb:18:in `<main>': uninitialized constant SCHEDULER (NameError)"
<tonhe> I assume this is a module I'm missing, but I've used gem to install about everything I can google :)
verto has joined #ruby
aqil has joined #ruby
rsahae has quit [Quit: rsahae]
wsterling has joined #ruby
<tylersmith> why are the first elements for Date::MONTHNAMES and Date::ABBR_MONTHNAMES nil?
<tylersmith> the docs say it's that way, but not why
denver has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
jlast has quit [Remote host closed the connection]
milardovich has joined #ruby
<waxjar> so you can do Date::MONTHNAMES[1] and get january, i suspect
<tylersmith> hmm
Guga_ has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
burlyscudd has quit [Quit: Leaving.]
robscomputer has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
Jekon^^ has joined #ruby
danslo has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
danslo has joined #ruby
Elhu has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
bamdad has joined #ruby
sepp2k has joined #ruby
jlast has joined #ruby
brianpWins has joined #ruby
Elhu has quit [Client Quit]
realDAB has quit [Quit: realDAB]
elux has joined #ruby
tonhe has left #ruby ["% Network not in table"]
eightbitraptor has quit [Ping timeout: 260 seconds]
rfizzle has quit [Ping timeout: 245 seconds]
jimg has joined #ruby
futilegames has joined #ruby
eightbitraptor has joined #ruby
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
jibi has quit [Quit: .]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
cha1tanya has joined #ruby
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
tatsuya_o has joined #ruby
jerius has quit [Quit: jerius]
cads has joined #ruby
poseid has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gks has quit [Quit: Textual IRC Client: www.textualapp.com]
pmros has quit [Ping timeout: 250 seconds]
jimg has quit [Ping timeout: 245 seconds]
Jekon^^ has left #ruby [#ruby]
axeman- has joined #ruby
angusiguess has joined #ruby
mmitchell has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
mmitchell has joined #ruby
jrochkind has joined #ruby
burlyscudd has quit [Quit: Leaving.]
PhatBaja has quit [Quit: Leaving.]
jrochkind1 has joined #ruby
jrochkind has quit [Read error: Connection reset by peer]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
jrochkind1 has quit [Client Quit]
jsonperl has left #ruby [#ruby]
h8R has quit [Ping timeout: 240 seconds]
cads has quit [Quit: Leaving]
cads has joined #ruby
Shirakawasuna has joined #ruby
axeman- has quit [Remote host closed the connection]
JZTech101 has quit [Read error: Connection reset by peer]
johnjohnson has joined #ruby
ForSpareParts has quit [Read error: Connection reset by peer]
ForSpareParts has joined #ruby
jerius has joined #ruby
burlyscudd has joined #ruby
khushildep has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
mneorr has joined #ruby
_seanc_ has joined #ruby
Es0teric has joined #ruby
dbruns has quit [Quit: leaving]
tatsuya_o has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krainboltgreene has quit [Ping timeout: 256 seconds]
poseid has quit [Quit: poseid]
awarner has quit [Read error: Connection reset by peer]
awarner has joined #ruby
browndawg has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
tvw has quit []
saarinen has quit [Quit: saarinen]
Gooder has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
brennanMKE has joined #ruby
ForSpareParts has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
danslo has quit [Read error: Connection reset by peer]
danslo has joined #ruby
TheFuzzball has quit [Quit: Leaving...]
tethra_ has joined #ruby
reset has joined #ruby
mneorr has quit [Remote host closed the connection]
ToApolytoXaos has joined #ruby
mmitchell has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 245 seconds]
tethra_ has quit [Remote host closed the connection]
zastern has joined #ruby
freerobby has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
freerobby has quit [Client Quit]
brianpWins has quit [Quit: brianpWins]
nefilim has joined #ruby
freerobby has joined #ruby
chichou has quit [Remote host closed the connection]
mmitchell has joined #ruby
eldariof has quit []
krainboltgreene has joined #ruby
theRoUS has quit [Ping timeout: 246 seconds]
g0bl1n has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
postmodern has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
krainboltgreene has quit [Client Quit]
krainboltgreene has joined #ruby
tommyvyo has joined #ruby
Kricir_ has joined #ruby
popl has quit [Quit: We must make an idol of our fear, and call it God.]
Kricir has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby
cha1tanya has quit [Quit: Leaving]
delinquentme has quit [Ping timeout: 256 seconds]
wolcanus has quit [Remote host closed the connection]
wsterling has quit [Remote host closed the connection]
beneggett has joined #ruby
ner0x has joined #ruby
niklasb has joined #ruby
momomomomo has joined #ruby
reset has quit [Quit: Leaving...]
mark_locklear has quit [Quit: Leaving]
poseid_ has joined #ruby
JZTech101 has joined #ruby
LennyLinux has quit [Remote host closed the connection]
jpsirois has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ForSpareParts has joined #ruby
mityaz has joined #ruby
seich has quit [Read error: Operation timed out]
Devo has joined #ruby
Shirakawasuna has quit [Quit: Leaving]
sepp2k has joined #ruby
jds_ has joined #ruby
boblu has quit [Ping timeout: 246 seconds]
razi has joined #ruby
tatsuya_o has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
wolcanus has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
danslo has quit [Quit: danslo]
s00pcan has quit [Quit: Lost terminal]
JZTech101 has quit [Read error: Connection reset by peer]
s00pcan has joined #ruby
wuest_ has quit [Quit: :q]
zacts has quit [Quit: leaving]
ForSpareParts has quit [Read error: Connection reset by peer]
PhatBaja has joined #ruby
ForSpareParts has joined #ruby
wuest has joined #ruby
g0bl1n has quit [Quit: Ex-Chat]
headius has joined #ruby
s00pcan_ has quit [Quit: Lost terminal]
tommyvyo has quit [Quit:]
jsonperl has joined #ruby
JZTech101 has joined #ruby
kreisys has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
PhatBaja has quit [Ping timeout: 245 seconds]
pootler has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
elaptics is now known as elaptics`away
PhatBaja has joined #ruby
brianpWins has quit [Quit: brianpWins]
ForSpareParts has quit [Ping timeout: 245 seconds]
maxmanders has joined #ruby
johnjohnson has quit [Quit: johnjohnson]
JZTech101 has quit [Client Quit]
Fire-Dragon-DoL has left #ruby [#ruby]
JZTech101 has joined #ruby
LennyLinux has joined #ruby
burlyscudd has quit [Quit: Leaving.]
anderson has quit [Ping timeout: 240 seconds]
kofno has quit [Remote host closed the connection]
jds_ has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
kofno has joined #ruby
kofno has quit [Remote host closed the connection]
girija has quit [Ping timeout: 245 seconds]
alvaro_o has joined #ruby
alvaro_o has quit [Max SendQ exceeded]
txdv_ has joined #ruby
alvaro_o has joined #ruby
txdv has quit [Read error: Connection reset by peer]
bamdad has quit [Quit: bamdad]
viszu has quit [Quit: Leaving.]
wsterling has joined #ruby
BillCriswell has quit [Remote host closed the connection]
bamdad has joined #ruby
ForSpareParts has joined #ruby
jimg has joined #ruby
alvaro_o has quit [Client Quit]
Petru_ has quit [Ping timeout: 276 seconds]
Jackneill has quit [Remote host closed the connection]
viszu has joined #ruby
poseid_ has quit [Quit: poseid_]
Nanuq has joined #ruby
kreisys has quit [Quit: Computer has gone to sleep.]
pencilcheck has joined #ruby
timonv has quit [Remote host closed the connection]
s0ber_ has joined #ruby
CaptainJet_ has joined #ruby
CaptainJet has quit [Disconnected by services]
chriskk has joined #ruby
jimg has quit [Ping timeout: 264 seconds]
pen has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 276 seconds]
anderson has joined #ruby
s0ber has quit [Ping timeout: 264 seconds]
viszu has quit [Quit: Leaving.]
s0ber_ is now known as s0ber
nomenkun has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
poseid_ has joined #ruby
nomenkun has joined #ruby
huoxito has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
burlyscudd has joined #ruby
seich- has joined #ruby
cortexman1 has joined #ruby
s2013_ has quit [Quit: Leaving]
<cortexman1> cmake detect_ruby is unable to detect ruby 1.9.3. it thinks it is 1.9.1. presumably because there is a 1.9.1 directory inside 1.9.3. what's up with that anyway?
staafl has quit [Ping timeout: 256 seconds]
huoxito_ has joined #ruby
spider-mario has quit [Remote host closed the connection]
geggam has quit [Remote host closed the connection]
Kabaka has quit [Excess Flood]
<unstable> unable to convert "\xF5" from ASCII-8BIT to UTF-8
Wandering_Glitch has quit [Changing host]
Wandering_Glitch has joined #ruby
<unstable> I am getting a ton of these lines printed out when I gem install stuff.
ferr has joined #ruby
Wandering_Glitch is now known as WanderingGlitch
forced_request has joined #ruby
ForSpareParts has quit [Ping timeout: 246 seconds]
<unstable> It happens when there is documentation being parsed by something I think.
DrCode has quit [Ping timeout: 240 seconds]
LetsNukeUSA has quit [Ping timeout: 240 seconds]
eaWPq4nU has quit [Ping timeout: 240 seconds]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
tacos1de has quit [Ping timeout: 240 seconds]
Drone[02] has joined #ruby
marcdel has joined #ruby
Astralum has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
c0rn has joined #ruby
colonolGron has joined #ruby
harrymoreno has quit [Ping timeout: 248 seconds]
<colonolGron> hi
RobW_ has quit [Quit: RobW_]
huoxito_ has quit [Quit: Leaving]
maxmanders has quit [Ping timeout: 264 seconds]
acrussell has quit [Quit: Leaving.]
robbyoconnor has quit [*.net *.split]
pencilcheck has quit [*.net *.split]
txdv_ has quit [*.net *.split]
s00pcan has quit [*.net *.split]
jsonperl has quit [*.net *.split]
cads has quit [*.net *.split]
awarner has quit [*.net *.split]
nefilim has quit [*.net *.split]
yekta has quit [*.net *.split]
Ortuna has quit [*.net *.split]
moted has quit [*.net *.split]
Solnse has quit [*.net *.split]
nbouscal has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
epitron has quit [*.net *.split]
monomyth has quit [*.net *.split]
blackmesa has quit [*.net *.split]
jolleyjoe has quit [*.net *.split]
end_guy has quit [*.net *.split]
Kricir_ has quit [Remote host closed the connection]
ferr has quit [Read error: Connection reset by peer]
adman65 has joined #ruby
harrymoreno has joined #ruby
ner0x has quit [Quit: Leaving]
osvico has quit []
PhatBaja has quit [Quit: Leaving.]
s00pcan has joined #ruby
PhatBaja has joined #ruby
wsterling has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
moted has joined #ruby
Solnse has joined #ruby
nefilim has joined #ruby
awarner has joined #ruby
txdv_ has joined #ruby
pencilcheck has joined #ruby
epitron has joined #ruby
jolleyjoe has joined #ruby
nbouscal has joined #ruby
jsonperl has joined #ruby
monomyth has joined #ruby
yekta has joined #ruby
cads has joined #ruby
ahawkins has quit [Ping timeout: 256 seconds]
seich- has quit [Excess Flood]
joshwines has quit [Excess Flood]
sayan has quit [Ping timeout: 254 seconds]
Ortuna has joined #ruby
seich has joined #ruby
Emmanuel_Chanel has joined #ruby
wsterling has joined #ruby
ferr has joined #ruby
joshwines has joined #ruby
<MrZYX> cortexman1: 1.9.1 is the ABI version of the 1.9 branch
<MrZYX> so Ruby version 1.9.3 has the ABI version 1.9.1
reset has joined #ruby
momomomomo has quit [Quit: momomomomo]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cortexman1> MrZYX: thanks
Devo has quit [Quit: Devo]
carloslopes has quit [Remote host closed the connection]
cads has quit [Max SendQ exceeded]
robbyoconnor has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
gyre007 has quit [Remote host closed the connection]
cads has joined #ruby
robbyoconnor has joined #ruby
lethjakman has joined #ruby
chxane has quit [Quit: Leaving]
locriani has quit [Remote host closed the connection]
<lethjakman> hey, is there an easy way to send a GET request with a bunch of ajax on the end through ruby?
locriani has joined #ruby
jsonperl has left #ruby [#ruby]
vigintas has joined #ruby
poseid_ has quit [Quit: poseid_]
LennyLin_ has joined #ruby
mityaz has quit [Quit: See ya!]
chxane has joined #ruby
sailias has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby
jds_ has joined #ruby
LennyLinux has quit [Ping timeout: 246 seconds]
<interactionjaxsn> i need to scrape a web page and interact with js events like mouse over
popl has joined #ruby
tvw has joined #ruby
saarinen has quit [Client Quit]
marcdel has joined #ruby
end_guy has joined #ruby
DrCode has joined #ruby
BrenoPerucchi has joined #ruby
Neomex has joined #ruby
poseid_ has joined #ruby
wpaulson has joined #ruby
Neomex has quit [Client Quit]
saarinen has joined #ruby
freerobby has joined #ruby
Ripp__ has joined #ruby
tonini has joined #ruby
<BrenoPerucchi> How I could override this method LINKwithout class_eval ? WillPaginate::ActionView::LinkRenderer.class_eval do
sondr3 has joined #ruby
wsterling has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
Bry8Star{T2 has joined #ruby
nomenkun has quit [Remote host closed the connection]
razi has quit [Quit: Leaving.]
tonini has quit [Ping timeout: 248 seconds]
ged has quit [Read error: Connection reset by peer]
Spooner has joined #ruby
futilegames has quit [Quit: futilegames]
txdv has joined #ruby
ged has joined #ruby
txdv_ has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has quit [Excess Flood]
Guedes0 has joined #ruby
Guedes0 has quit [Client Quit]
LetsNukeUSA has joined #ruby
orion has joined #ruby
willb1 has quit [Ping timeout: 252 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
Fire-Dragon-DoL has joined #ruby
Kricir has joined #ruby
kirun has quit [Quit: Client exiting]
willb1 has joined #ruby
Guedes0 has joined #ruby
jds_ has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
<orion> Hi. I am coding a website in Ruby, and one feature I need to have is the ability to archive specific news articles given their URL. I was thinking of using pdfkit to save a snapshot of the article locally, but there are a massive number of dependencies for pdfkit. Are there other good options for archiving such data?
realDAB has joined #ruby
thoolihan has quit [Quit: thoolihan]
cmarques has quit [Ping timeout: 246 seconds]
Bry8Star{T2 has joined #ruby
jds_ has joined #ruby
maxmanders has joined #ruby
maskact has joined #ruby
CaptainJet_ has quit []
ForSpareParts has joined #ruby
blackmesa has joined #ruby
atyz has quit [Quit: Leaving...]
maskact has quit [Client Quit]
cmarques has joined #ruby
jblack has quit [Quit: Lost terminal]
mduvall has joined #ruby
<Xeago_> orion: why use pdfkit?
CaptainJet has joined #ruby
machuga|away is now known as machuga
mikewintermute has joined #ruby
<Xeago_> I assume the resource links to is a pdf file, just save it to some storage
aqil has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
Kricir has quit [Ping timeout: 276 seconds]
wsterling has joined #ruby
<orion> Xeago_: No.
<orion> The user is providing me with a URL to some arbitrary HTML content.
<orion> Such as a news article.
<ferr> gemrc because it doesn't contain valid YAML hash how to solve this?
<orion> I am thinking that pdfkit is the best gem available to do the job, but I am not sure.
<waxjar> you want a visual of it?
sondr3 is now known as away_sondr3
<Xeago_> orion: why not save it as the original source?
jimg has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
<Xeago_> save everything the article links to with a depth of 1, and rewrite links
<Xeago_> wget has this functionality for example
jblack has joined #ruby
tacos1de has joined #ruby
BrenoPerucchi has quit [Remote host closed the connection]
devoldmx has joined #ruby
johnmilton has quit [Remote host closed the connection]
v0n has quit [Quit: WeeChat 0.4.1]
jimg has quit [Ping timeout: 256 seconds]
v0n has joined #ruby
fuzzyhorns has quit [Remote host closed the connection]
laitances14 has quit [Ping timeout: 240 seconds]
grbsn has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
dmiller_ has joined #ruby
laitances14 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
kobain has joined #ruby
mnaser has quit [Read error: Operation timed out]
JZTech101 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]
maxmanders has quit [Ping timeout: 245 seconds]
rsahae_ has joined #ruby
burlyscudd has joined #ruby
grbsn has left #ruby [#ruby]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<orion> Xeago_: I suppose I could do that. Not sure how well it would scale. How would you store the data? Would you just store it as static content in my application's public/ directory?
Ortuna has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby
<orion> Or is there perhaps a better way?
Kruppe has quit [Ping timeout: 276 seconds]
dmiller_ has quit [Ping timeout: 248 seconds]
matthalliday has quit [Quit: Textual IRC Client: www.textualapp.com]
jerius has quit [Read error: Operation timed out]
Ortuna has joined #ruby
mnaser has joined #ruby
chichou has joined #ruby
redgirl has joined #ruby
marcdel has joined #ruby
wsterling has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 256 seconds]
chichou has quit [Ping timeout: 245 seconds]
sailias has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
jgood has quit [Quit: Page closed]
anderson has quit [Quit: Leaving]
jpsirois has joined #ruby
chriskk has quit [Ping timeout: 245 seconds]
jonahR has quit [Quit: jonahR]
ner0x has joined #ruby
rsahae_ has quit [Quit: rsahae_]
ner0x has quit [Client Quit]
chriskk has joined #ruby
ner0x has joined #ruby
poseid_ has quit [Quit: poseid_]
dcunit3d has joined #ruby
robscomputer_ has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
eightbitraptor has quit [Quit: eightbitraptor]
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
ferr has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby
atyz has joined #ruby
<Xeago_> you could save it to amazon for example
maxmanders has quit [Quit: Computer has gone to sleep.]
<Xeago_> you don't want to host it yourself
futilegames has quit [Client Quit]
<Xeago_> if you do people can put arbitrary javascript on it, and XSS and other stuff you
Kabaka has joined #ruby
interactionjaxsn has quit [Ping timeout: 256 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JZTech101 has joined #ruby
nefilim has quit [Quit: Leaving.]
ukd1 has joined #ruby
rsahae_ has joined #ruby
awarner has quit [Remote host closed the connection]
jacobw has joined #ruby
<jacobw> join #haskell
<aedorn> hmm.. faster ftp transfers with Ruby Net::FTP than curl, but it certainly hates to work consistently with wireless connections
<jacobw> Sorry, s/^/#/
mmitchell has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
harrymoreno has quit [Quit: harrymoreno]
kasper has quit [Remote host closed the connection]
jpsirois has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JZTech101 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]
kasper has joined #ruby
nezumi has joined #ruby
evenix has joined #ruby
baordog has quit [Remote host closed the connection]
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
beneggett has quit [Quit: Computer has gone to sleep.]
breakingthings has quit [Quit: breakingthings]
nomenkun has joined #ruby
pipopopo has quit [Quit: ZNC - http://znc.in]
r0bby has joined #ruby
<Xeago_> aedorn: what about rsync?
Bry8Star{T2 has quit [Remote host closed the connection]
burlyscudd1 has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
matthalliday has joined #ruby
rsahae_ has quit [Quit: rsahae_]
robbyoconnor has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has joined #ruby
Neomex has joined #ruby
nezumi has quit [Ping timeout: 260 seconds]
CaptainJet_ has joined #ruby
CaptainJet has quit [Disconnected by services]
burlyscudd has joined #ruby
maxmanders has quit [Ping timeout: 256 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby
rsahae has joined #ruby
burlyscudd1 has quit [Ping timeout: 248 seconds]
devdazed has quit [Quit: Bye]
nopolitica has joined #ruby
tommyvyo has joined #ruby
locriani has quit [Remote host closed the connection]
locriani has joined #ruby
viszu has joined #ruby
wpaulson has joined #ruby
<aedorn> Xeago: No idea.. I'm confined to FTP for this particular test scenario
marcdel has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
JZTech101 has joined #ruby
Kruppe has joined #ruby
Zeeraw has joined #ruby
locriani has quit [Ping timeout: 260 seconds]
matthalliday has quit [Quit: matthalliday]
cj3kim has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
cmarques has quit [Ping timeout: 264 seconds]
JumpMast3r has joined #ruby
ForSpareParts has quit [Ping timeout: 245 seconds]
reset has quit [Quit: Leaving...]
pkh has joined #ruby
Proshot-laptop has quit [Quit: Leaving]
tommyvyo has quit [Quit:]
vlad_starkov has joined #ruby
rfizzle has joined #ruby
brasten has quit [Quit: brasten]
sailias has quit [Ping timeout: 245 seconds]
JZTech101 has quit [Ping timeout: 245 seconds]
Neomex has quit [Quit: Neomex]
_seanc_ has quit [Quit: _seanc_]
nbouscal has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
pootler has quit [Quit: leaving]
colonolGron has quit [Ping timeout: 256 seconds]
codecop has quit [Remote host closed the connection]
cj3kim has joined #ruby
reset has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colonolGron has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
_seanc_ has joined #ruby
dmiller has joined #ruby
tommyvyo has joined #ruby
jimg has joined #ruby
arya__ has joined #ruby
orion has left #ruby [#ruby]
arya_ has quit [Ping timeout: 248 seconds]
robscomputer_ has quit [Ping timeout: 256 seconds]
jds_ has quit [Remote host closed the connection]
kenneth has joined #ruby
evenix has quit [Remote host closed the connection]
reset has quit [Ping timeout: 264 seconds]
<kenneth> hey all
<kenneth> i have a script i wrote which parses input from stdin and prints it to stdout
<kenneth> i'd like to use it by piping the output of tail to it
<kenneth> but it's not processing it in real time, it only prints the output at the end of the script
<kenneth> anybody know about that?
dmiller has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
ukd1 has quit [Read error: Connection reset by peer]
jbueza has quit [Quit: Leaving.]
harrymoreno has joined #ruby
pootler has joined #ruby
`p has quit [Read error: Connection reset by peer]
awaage has joined #ruby
pootler_ has joined #ruby
awaage has left #ruby [#ruby]
r0bby is now known as robbyoconnor
jlast has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
JZTech101 has joined #ruby
s__dana has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby
havenwood has joined #ruby
chrisja has quit [Quit: leaving]
jonathanwallace has quit [Ping timeout: 252 seconds]
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
romockee has quit [Quit: romockee]
<slash_nick> kenneth: show some code, maybe
robscomputer has joined #ruby
arya__ has quit [Ping timeout: 248 seconds]
realDAB has quit [Quit: realDAB]
mary5030 has quit [Read error: Operation timed out]
etank has quit [Quit: WeeChat 0.3.8]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
bigoldrock has joined #ruby
TheRealPygo is now known as pygospa
yshh has quit [Remote host closed the connection]
nopolitica has quit [Quit: leaving]
jonathanwallace has joined #ruby
xptnd has quit [Read error: Connection reset by peer]
wsterling has joined #ruby
zigomir has joined #ruby
arya_ has joined #ruby
Seus has quit [Ping timeout: 276 seconds]
SilverKey has joined #ruby
reset has joined #ruby
nbouscal has joined #ruby
wsterling has quit [Ping timeout: 256 seconds]
_seanc_ has quit [Quit: _seanc_]
pootler_ has quit [Ping timeout: 246 seconds]
elux has quit [Quit: Bye!]
pootler has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
sambao21 has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
brennanMKE has quit [Remote host closed the connection]
marcgg has joined #ruby
iamjarvo has joined #ruby
Petru_ has joined #ruby
rhys_ has quit [Quit: Leaving]
pootler has joined #ruby
pootler_ has joined #ruby
generalissimo has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrZYX is now known as MrZYX|off
codesoda has joined #ruby
enebo has quit [Quit: enebo]
Petru_ has quit [Client Quit]
jds_ has joined #ruby
mmitchell has joined #ruby
tjbiddle has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
relix has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
AlSquire has quit [Quit: This computer has gone to sleep]
dmiller has joined #ruby
<kenneth> slash_nick: sorry was pulled into a meeting
MrThePlague has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 256 seconds]
nomenkun has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
vigintas has quit [Ping timeout: 245 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
c0rn has quit [Quit: Computer has gone to sleep.]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tommyvyo has quit [Quit:]
emmanuelux has quit [Remote host closed the connection]
Ortuna has quit [Quit: Computer has gone to sleep.]
<zastern> Anybody familiar with rack::profiler? I can't figure out what the numbers in the graphs actually mean. E.g. here's a chunk of a graph with mode => :walltime
devoldmx has quit [Ping timeout: 256 seconds]
<zastern> No clear indication of time, of any kind. Not sure waht I'm supposed to be taking from that.
nomenkun has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
tommyvyo has joined #ruby
headius has quit [Quit: headius]
arya_ has quit [Ping timeout: 248 seconds]
marcdel has joined #ruby
locriani has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
dcunit3d has quit [Quit: leaving]
ukd1 has joined #ruby
danbeck has quit [Quit: danbeck]
ukd1 has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesome has quit [Read error: Operation timed out]
ukd1 has joined #ruby
relix has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
Beoran_ has quit [Read error: Connection reset by peer]
Beoran_ has joined #ruby
viszu has quit [Quit: Leaving.]
emergion has joined #ruby
tommyvyo has quit [Quit:]
tommyvyo has joined #ruby
havenn_ has joined #ruby
colonolGron has quit [Ping timeout: 276 seconds]
cj3kim has quit [Remote host closed the connection]
LennyLin_ has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
mikewintermute has quit [Quit: mikewintermute]
maxmanders has joined #ruby
havenn_ has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
rfizzle has quit [Quit: Leaving]
SilverKey has quit [Ping timeout: 276 seconds]
arya_ has joined #ruby
_seanc_ has joined #ruby
lindenle has quit [Quit: This computer has gone to sleep]
tommyvyo has quit [Ping timeout: 256 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeffreylevesque_ has joined #ruby
Sou|cutter has quit [Read error: Operation timed out]
lindenle has joined #ruby
Sou|cutter has joined #ruby
maxmanders has quit [Ping timeout: 264 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
jeffreylevesque has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
zigomir has quit [Ping timeout: 276 seconds]
bamdad has quit [Quit: bamdad]
arya_ has quit [Ping timeout: 248 seconds]
_seanc_ has quit [Quit: _seanc_]
burlyscudd1 has joined #ruby
gstamp has joined #ruby
benlieb has joined #ruby
<benlieb> What is the best way to iterate over the first X number of array items?
colonolGron has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
SilverKey has joined #ruby
<popl> (1..10).to_a[0,5].each{|x| puts x}
<popl> that wasn'
<popl> t too obtuse was it?
<popl> sorry, pinky slipped
<fryguy> benlieb: #take
LetsNukeUSA has quit [Quit: Til rivido Idisti!]
julweber has joined #ruby
<popl> thanks fryguy
<Xeago_> ary.take(5) yes
kasper has quit [Remote host closed the connection]
<benlieb> Huh, I just found first(X)
<benlieb> array.first(10).each{}
burlyscudd1 has quit [Ping timeout: 256 seconds]
nomenkun has joined #ruby
<benlieb> is there a difference between take(10) and first(10)?
predator217 has quit [Ping timeout: 246 seconds]
ukd1 has quit [Read error: Connection reset by peer]
<Xeago_> benlieb: first can be called without a parameter
pkh has quit [Ping timeout: 246 seconds]
nfk has quit [Quit: yawn]
mduvall has quit [Ping timeout: 260 seconds]
nomenkun has quit [Ping timeout: 260 seconds]
<popl> https://gist.github.com/anonymous/5923807 # difference between take and first
<popl> #take and #first
<popl> grrr
havenwood has joined #ruby
<popl> sorry, truncated it
rotor has quit [Read error: Operation timed out]
JZTech101 has quit [Ping timeout: 246 seconds]
rotor has joined #ruby
havenwood has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
lethjakman has quit [Ping timeout: 246 seconds]
splittingred has quit [Quit: splittingred]
predator117 has joined #ruby
havenwood has joined #ruby
SilverKey has quit [Quit: Cheerio!]
Niamkik_ has joined #ruby
davetherat has quit [Read error: Operation timed out]
Niamkik has quit [Ping timeout: 246 seconds]
Desert_eagle has quit [Ping timeout: 246 seconds]
Alina-malina has quit [Ping timeout: 264 seconds]
jmimi has quit [Quit: Leaving.]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
ahuman has joined #ruby
bigoldrock has quit [Ping timeout: 246 seconds]
Alina-malina has joined #ruby
freerobby has quit [Quit: Leaving.]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
jarin has joined #ruby
wolcanus has joined #ruby
Desert_eagle has joined #ruby
inimit has joined #ruby
rsahae has quit [Quit: rsahae]
JZTech101 has joined #ruby
lightguard_jp has joined #ruby
inimit has quit [Client Quit]
inimit has joined #ruby
<lightguard_jp> Is there an easy way to invoke bundler from within a currently running ruby instance? I want to run it and have it install gems, then I figure I'll have to modify the load path after that
twoism has quit [Remote host closed the connection]
codesoda has quit [Remote host closed the connection]
Jedi_SCT1 has quit [Quit: See ya]
Kricir has joined #ruby
codesoda has joined #ruby
wolcanus has quit [Ping timeout: 245 seconds]
<fryguy> lightguard_jp: seems like a weird way to do things, why not just run bundler before you get a running instance
Jedi_SCT1 has joined #ruby
wmoxam has joined #ruby
brennanMKE has joined #ruby
Somelauw has joined #ruby
rsahae_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
<Somelauw> Anyone familiar with sup, a ruby mail client?
<lightguard_jp> fryguy: I'm not doing conventional things :)
havenwood has joined #ruby
<fryguy> Somelauw: just ask the question you really want to ask
<lightguard_jp> fryguy: I'm building an online editor for a static site generation tool, like Jekyll. Need to be able to do a preview, which would involve running the generation.
saarinen has quit [Quit: saarinen]
<fryguy> lightguard_jp: ok.. and the contents of the preview is going to edit your Gemfile?
<lightguard_jp> fryguy: The site that is built may require gems that aren't being used by my site builder app
<Somelauw> fryguy: Question might not really belong in this channel, but I get this error when trying to run that application https://pastee.org/9zb42 and maybe there is an easy fix by downloading some ruby module or something.
havenwood has quit [Read error: Connection reset by peer]
<fryguy> Somelauw: looks like your configuration file isn't correct. follow the dudes instructions and submit a bug report
pkh has joined #ruby
iamjarvo has quit [Quit: Leaving.]
emergion has joined #ruby
<fryguy> lightguard_jp: so spawn a separate instance to build, get the static content, and then display that. there's no need to conflate it into a single runtime
<Somelauw> his website does not exist
jimg has quit [Remote host closed the connection]
<fryguy> Somelauw: http://masanjin.net/ works fine fo rme
dayepa has quit [Quit: dayepa]
<lightguard_jp> fryguy: That would probably work okay. Next question, where do I look for spawning a new ruby instance?
<fryguy> Somelauw: have you run sup-config yet
jbueza has joined #ruby