apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p327: http://ruby-lang.org (ruby-2.0.0-preview2) || Paste >3 lines of text on http://gist.github.com
i_s has joined #ruby
bradhe has joined #ruby
timonv has quit [Remote host closed the connection]
ChampS666 has quit [Ping timeout: 255 seconds]
<lejonet> gbchaosmaster: one thing I haven't understod with that one, what inparameter can you expect? I always seem to fail when I try to grab a existing method and use it with map
nat2610 has quit [Quit: Leaving.]
<lejonet> always ends up with me resorting to .map {|in| func in}
timonv has joined #ruby
ninp0 has quit [Remote host closed the connection]
<gbchaosmaster> lejonet: Functions don't work, it has to be a method of each object in the collection.
jgarvey has quit [Quit: Leaving]
nat2610 has joined #ruby
<lejonet> gbchaosmaster: That explains it :P
chessguy has quit [Ping timeout: 260 seconds]
<lejonet> and makes a lot of sense, seeing as map is kindof "just" like a implicit .each
<gbchaosmaster> lejonet: I have made this, however, to remedy that: https://github.com/gbchaosmaster/nutella/blob/master/lib/nutella/core_ext/enumerable/apply.rb
<lejonet> om nom nom nutella :P
mmitchell has joined #ruby
blaxter has joined #ruby
tombar has quit [Remote host closed the connection]
<gbchaosmaster> It's good on anything, code included.
<lejonet> gbchaosmaster: ah yeah, that is the one I think .map was, seeing as how it's used in C
<lejonet> cuz there you chuck in the function and array you want to map it on
mathie has joined #ruby
<lejonet> but that is probably a workaround due to lack of objects :P
tombar has joined #ruby
<banisterfiend> gbchaosmaster, lejonet you can do it with 'functions' it just looks stuipd
<lejonet> banisterfiend: oh?
<banisterfiend> (1..10).each(&method(:puts))
<lejonet> ah yeah, that does look stupid
emmanuelux has quit [Remote host closed the connection]
<gbchaosmaster> lejonet: Mhm. Python is also that way with its map() IIRC.
<lejonet> gbchaosmaster: Maybe
<pdtpatrick> Question - say I have a command separated string (about 7 commas). I want to split based on the 7 command, How can i do this?
timonv has quit [Ping timeout: 248 seconds]
<gbchaosmaster> Haven't done much Python since I got into Ruby ;)
<lejonet> Haven't looked at it that much in python
eroc has joined #ruby
<gbchaosmaster> pdtpatrick: String#split
blaxter has quit [Client Quit]
<lejonet> pdtpatrick: you mean a comma separated string?
<lejonet> .split ','
<lejonet> oh well, bedtime for me
_solomon has quit [Quit: _solomon]
* gbchaosmaster tucks lejonet in
SCommette has quit [Quit: SCommette]
<pdtpatrick> no .. that'll split each surround string into an array. I want it to split on the 7th command so that way all leading commas except the last will be in its own slice if that makes sense
tombar has quit [Remote host closed the connection]
<gbchaosmaster> pdtpatrick: Example input and output?
malte_ has quit [Quit: malte_]
<pdtpatrick> gbchaosmaster: yeah let me get that
mmitchell has quit [Ping timeout: 260 seconds]
bradhe has quit [Remote host closed the connection]
mathie has quit [Ping timeout: 244 seconds]
_nitti has joined #ruby
bradhe has joined #ruby
RudyValencia has joined #ruby
soyapi has quit [Ping timeout: 255 seconds]
pkircher has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
LouisGB has quit [Ping timeout: 255 seconds]
_nitti has quit [Ping timeout: 248 seconds]
<atmosx> gbchaosmaster: on hice didn't knew
doritostains has quit [Quit: Leaving...]
i_s has quit [Quit: i_s]
BigO has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
BigO has quit [Read error: Connection reset by peer]
jrajav has joined #ruby
bradhe has joined #ruby
generalissimo has joined #ruby
bradhe has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
Juul has quit [Ping timeout: 252 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
linusoleander has quit [Quit: linusoleander]
g-ram has joined #ruby
froy has quit [Quit: kablam!]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
klj613 has quit [Quit: Leaving]
postmodern has joined #ruby
<pdtpatrick> gbchaosmaster: hmm i thought about the regex way, I didn't think about the second method u had. Thanks! will test now and see which would be fastest on >100 lines :)
ksaw123 has quit [Quit: irc2go]
<gbchaosmaster> pdtpatrick: I'd put my money on regex for performance.
<gbchaosmaster> pdtpatrick: Oniguruma is impressively fast.
i_s has joined #ruby
doritostains has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 255 seconds]
SCommette has joined #ruby
<pdtpatrick> gbchaosmaster: are we talking quarters or bills? :)
<pdtpatrick> just yanking your coat btw :)
tommyvyo_ has joined #ruby
SCommette has quit [Client Quit]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
Dreamer3 has joined #ruby
fyolnish has quit [Remote host closed the connection]
zf has quit [Quit: leaving]
tomsthumb has quit [Quit: Leaving.]
<pdtpatrick> gbchaosmaster: String#rpartition .. unhead of. I guess i should have scanned deeper.
<gbchaosmaster> pdtpatrick: ...wow.
<gbchaosmaster> Shows me not to assume that Ruby couldn't possibly have an inbuilt way to do that.
davidcelis has quit [Quit: K-Lined.]
<pdtpatrick> only came to mind because someone in #python mentioned rsplit :) so it's to their credit realy
<pdtpatrick> really*
thone_ has joined #ruby
guns has joined #ruby
<gbchaosmaster> The regex was slower, by the way. =P ~0.12s vs ~0.07s for a 10k line file.
<gbchaosmaster> And rpartition times in at ~0.03, as expected, way faster than any.
slash_nick has quit [Ping timeout: 264 seconds]
thone has quit [Ping timeout: 245 seconds]
Juul has joined #ruby
buscapepe has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
buscapepe has quit [Remote host closed the connection]
pkircher has left #ruby [#ruby]
buscapepe has joined #ruby
<pdtpatrick> ahhh the things u learn each day right? :)
ner0x has joined #ruby
cascalheira has joined #ruby
headius has joined #ruby
rovalent has quit [Quit: Linkinus - http://linkinus.com]
tombar has joined #ruby
yshh has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
u89 has quit [Remote host closed the connection]
tombar has quit [Remote host closed the connection]
vasile has joined #ruby
tombar has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
tombar has quit [Remote host closed the connection]
radic has quit [Ping timeout: 252 seconds]
dmerrick has quit [Quit: dmerrick]
Markvilla has joined #ruby
generalissimo has quit [Remote host closed the connection]
wedtm is now known as wedtm|away
h4mz1d has joined #ruby
machty has joined #ruby
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
freeayu has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
yewton has quit [Excess Flood]
i_s has quit [Quit: i_s]
yewton has joined #ruby
Juul has quit [Read error: Operation timed out]
wedtm|away is now known as wedtm
malkomalko has joined #ruby
ephemerian has quit [Quit: Leaving.]
havenn has quit [Ping timeout: 244 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
Markvilla has quit [Quit: Computer has gone to sleep.]
radic has joined #ruby
c0rn has joined #ruby
mathie has joined #ruby
pothibo has quit [Quit: pothibo]
malkomalko has quit [Ping timeout: 240 seconds]
tomsthumb has joined #ruby
daniel_- has joined #ruby
joeycarmello has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 245 seconds]
fyolnish has joined #ruby
jonahR has joined #ruby
marr has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
buscapepe has quit [Ping timeout: 252 seconds]
heftig has joined #ruby
mathie has quit [Ping timeout: 264 seconds]
leonardorb has joined #ruby
mmitchell has joined #ruby
pyr0commie has joined #ruby
h4mz1d has quit [Ping timeout: 240 seconds]
dekz has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
fmcgeough has quit [Quit: fmcgeough]
pyr0commie has quit [Remote host closed the connection]
epwhorl has joined #ruby
leonardorb has quit [Ping timeout: 244 seconds]
tombar has joined #ruby
slainer68 has quit [Remote host closed the connection]
v0n has joined #ruby
brianpWins has quit [Quit: brianpWins]
jrajav has quit [Quit: I tend to be neutral about apples]
axl__ has quit [Quit: axl__]
blazes816 has quit [Quit: blazes816]
<voodoofish430> maybe it's me, but I find blocks or at least the examples that are shown for blocks to be annoying.
osvico has quit [Ping timeout: 256 seconds]
Juul has joined #ruby
pyr0commie has joined #ruby
pyr0commie has quit [Remote host closed the connection]
ctwiz has joined #ruby
googya has joined #ruby
epwhorl has quit [Quit: Leaving]
osvico has joined #ruby
ctwiz has quit [Client Quit]
ebobby has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
eka has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Juul has quit [Ping timeout: 252 seconds]
xyzodiac has quit [Ping timeout: 252 seconds]
jlast has joined #ruby
nga4 has quit [Ping timeout: 252 seconds]
tombar has quit [Remote host closed the connection]
xyzodiac has joined #ruby
the_jeebster has quit [Quit: Leaving.]
Juul has joined #ruby
tombar has joined #ruby
ikaros has quit [Quit: Ex-Chat]
jlast has quit [Ping timeout: 240 seconds]
johnmilton has quit [Remote host closed the connection]
r4um has quit [Ping timeout: 256 seconds]
<hakunin> Does ruby garbage collect an object assigned to a local variable if method ends and object isn't referenced elsewhere?
r4um has joined #ruby
<Spaceghostc2c> hakunin: Can you try that sort of thing?
banjara has quit [Quit: Leaving.]
jarred_ has joined #ruby
x82_nicole has joined #ruby
Mnkras-Laptop has joined #ruby
<Mnkras-Laptop> anyone available for some unicorn troubleshooting? (probably something stupid simple)
banjara has joined #ruby
<Spaceghostc2c> Just ask.
<Mnkras-Laptop> Im running centos5, i can get unicorn to run as root, I have an init.d script that tries to run it as a user on the server, but unicorn just dies,
<Mnkras-Laptop> and there is nothing in the unicorn error log
<Spaceghostc2c> Mnkras-Laptop: You don't need to run it as root by the way. Also, consider monit or God or something.
freakazoid0223 has quit [Quit: Leaving]
<Mnkras-Laptop> Spaceghostc2c: my main problem is it runs no issues on ubuntu server
<Mnkras-Laptop> and I'm trying to figure out where its failing
<Spaceghostc2c> Mnkras-Laptop: I personally avoid rpm distros even more fervently than I avoid STI's
<Spaceghostc2c> Not the database kind either.
<Mnkras-Laptop> yea, not my choice
ryanlecompte has quit [Remote host closed the connection]
r0bby has joined #ruby
ibash has joined #ruby
jarred_ has quit [Quit: jarred_]
g-ram has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
slainer68 has joined #ruby
mahmoudimus has joined #ruby
mahmoudimus has quit [Client Quit]
generalissimo has joined #ruby
Juul_ has joined #ruby
dankest has quit [Quit: Leaving...]
Juul_ has quit [Client Quit]
banisterfiend has quit [Ping timeout: 255 seconds]
ebobby has joined #ruby
ebobby is now known as Guest12066
slainer68 has quit [Ping timeout: 256 seconds]
_solomon has joined #ruby
nari has joined #ruby
mahmoudimus has joined #ruby
Mnkras-Laptop has quit [Quit: Mnkras-Laptop]
xclite has quit [Ping timeout: 246 seconds]
tombar_ has joined #ruby
three18ti has joined #ruby
<three18ti> hello, I found this snippet of code to scrape google. I'm attempting to modify it to find malicious sites on my network, but I'm having trouble finding relevant docs to assist in my understanding of the code. can someone point me in the right direction please? THe code I'm working with is: http://paste.scsys.co.uk/216770
<three18ti> basically, I'm trying to understand what methods are available for the agent and page objects
postmodern has quit [Ping timeout: 265 seconds]
tombar has quit [Ping timeout: 264 seconds]
<seanstickle> three18ti: http://mechanize.rubyforge.org/
Guest12066 has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby
<postmodern> three18ti, use the gscraper library instead
jlast has joined #ruby
J-_-L has quit [Quit: Leaving.]
daniel_- has quit [Ping timeout: 244 seconds]
<postmodern> three18ti, but if you're interested in messing with that code, might checkout the documentation for mechanize
jlast has quit [Remote host closed the connection]
<postmodern> three18ti, http://mechanize.rubyforge.org/
<three18ti> seanstickle, so those are all objects of mechanize? ok, thanks.
<three18ti> postmodern, I guess if there's already a library for that it makes more sense.
<three18ti> thanks guys.
<three18ti> I've just recently started learning ruby and my usual Perl tricks were letting me down.
<three18ti> and, as usual, I'm under some time constraints.
<three18ti> thanks for your help guys.
mathie has joined #ruby
yewton has quit [Excess Flood]
jsilver has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
yewton has joined #ruby
daniel_- has joined #ruby
headius has quit [Quit: headius]
_nitti has joined #ruby
mathie has quit [Ping timeout: 260 seconds]
generalissimo has quit [Remote host closed the connection]
alexim has quit [Quit: sleep]
adurity has quit [Remote host closed the connection]
drago757 has joined #ruby
nga4 has joined #ruby
banisterfiend has joined #ruby
ttt has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
icole has quit [Remote host closed the connection]
seich- is now known as Seich
gabrielrotbart has quit [Remote host closed the connection]
nazty has quit [Read error: Connection reset by peer]
naztyone has quit [Quit: WeeChat 0.3.2]
joeycarmello has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
pkircher has joined #ruby
mahmoudimus has joined #ruby
malkomalko has joined #ruby
joeycarmello has quit [Ping timeout: 264 seconds]
ebobby_ has joined #ruby
earthquake has quit [Quit: earthquake]
postmodern has quit [Ping timeout: 252 seconds]
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
dankest has joined #ruby
nazty has joined #ruby
banjara has quit [Quit: Leaving.]
fred909 has quit [Ping timeout: 255 seconds]
rakl has quit [Quit: sleeping]
ebobby_ has quit [Ping timeout: 260 seconds]
ebobby_ has joined #ruby
ebobby_ has quit [Client Quit]
mrsolo has quit [Quit: Leaving]
bigmcq77 has quit [Quit: Computer has gone to sleep.]
cyong has joined #ruby
cableray has quit [Quit: cableray]
doritostains has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
<shevy> three18ti what kind of perl tricks?
<shevy> cursing into a microphone and thus creating valid perl scripts? :>
<three18ti> lol.
osvico has quit [Ping timeout: 265 seconds]
<three18ti> I've been fighting with these malicious websites for too long... much needed moment of humor. thanks.
postmodern has joined #ruby
<three18ti> shevy, :P
RickSchmitty has quit [Ping timeout: 244 seconds]
pac1 has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
postmodern has quit [Ping timeout: 244 seconds]
KLinedd has joined #ruby
<KLinedd> hi
<KLinedd> do you know any good holocaust recipes?
adeponte has quit [Remote host closed the connection]
<KLinedd> need to use some
<KLinedd> on some jews
joeycarmello has joined #ruby
<KLinedd> why niggers smell so bad
<KLinedd> dont they use water?
<KLinedd> how to repeat holocaust fast?
jenrzzz has joined #ruby
stnly has quit [Remote host closed the connection]
KLinedd was kicked from #ruby by seanstickle [KLinedd]
joeycarmello has quit [Remote host closed the connection]
cyong has quit [Quit: Leaving.]
joeycarmello has joined #ruby
v0n has quit [Ping timeout: 244 seconds]
cyong has joined #ruby
love_color_text has quit [Remote host closed the connection]
ibash has quit [Quit: ibash]
tombar_ has quit [Read error: Connection reset by peer]
Kudos has quit [Ping timeout: 264 seconds]
tombar has joined #ruby
joeycarmello has quit [Ping timeout: 246 seconds]
breadtk has joined #ruby
slainer68 has joined #ruby
<breadtk> Hi all! I'm completely new to web programming with Ruby. I made a quick hello world script but the web server is serving it as plaintext. Am I missing something here?
<breadtk> You can find the code (which displays in plaintext) here: http://surkatty.org/tools/whois.rb
<gbchaosmaster> breadtk: Yep, it's just a source code file.
Hanmac1 has joined #ruby
<breadtk> gbchaosmaster: How can I get it to be served out as HTML?
<breadtk> Per "The Pragmmatic Programmer's guide" (source: http://www.ruby-doc.org/docs/ProgrammingRuby/html/web.html) it should be serving up HTML
<gbchaosmaster> breadtk: Look into some web frameworks like Rails or Sinatra if you want to do web development with Ruby.
Kudos has joined #ruby
xyzodiac has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby
love_color_text has joined #ruby
<breadtk> I /really/ want to avoid Rails for now and understand _pure_ Ruby.
<seanstickle> breadtk: do you know how to set up your web server to execute CGI scripts?
<breadtk> I understand it is harder... but I don't want to mix up the two.
<three18ti> breadtk, it looks like your webserver does not have the correct handler mappings to understand .rb extensions.
Hanmac has quit [Ping timeout: 260 seconds]
alvaro_o has quit [Quit: Ex-Chat]
manizzle has quit [Ping timeout: 252 seconds]
<breadtk> seanstickle: I guess I didn't. It looks like http://wiki.nginx.org/SimpleRubyFCGI will make my webserver understand it...
JDubs has quit [Ping timeout: 250 seconds]
slainer68 has quit [Ping timeout: 264 seconds]
daniel_- has quit [Ping timeout: 252 seconds]
<three18ti> yea, or you could use rack middle ware, then nginx just becomes a reverse proxy for your ruby app.
gabrielrotbart has joined #ruby
evelyette has quit [Ping timeout: 245 seconds]
xyzodiac has joined #ruby
postmodern has quit [Ping timeout: 255 seconds]
doritostains has joined #ruby
bigmcq77 has joined #ruby
<foucist> cgi ftw
lolcathost has joined #ruby
<foucist> cgi wise, it should be possible to do something like #!/usr/bin/env ruby at the top
<foucist> and output html
<foucist> and name the extension to .cgi or whatever the server wants i guess?
areil has joined #ruby
xyzodiac has quit [Ping timeout: 252 seconds]
pipopopo has quit [Ping timeout: 244 seconds]
Ruler_Of_Heaven_ has joined #ruby
ctwiz has joined #ruby
leonardorb has joined #ruby
ctwiz is now known as dpg
mathie has joined #ruby
mikepack has joined #ruby
iamjarvo1 has joined #ruby
iamjarvo has quit [Ping timeout: 252 seconds]
<Paradox> >legreentext
xyzodiac has joined #ruby
_nitti has joined #ruby
pcarrier has quit []
rakl has joined #ruby
mathie has quit [Ping timeout: 252 seconds]
Juul has quit [Quit: Leaving]
Juul has joined #ruby
awarner has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
nat2610 has quit [Quit: Leaving.]
statarb3 has quit [Quit: Leaving]
mascool has quit [Read error: Operation timed out]
jlwestsr has quit [Quit: Ex-Chat]
osvico has joined #ruby
Goles has joined #ruby
ddd has quit [Quit: Leaving.]
leonardorb has quit [Remote host closed the connection]
davidcelis has joined #ruby
cableray has joined #ruby
keyvan has joined #ruby
wedtm is now known as wedtm|away
IceDragon has quit [Quit: Space~~~]
havenn has joined #ruby
eka has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Mnkras-Laptop has joined #ruby
Mnkras-Laptop has quit [Changing host]
Mnkras-Laptop has joined #ruby
mjolk has joined #ruby
michaelmartinez has joined #ruby
adeponte has joined #ruby
xpen has joined #ruby
malkomalko has quit [Remote host closed the connection]
medik has quit [Quit: medik has no reason]
eka has quit [Ping timeout: 248 seconds]
Aiur has joined #ruby
drago757 has quit [Quit: drago757]
Goles has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
r0bby has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
guns has quit [Quit: guns]
<shevy> breadtk I use apache + ruby .cgi scripts since a long time, was too lazy to switch to rails or rack or anything
banisterfiend has quit [Ping timeout: 244 seconds]
ibash has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
ibash has quit [Client Quit]
aharris6 has joined #ruby
rakl has quit [Quit: sleeping]
g-ram has joined #ruby
v0n has joined #ruby
havenn has quit [Remote host closed the connection]
drago757 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
joeycarmello has joined #ruby
zelo has joined #ruby
<zelo> what does "<<" and "|" means in that code "[(bytes[6].ord << 8) | bytes[7].ord]" ? I was trying to google it but google escapes non letter characters
Axsuul has quit [Ping timeout: 255 seconds]
<heftig> bitwise shift left, bitwise or
swarley has quit [Quit: ZNC - http://znc.in]
bigmcq77 has quit [Quit: Textual IRC Client: www.textualapp.com]
Aiur has quit [Quit: Computer has gone to sleep.]
<zelo> heftig thanks
michaelmartinez_ has joined #ruby
joeycarmello has quit [Ping timeout: 265 seconds]
krz has joined #ruby
yewton has quit [Excess Flood]
<Spaceghostc2c> What heftig said
<Spaceghostc2c> Had to scroll my history down.
<krz> what Spaceghostc2c said
<krz> just came in
forced_request has quit [Read error: Connection reset by peer]
michaelmartinez has quit [Ping timeout: 250 seconds]
michaelmartinez_ is now known as michaelmartinez
yewton has joined #ruby
tommyvyo_ has joined #ruby
jarred_ has joined #ruby
skaczor has quit [Ping timeout: 260 seconds]
yewton has quit [Excess Flood]
jarred_ has quit [Client Quit]
awarner has quit [Remote host closed the connection]
mathie has joined #ruby
yewton has joined #ruby
rakl has joined #ruby
ewag has quit [Ping timeout: 260 seconds]
_nitti has joined #ruby
kil0byte has joined #ruby
bradhe has quit [Remote host closed the connection]
sorbo_ has joined #ruby
paolooo has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
<shevy> what krz said
<shevy> just killed Spaceghostc2c
drago757 has quit [Quit: drago757]
areil has quit [Remote host closed the connection]
jackdanger has joined #ruby
xnm has quit [Ping timeout: 244 seconds]
keyvan has quit [Remote host closed the connection]
keyvan has joined #ruby
keyvan has joined #ruby
keyvan has quit [Changing host]
<Spaceghostc2c> :D
headius has joined #ruby
tjbiddle has joined #ruby
sorbo_ has quit [Quit: sorbo_]
uris has quit [Quit: Leaving]
wedtm|away is now known as wedtm
banjara has joined #ruby
cableray has quit [Quit: cableray]
rohit has joined #ruby
a215 has left #ruby [#ruby]
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
leonardorb has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
mahmoudimus has joined #ruby
leonardorb has quit [Ping timeout: 244 seconds]
kuzushi has joined #ruby
jdv79 has joined #ruby
dagnachew has joined #ruby
malkomalko has joined #ruby
keyvan has quit [Remote host closed the connection]
wedtm is now known as wedtm|away
tombar has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jrist is now known as jrist-afk
tjbiddle_ has joined #ruby
jsilver has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
dankest is now known as dankest|away
malkomalko has quit [Ping timeout: 244 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
dankest|away is now known as dankest
michaelmartinez has quit [Quit: Check it, Wreck it http://www.caffeineindustries.com/blog]
tjbiddle has quit [Ping timeout: 252 seconds]
tjbiddle_ is now known as tjbiddle
CreativeEmbassy has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
keyvan has joined #ruby
keyvan has quit [Changing host]
keyvan has joined #ruby
tommyvyo has joined #ruby
tombar has joined #ruby
bairui_ has joined #ruby
rakl has quit [Quit: sleeping]
bairui has quit [Ping timeout: 260 seconds]
ewag has joined #ruby
tombar has quit [Remote host closed the connection]
pavilionXP__ has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 248 seconds]
adurity has joined #ruby
L1 has quit [Read error: Connection reset by peer]
jackdanger has quit [Quit: Leaving.]
proxie has joined #ruby
mmitchell has quit [Remote host closed the connection]
artm has joined #ruby
peneconleche has joined #ruby
tjbiddle has quit [Ping timeout: 244 seconds]
cyong has quit [Quit: Leaving.]
ewag has quit [Ping timeout: 244 seconds]
<rking> Is it only me or do you guys expect a default rake task to run the tests?
peneconleche|awa has quit [Ping timeout: 264 seconds]
mathie has quit [Ping timeout: 255 seconds]
rakl has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
jenrzzz has joined #ruby
cj3kim has joined #ruby
_nitti has joined #ruby
jackdanger has joined #ruby
jackdanger has quit [Client Quit]
muloka_ has joined #ruby
<Gate> rking: that is normal and expected, IMO
<Gate> I do that on all my projects and expect it when I pull a gem (and grit my teeth when it isn't)
<Spaceghostc2c> rking: I always do a plain rake to run tests in every project, if it isn't present, I add a snarky commit. :D
<rking> Cool.
michaelmartinez has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
jackdanger has joined #ruby
<Gate> snarky commit is probably safer for your teeth
<ryanf> it's not a convention that I really noticed for a long time
<ryanf> because I always just went straight to running rake test or whatever
<ryanf> but I always at least set it up now
rhys has joined #ruby
dagnachew has quit [Quit: Leaving]
tommyvyo has quit [Quit: Computer has gone to sleep.]
prettymuchbryce has quit [Quit: prettymuchbryce]
<rking> Thanks all. I'm championing that as a standard vs showing the output of 'rake -T'
browndawg has quit [Quit: Leaving.]
daniel_hinojosa has quit [Ping timeout: 264 seconds]
aharris6 has quit [Remote host closed the connection]
zelo has quit [Ping timeout: 244 seconds]
muloka_ has quit [Remote host closed the connection]
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
Shrink has quit [Read error: Connection reset by peer]
burgestrand has quit [Quit: Leaving.]
BoomCow has joined #ruby
swarley-freenode has joined #ruby
eroc has quit [Quit: eroc]
kil0byte_ has joined #ruby
mikepack has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
rohit has quit [Ping timeout: 244 seconds]
dmiller has joined #ruby
kil0byte has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Client Quit]
banjara has left #ruby [#ruby]
yacks has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
ner0x has quit [Quit: Leaving]
scruple has joined #ruby
Takehiro has joined #ruby
rohit has joined #ruby
nga4 has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
daniel_hinojosa has joined #ruby
swex has joined #ruby
ananthakumaran has joined #ruby
andrew_ has joined #ruby
andrew_ is now known as andrewhl
margle has joined #ruby
xpen has quit [Ping timeout: 264 seconds]
<andrewhl> Is there a better way to write: @registrations = params[:reg_id].map { |reg| Registration.find(reg.to_i) }; where the params returns ["1", "2"]
<andrewhl> this might be more appropriately a Rails question, not sure.
bairui_ is now known as bairui
slainer68 has joined #ruby
ryanlecompte has joined #ruby
xpen has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
haxrbyte has joined #ruby
mjolk has quit [Quit: returning some videotapes]
headius has quit [Quit: headius]
haxrbyte_ has joined #ruby
generalissimo has joined #ruby
moted has quit [Ping timeout: 248 seconds]
v0n has quit [Remote host closed the connection]
odyssey4me has joined #ruby
nignaztic has quit [Ping timeout: 260 seconds]
slainer68 has quit [Ping timeout: 244 seconds]
haxrbyte has quit [Ping timeout: 250 seconds]
aaronmacy has quit [Quit: Leaving.]
mathie has joined #ruby
Mnkras-Laptop has quit [Quit: Mnkras-Laptop]
rippa has joined #ruby
jwang has quit [Quit: Leaving]
mattp_ has quit [Ping timeout: 250 seconds]
<waxjar> andrewhl, most ORMs can do something like Registration.find(:id => Array).
<waxjar> I'm not familiar with ActiveRecord, but I'm sure you can do something like Registration.find :id => params[:reg_id].map(&:to_i)
mattp_ has joined #ruby
mathie has quit [Ping timeout: 245 seconds]
wedtm|away is now known as wedtm
<andrewhl> waxjar: I just tested it out. Registration.find(["1", "2"]) works perfectly
<waxjar> ah, even easier :)
<andrewhl> yay for well designed ORMs
Drewch has joined #ruby
cirwin has joined #ruby
_nitti has joined #ruby
machty has quit [Quit: machty]
mmitchell has joined #ruby
michaelmartinez has quit [Quit: Check it, Wreck it http://www.caffeineindustries.com/blog]
_alejandro has joined #ruby
Drewch has quit [Ping timeout: 244 seconds]
scruple has quit [Quit: Leaving]
_nitti has quit [Ping timeout: 252 seconds]
Drewch has joined #ruby
otters has quit [Ping timeout: 252 seconds]
mmitchell has quit [Ping timeout: 244 seconds]
dmiller has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
Drewch has quit [Ping timeout: 240 seconds]
cantonic_ has joined #ruby
x82_nicole has joined #ruby
Drewch has joined #ruby
gabrielrotbart has joined #ruby
dmiller_ has joined #ruby
rohit has quit [Quit: Leaving]
dmiller has quit [Ping timeout: 264 seconds]
c0rn has joined #ruby
cantonic has quit [Ping timeout: 250 seconds]
cantonic_ is now known as cantonic
pdtpatr1ck has joined #ruby
dankest is now known as dankest|away
daniel_hinojosa has quit [Ping timeout: 248 seconds]
xpen has quit [Ping timeout: 260 seconds]
c0rn has quit [Client Quit]
h4mz1d has joined #ruby
burgestrand has joined #ruby
odyssey4me has quit [Read error: Connection reset by peer]
odyssey4me has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
tagrudev has joined #ruby
<reactormonk> what's iterating over a collection and return the first non-nil block?
Drewch has quit [Ping timeout: 240 seconds]
daniel_hinojosa has joined #ruby
c0rn has joined #ruby
a_a_g has joined #ruby
wedtm is now known as wedtm|away
odyssey4me has quit [Read error: Connection reset by peer]
bhavesh_a_p has joined #ruby
odyssey4me has joined #ruby
a_a_g1 has joined #ruby
manizzle has joined #ruby
Drewch has joined #ruby
iamjarvo1 has quit [Quit: Leaving.]
pdtpatr1ck has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
a_a_g has quit [Ping timeout: 264 seconds]
Takehiro has quit [Remote host closed the connection]
Takehiro has joined #ruby
bluOxigen has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
<Paradox> find?
gabrielrotbart has joined #ruby
Takehiro has quit [Remote host closed the connection]
Takehiro has joined #ruby
<reactormonk> Paradox, returns the element
andrewhl has quit [Remote host closed the connection]
jekotia has quit [Remote host closed the connection]
perun_ has quit [Ping timeout: 248 seconds]
<Paradox> so find(&:nil?)
<Paradox> oh non nil
<Paradox> &:present? if your'e in rails
<Paradox> if not just use a block and an inverse
rippa has quit [Ping timeout: 244 seconds]
roadt__ has joined #ruby
<ryanf> present? isn't the opposite of nil?, it's the opposite of blank?
<ryanf> reactormonk: collection.find { |el| !el.nil? }
Takehiro has quit [Ping timeout: 255 seconds]
<reactormonk> ryanf, coll.find {|el| el.foo } # <= the result of the block
<ryanf> ahh
<ryanf> so that is it already then
otters has joined #ruby
cibs has joined #ruby
browndawg has quit [Quit: Leaving.]
gabrielrotbart has quit [Remote host closed the connection]
slainer68 has joined #ruby
Jamone has joined #ruby
generalissimo has quit [Remote host closed the connection]
jackdanger has quit [Quit: Leaving.]
Monie has quit [Ping timeout: 244 seconds]
perun_ has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jonahR has quit [Quit: jonahR]
otters has quit [Ping timeout: 252 seconds]
mathie has joined #ruby
dankest|away is now known as dankest
c0rn has quit []
daniel_hinojosa has quit [Ping timeout: 255 seconds]
BoomCow has quit [Quit: This computer has gone to sleep]
mathie has quit [Ping timeout: 252 seconds]
haxrbyte has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
rohit has joined #ruby
maesbn has joined #ruby
huoxito has quit [Quit: Leaving]
_nitti has joined #ruby
BoomCow has joined #ruby
love_color_text has quit [Remote host closed the connection]
love_color_text has joined #ruby
haxrbyte has quit [Ping timeout: 240 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
mahmoudimus has joined #ruby
phelps has quit [Quit: Textual IRC Client: www.textualapp.com]
_nitti has quit [Ping timeout: 264 seconds]
perun_ has quit [Ping timeout: 255 seconds]
rohit has quit [Quit: Leaving]
Synthead has quit [Ping timeout: 255 seconds]
Proshot has joined #ruby
kil0byte has joined #ruby
odyssey4me has quit [Read error: Connection reset by peer]
odyssey4me has joined #ruby
adeponte has quit [Remote host closed the connection]
rakunHo has joined #ruby
zommi has joined #ruby
doritostains has quit [Ping timeout: 248 seconds]
kil0byte_ has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby
aharris6 has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
Juul has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby
adeponte has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
yacks has quit [Ping timeout: 248 seconds]
cj3kim has quit [Quit: This computer has gone to sleep]
elkclone has joined #ruby
perun_ has joined #ruby
Takehiro has joined #ruby
Chryson has quit [Ping timeout: 246 seconds]
adurity has quit [Remote host closed the connection]
g-ram has quit [Quit: Computer has gone to sleep.]
dankest is now known as dankest|away
Solnse has joined #ruby
hamed_r has joined #ruby
eldariof has joined #ruby
atno has joined #ruby
jackdanger has joined #ruby
Averna has joined #ruby
L1 has joined #ruby
L1 has joined #ruby
L1 has quit [Changing host]
aaronmacy has joined #ruby
Doc_X_ has quit [Read error: Connection reset by peer]
proxie has quit [Read error: Connection reset by peer]
Doc_X has joined #ruby
proxie has joined #ruby
oxyn has joined #ruby
atno has quit [Read error: Connection reset by peer]
nemesit has joined #ruby
atno has joined #ruby
ddd has joined #ruby
atno has quit [Read error: Connection reset by peer]
atno has joined #ruby
hoelzro|away is now known as hoelzro
atno has quit [Read error: Connection reset by peer]
atno has joined #ruby
browndawg has joined #ruby
dankest|away is now known as dankest
BoomCow has quit [Quit: This computer has gone to sleep]
aganov has joined #ruby
atno has quit [Read error: Connection reset by peer]
Tearan has quit [Quit: Sleepy Badger....]
atno has joined #ruby
atno has quit [Read error: Connection reset by peer]
atno has joined #ruby
ananthakumaran has quit [Ping timeout: 244 seconds]
atno has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
atno has joined #ruby
atno has quit [Read error: Connection reset by peer]
emergion has joined #ruby
oGminor has quit [Quit: oGminor]
ddd has quit [Ping timeout: 245 seconds]
TheFuzzball has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
oxyn has quit [Ping timeout: 244 seconds]
oGminor has joined #ruby
swex has quit [Read error: Connection reset by peer]
swex has joined #ruby
djdb has joined #ruby
oxyn has joined #ruby
dr_bob has joined #ruby
TheFuzzball has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
timonv has joined #ruby
h4mz1d has quit [Ping timeout: 244 seconds]
emergion has quit [Client Quit]
browndawg has quit [Read error: Connection reset by peer]
ephemerian has joined #ruby
browndawg has joined #ruby
browndawg has quit [Client Quit]
rakl has quit [Quit: sleeping]
browndawg has joined #ruby
dankest has quit [Quit: Leaving...]
paolooo has quit [Quit: Page closed]
Mon_Ouie has quit [Ping timeout: 244 seconds]
mathie has joined #ruby
jprovazn has joined #ruby
jds has joined #ruby
pen has joined #ruby
<pen> anyone using sinatra?
<pen> and foreman?
<pen> I have a problem where sinatra cannot find the route that I have written in the web.rb
<pen> so weird
<pen> it is right there, but suddenly sinatra says it cannot find it
nomenkun has quit [Remote host closed the connection]
mathie has quit [Ping timeout: 260 seconds]
Synthead has joined #ruby
zigomir has joined #ruby
neevor has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
_nitti has joined #ruby
phelps has joined #ruby
apeiros_ has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
neevor has quit [Client Quit]
mpereira has quit [Ping timeout: 264 seconds]
_nitti has quit [Ping timeout: 244 seconds]
cirwin has quit [Ping timeout: 252 seconds]
<charliesome> show us your code
<charliesome> pen: ^
wargasm1 has joined #ruby
<pen> charliesome: ^
<pen> btw, only at certain routes
<pen> such as
<pen> /icecream/products
wargasm has quit [Ping timeout: 260 seconds]
<charliesome> get '/icecream/products/'
<charliesome> drop the / at the end
<pen> charliesome: ohhh, mmyyyy gooodddd
<pen> charliesome: thanks
dankest has joined #ruby
jenrzzz has joined #ruby
keyvan has quit [Ping timeout: 244 seconds]
segv- has joined #ruby
schaary has joined #ruby
VHJ has quit [Quit: Linkinus - http://linkinus.com]
yacks has joined #ruby
elico has joined #ruby
matrixise has quit [Ping timeout: 248 seconds]
hemanth has quit [Read error: Connection reset by peer]
_alejandro has quit [Read error: Connection reset by peer]
_alejandro has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Beoran__ has joined #ruby
rdark has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Takehiro has quit [Remote host closed the connection]
kil0byte_ has joined #ruby
Takehiro has joined #ruby
tonini has joined #ruby
xpen has joined #ruby
hemanth has joined #ruby
roadt__ has quit [Read error: Connection reset by peer]
jrist-afk has quit [Ping timeout: 248 seconds]
Beoran_ has quit [Ping timeout: 245 seconds]
kil0byte has quit [Ping timeout: 252 seconds]
mathie has joined #ruby
jrist-afk has joined #ruby
arturaz has joined #ruby
rezzack has quit [Quit: Leaving.]
Takehiro has quit [Ping timeout: 260 seconds]
foohey has joined #ruby
arturaz has quit [Read error: Connection reset by peer]
Freaxmind has joined #ruby
Freaxmind has quit [Client Quit]
dmiller_ has quit [Remote host closed the connection]
Takehiro has joined #ruby
pyx has quit [Quit: WeeChat 0.3.9.2]
Markvilla has joined #ruby
Morkel has joined #ruby
Elhu has joined #ruby
arturaz has joined #ruby
Markvilla has quit [Client Quit]
fyolnish has quit [Remote host closed the connection]
odyssey4me has quit [Read error: Connection reset by peer]
odyssey4me has joined #ruby
odyssey4me has quit [Client Quit]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
cardoni has joined #ruby
oxyn_ has joined #ruby
mahmoudimus has joined #ruby
tomsthumb has quit [Quit: Leaving.]
tomsthumb has joined #ruby
lolcathost has quit [Ping timeout: 255 seconds]
morf has joined #ruby
oxyn has quit [Ping timeout: 240 seconds]
tomsthumb has quit [Client Quit]
hotovson has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
BiHi has joined #ruby
blaxter has joined #ruby
robbyoconnor has joined #ruby
robotmay has joined #ruby
jimeh has joined #ruby
lolcathost has joined #ruby
<witchdoc> hi all
<jsilver> welcome to the Temple of Ruby
dpg has left #ruby [#ruby]
Virunga has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
jackdanger has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
oxyn_ has quit [Ping timeout: 248 seconds]
Azure has quit [Ping timeout: 245 seconds]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
oxyn has joined #ruby
L1 has quit [Quit: Quitter]
_nitti has joined #ruby
doritostains has joined #ruby
arturas_ has joined #ruby
Azure has joined #ruby
arturaz has quit [Read error: Connection reset by peer]
hyperboreean has quit [Read error: Operation timed out]
tobinharris has joined #ruby
hyperboreean has joined #ruby
oxyn_ has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
cascalheira has joined #ruby
cascalheira has quit [Client Quit]
rakunHo has quit [Remote host closed the connection]
oxyn has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
marr has joined #ruby
xmj has joined #ruby
<xmj> Hi.
<xmj> I'm trying to install the glib2-gem on FreeBSD, usinv rvm/ruby1.9.2
pen has joined #ruby
jds has quit [Remote host closed the connection]
<xmj> It miserably fails, not finding the includes in /usr/local/include/ nor the libs in /usr/local/lib/. After I fix the Makefile in gems/glib2-1.1.6/ext/glib2, it works (=make compiles fine)
<xmj> How can I repack the gem and install it?
<xmj> Also, why's there no gemspec coming with it?
banisterfiend has joined #ruby
nomenkun has joined #ruby
xpen has quit [Ping timeout: 244 seconds]
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
lolcathost has quit [Ping timeout: 252 seconds]
* artm is confused
<artm> I'm using capybara and i needed to make it wait for something
timonv has quit [Remote host closed the connection]
<artm> I used "wait_until()" method following some snipped I found on the web
<artm> then I decided to understand what am i doing
<artm> and I can't find whose method is wait_until
<artm> I can't find it in capybara api docs
grzywacz has joined #ruby
cdt_ has joined #ruby
<artm> oh
<artm> just found it
Zai00 has joined #ruby
<artm> i was reading wrong docs :)
yacks has quit [Ping timeout: 244 seconds]
browndawg has quit [Ping timeout: 244 seconds]
slainer68 has joined #ruby
LouisGB has joined #ruby
kil0byte has joined #ruby
timonv has joined #ruby
<xmj> how can I repack a gem that failed to install (fixed bug) that has no gemfile ?
eka has joined #ruby
kil0byte_ has quit [Ping timeout: 248 seconds]
foohey has quit [Quit: Quitte]
polymar has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jenrzzz has joined #ruby
foohey has joined #ruby
codecaster has joined #ruby
Synthead has quit [Quit: p33 ba115]
perun_ has quit [Read error: Operation timed out]
sepp2k has quit [Remote host closed the connection]
workmad3 has joined #ruby
chussenot has joined #ruby
elaptics`away is now known as elaptics
timmow has joined #ruby
yakko has joined #ruby
lkba has quit [Quit: Bye]
browndawg has joined #ruby
KevinSjoberg has joined #ruby
matrixise has joined #ruby
u89 has joined #ruby
u89 has quit [Remote host closed the connection]
polymar_ has joined #ruby
polymar has quit [Read error: Connection reset by peer]
berserkr has joined #ruby
u89 has joined #ruby
F1skr has joined #ruby
tk__ has joined #ruby
perun_ has joined #ruby
browndawg has left #ruby [#ruby]
regedarek has quit [Ping timeout: 264 seconds]
u89 has quit [Remote host closed the connection]
matrixise has quit [Ping timeout: 244 seconds]
polymar_ has quit [Remote host closed the connection]
codecaster has quit [Quit: Leaving.]
matrixise has joined #ruby
Gajanan has joined #ruby
oxyn_ has quit [Ping timeout: 264 seconds]
regedarek has joined #ruby
oxyn has joined #ruby
Xeago has joined #ruby
Vainoharhainen has joined #ruby
polymar has joined #ruby
kil0byte_ has joined #ruby
Proshot has quit [Ping timeout: 265 seconds]
lolcathost has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
bhavesh_a_p has quit [Ping timeout: 248 seconds]
KevinSjoberg has quit [Ping timeout: 252 seconds]
pavilionXP__ has quit [Ping timeout: 244 seconds]
<JonnieCache> xmj: its the gemspec you need to install it, not the gemfile
<JonnieCache> maybe you meant that?
<xmj> yes
<xmj> doesn\t help if it's not there.
<xmj> hm.
polymar has quit [Remote host closed the connection]
niklasb has joined #ruby
krz has quit [Quit: krz]
niklasb has quit [Client Quit]
Markvilla has joined #ruby
altious has joined #ruby
niklasb has joined #ruby
hoelzro is now known as hoelzro|away
_nitti has joined #ruby
browndawg has joined #ruby
hoelzro|away is now known as hoelzro
Markvilla has quit [Ping timeout: 260 seconds]
_nitti has quit [Ping timeout: 244 seconds]
polymar has joined #ruby
tonini has quit [Remote host closed the connection]
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
paolooo has joined #ruby
hola123 has joined #ruby
<altious> hi
<altious> i'm still strugling with yesterday issue http://pastie.org/5483110
<altious> json-1.7.5 didn't change anything
<altious> is still receive unicode entities undecoded
<altious> can someone suggest a solution?
<altious> or where i should look
<JonnieCache> can you not just decode it yourself? there must be some method to do that
<apeiros_> altious: you're not having unicode entities in there
<apeiros_> you're having a literal \u0420 in there
<apeiros_> ah, wait…
<apeiros_> double escaping due to ruby -> json… let me check
kandinski has joined #ruby
<apeiros_> altious: what you're seeing is fine
<apeiros_> try "\u0420\u043E\u0441\u0441\u0438\u044F".length
topek has joined #ruby
<apeiros_> you'll see it correctly reports 6
aaronmacy has quit [Quit: Leaving.]
<altious> oh
<apeiros_> you're looking at an inspect, and it seems your settings are such, that it shows non-ascii data in its escaped form
<altious> that's crazy
<apeiros_> you probably should set up your irb/pry/terminal emulation properly
<altious> thank you, apeiros_
<apeiros_> no, that's sane
<apeiros_> if you tell ruby that your terminal can't display unicode, it'd be horrible to show it unescaped
<Xeago> apeiros_: he never said it was insane, just crazy :)
<apeiros_> …
<altious> actually it's windows, cmd.exe and codepage 866, which, for sure can't handle unicode
KevinSjoberg has joined #ruby
<apeiros_> altious: see? if it'd render it as unicode, you'd probably see random mess.
<Xeago> altious: I've had console which crashed upon certain unescaped characters
sepp2k has joined #ruby
<Xeago> be glad it escapes
kil0byte has joined #ruby
jds__ has joined #ruby
<kandinski> I'm trying to set up this project: https://github.com/runemadsen/Magic-Book-Project but I am not sure whether the instructions are complete. "bundle install" yields an error about an invalid symlink that needs to be removed. Could you please tell me whether there's something missing in the instructions? https://github.com/runemadsen/Magic-Book-Project Thanks.
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
hoelzro is now known as hoelzro|away
topek has quit [Client Quit]
xmj has left #ruby [#ruby]
<apeiros_> kandinski: did you check the 'Issues' section on the github project?
Iszak has joined #ruby
kil0byte_ has quit [Ping timeout: 255 seconds]
<kandinski> apeiros_: embarraslingly, no
<apeiros_> if not, I'd add it there (after verifying that you indeed followed the instructions by the letter… I noticed people tend to skip steps and then wonder)
<kandinski> apeiros_: thanks, good idea.
jds__ has quit [Ping timeout: 252 seconds]
maasha has joined #ruby
chussenot has quit [Quit: chussenot]
<kandinski> hm, for a newbie, RVM or rbenv?
<maasha> guys I need some help with organizing my code. I get unwanted method name collision. Here is my layout: http://pastie.org/5483165 - what should I do instead?
gyre007 has joined #ruby
cassianoleal has joined #ruby
cassianoleal has left #ruby [#ruby]
pavilionXP has joined #ruby
adeponte has quit [Remote host closed the connection]
RickSchmitty has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
topek has joined #ruby
pavilionXP has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
nemesit has quit [Quit: Leaving...]
altious has quit [Read error: Connection reset by peer]
pavilionXP has joined #ruby
altious has joined #ruby
grzywacz has quit [Ping timeout: 260 seconds]
pavilionXP has quit [Max SendQ exceeded]
pavilionXP has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
pavilionXP has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
tvw has joined #ruby
heftig has quit [Quit: leaving]
altious has quit [Ping timeout: 255 seconds]
elkclone has quit [Quit: It's never too late to unplug and run.]
schaary has quit [Quit: Leaving.]
preller has quit [Ping timeout: 245 seconds]
cdt_ has quit [Quit: Ex-Chat]
manizzle has quit [Ping timeout: 264 seconds]
<maasha> .oO(where is everyone?)
cdt has joined #ruby
<JonnieCache> lol the windows console cant display unicode
<JonnieCache> presumably powershell does it though and powershell shits on the unix shell so we shouldnt be so smug
KevinSjoberg has quit [Ping timeout: 248 seconds]
<JonnieCache> kandinski: rbenv
<JonnieCache> imo
<kandinski> ta
tobinharris has quit [Quit: tobinharris]
u89 has joined #ruby
hamed_r has quit [Quit: Leaving]
altious has joined #ruby
hoelzro|away is now known as hoelzro
Zai00 has quit [Quit: Zai00]
bluOxigen has quit [Ping timeout: 255 seconds]
polymar has quit [Remote host closed the connection]
tombar has joined #ruby
s1n4 has joined #ruby
polymar has joined #ruby
polymar_ has joined #ruby
samphippen has joined #ruby
JohnBat26 has joined #ruby
malkomalko has joined #ruby
hola123 is now known as arkiver
polymar has quit [Ping timeout: 255 seconds]
daniel_- has joined #ruby
_nitti has joined #ruby
kil0byte has quit [Remote host closed the connection]
<kandinski> I have installed rbenv and ruby-build according to sstephenson's instructions on the respective github projects, but 'rbenv install' still yields a 'no such command' error. I did edit my ~/bash_profile and restart the shell with 'exec $SHELL'
cascalheira has joined #ruby
buibex has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
kil0byte has joined #ruby
dankest has quit [Quit: Leaving...]
pen has quit [Read error: Connection reset by peer]
<Xeago> kandinski: what does which rbenv tell you?
pcarrier has joined #ruby
pen has joined #ruby
<kandinski> rbenv installed in ~/.rbenv from github, with ruby-build installed in ~/.rbenv/plugins/ruby-build also from github, tells me exactly 'rbenv: no such command 'install'
<Xeago> kandinski: what does 'which rbenv' tell you?
<kandinski> Xeago, you are right. It says /usr/bin/rbenv
<kandinski> grumble, thanks
<Xeago> is /usr/bin in your path?
<Xeago> if you are under OSX it is recommended to install via homebrew
<kandinski> I am under Ubuntu 12.04
tobinharris has joined #ruby
<maasha> macport is nice
zigomir has quit [Quit: zigomir]
<Xeago> maasha: yuck
<Xeago> dependency hell there
Solnse has quit [Ping timeout: 260 seconds]
buibex has quit [Remote host closed the connection]
ikaros has joined #ruby
<Xeago> dependencies are way too strict there
<maasha> Xeago: I'm a sucker for apt-get - but I also came from Debian ...
<Xeago> ended up with 4 gig of compilers
<Xeago> which is totally unnecessary
<maasha> and I luve really old packages. vintage packages, uuuuhmm :o)
<Xeago> nowadays if I need stuff from ports, and I can't get it anywhere else, I use the portsfile to port myself
eka has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
tobinharris has quit [Quit: tobinharris]
oxyn_ has joined #ruby
tobinharris has joined #ruby
sandman has joined #ruby
oxyn_ has quit [Client Quit]
nkts has joined #ruby
buibex has joined #ruby
nkts has quit [Remote host closed the connection]
oxyn has quit [Ping timeout: 244 seconds]
bkzl has joined #ruby
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Operation timed out]
stnly has joined #ruby
aruntomar has joined #ruby
bkzl has quit [Client Quit]
arkiver has quit [Quit: Leaving]
grzywacz has joined #ruby
bkzl has joined #ruby
Naeblis has joined #ruby
kennyvb has quit [Remote host closed the connection]
nemesit has joined #ruby
lolcathost has quit [Ping timeout: 248 seconds]
answer_42 has joined #ruby
KevinSjoberg has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
oxyn has joined #ruby
kil0byte has joined #ruby
Zai00 has joined #ruby
daniel_- has quit [Ping timeout: 244 seconds]
nyrb has quit [Read error: Connection reset by peer]
nyrb has joined #ruby
heftig has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
banisterfiend has quit [Read error: Connection reset by peer]
Rix has quit [Ping timeout: 250 seconds]
kil0byte_ has joined #ruby
hamed_r has joined #ruby
jprovazn has quit [Quit: Leaving]
kil0byte has quit [Ping timeout: 260 seconds]
bier has quit [Ping timeout: 248 seconds]
byennen has joined #ruby
wedtm|away is now known as wedtm
bier_ has quit [Ping timeout: 260 seconds]
blaxter has quit [Quit: foo]
emma has joined #ruby
doritostains has quit [Ping timeout: 244 seconds]
slainer68 has quit [Remote host closed the connection]
emma has quit [Client Quit]
emma has joined #ruby
u89 has quit [Remote host closed the connection]
byennen has quit [Remote host closed the connection]
ttt has quit [Remote host closed the connection]
byennen has joined #ruby
oxyn has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
byennen has quit [Read error: Connection reset by peer]
byennen has joined #ruby
wermel has joined #ruby
Averna has quit [Quit: Leaving.]
zz_chrismcg is now known as chrismcg
blaxter has joined #ruby
_nitti has joined #ruby
mguy has quit [Ping timeout: 244 seconds]
bier_ has joined #ruby
bier has joined #ruby
Arafangion has joined #ruby
oxyn has joined #ruby
<Arafangion> Maaan, why is win32 so darn complicated. :(
timonv has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
oxyn has quit [Client Quit]
chussenot has joined #ruby
<Arafangion> Also, why might I need to put my .dll's in the same directory as *ruby.exe* rather than my script when calling them via COM?
robbyoconnor has quit [Ping timeout: 255 seconds]
_nitti has quit [Ping timeout: 244 seconds]
<Arafangion> (I suspect that the .dll loads fine, it's the dependencies of THAT .dll, that need to be next to ruby.exe)
KevinSjoberg has quit [Ping timeout: 255 seconds]
<Xeago> because the ruby executable interprets source code. It doesn't load source code as executable
<Xeago> the path of the process is the path to ruby.exe, and it needs to be adjacent to that
<Arafangion> Xeago: So it's normal to put any .dll's into C:/Ruby192/bin?
<Xeago> wouldn't say it is normal :)
<Arafangion> Xeago: abnormal, then? :)
<Xeago> I personally wouldn't do ruby under windows, but I'd say it works(tm)
<Arafangion> Xeago: Some of us don't have that option, alas.
<Xeago> don't have the option of virtualizing a linux box?
<Xeago> vagrant is cool
<Arafangion> Xeago: The mroe I learn about win32, the more insane it just seems.
<Arafangion> Xeago: Well, I actually need to use a .dll, that just happens to be .NET 4 and just happens to be designed for use as a side-by-side assembly.
<Xeago> Arafangion: it only seems sane for visual inserthere# languages
<Arafangion> Xeago: Which is my next challenge... I want to figure out hwo to get it working as a side-by-side assembly.
mathie has quit [Quit: Sleeping...]
spike|spiegel has quit [Quit: WeeChat 0.3.9.2]
<Arafangion> Xeago: If you look deep enough, it's a bit insane for visual# frameworks, too, but it's a nice facade.
mguy has joined #ruby
<Xeago> uhu, yea :)
<Arafangion> I was tempted to try IronRuby, actually, but the rest of the code is Ruby 1.9.2
<Arafangion> So, I'm /hoping/ that COM is the path of least resistance.
<Xeago> I think you can run all your 1.9.2 code in IR right?
<Xeago> COM is old
<Xeago> like, really old
<Xeago> and it leaks, 99% of the time
<Arafangion> Sadly, COM is also new. Really new.
<Xeago> :O
Markvilla has joined #ruby
<Arafangion> It's pretty much the only way to interact with the .NET languages.
<Arafangion> (From outwide of the .NET ecosystem)
<Arafangion> *outside
gbchaosmaster has quit [Ping timeout: 252 seconds]
<Arafangion> I've done lots of COM in python, actually. COM is actually pretty good if you're in sensible stuff.
<Arafangion> But haven't done side-by-side before.
wermel has quit [Remote host closed the connection]
hotovson has quit [Remote host closed the connection]
bkzl has quit [Quit: Computer has gone to sleep.]
margle has quit [Ping timeout: 244 seconds]
<Arafangion> Xeago: It's ironic, but in this day and age, I _still_ feel that C, and maybe C++, are the true portable languages.
<Arafangion> A C library is trivial to hook into regardless of the host language/framework.
jenrzzz has quit [Ping timeout: 255 seconds]
<Xeago> Arafangion: c more so than c++ tho
CamonZ has joined #ruby
<Arafangion> More stable ABI, indeed.
bluOxigen has joined #ruby
<Arafangion> (And they tend to be far simpler)
daniel_- has joined #ruby
bkzl has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Arafangion> It's a bit crazy that it's frequently easier to embed a scripting language, than to call into .NET
uris has joined #ruby
KevinSjoberg has joined #ruby
<Xeago> there's stuff like Script.NET
<Xeago> and some similair projects
<Xeago> that allow you to write in any of clr languages, in a scripting manner
<Xeago> which can be hotloaded
<Arafangion> You can do that with .net itself, no issues there.
<Xeago> yes but have you tried facilitating it yourself?
<Arafangion> Maybe I should forget COm and make a helper application, and use pipes.
<Arafangion> ANd yes, I have.
<Xeago> yuck, was it safely implemented, think of threadsafety and compiling errors, typing errors?
slainer68 has joined #ruby
<Arafangion> Well, it wasn't sandboxed, if that's what you meant.
machty has joined #ruby
<Arafangion> I could've considered putting it into it's own app domain, but meh.
hotovson has joined #ruby
Asher has quit [Quit: Leaving.]
browndawg has quit [Quit: Leaving.]
tombar has quit [Remote host closed the connection]
verto|off is now known as verto
Asher has joined #ruby
tombar has joined #ruby
mmitchell has joined #ruby
kennyvb has joined #ruby
lolcathost has joined #ruby
tombar has quit [Remote host closed the connection]
clocKwize has quit [Read error: Connection reset by peer]
Virunga has joined #ruby
aetcore1 has quit [Ping timeout: 244 seconds]
pac1 has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 264 seconds]
KevinSjoberg has quit [Ping timeout: 265 seconds]
cmarques has joined #ruby
Jasko has quit [Ping timeout: 250 seconds]
banister_ has joined #ruby
Morkel has quit [Quit: Morkel]
pcarrier has quit []
rhizo has joined #ruby
byennen has quit [Remote host closed the connection]
bkzl has quit [Quit: Textual IRC Client: www.textualapp.com]
samphippen has quit [Quit: Computer has gone to sleep.]
geekbri has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
mathie has joined #ruby
adambeynon has joined #ruby
Ruler_Of_Heaven_ is now known as pipopopo
machty has quit [Quit: machty]
slainer68 has joined #ruby
clocKwize has joined #ruby
distax has joined #ruby
googya has quit [Quit: Leaving.]
rhizo has quit [Read error: Connection reset by peer]
rhizo has joined #ruby
skaczor has joined #ruby
u89 has joined #ruby
machty has joined #ruby
jonahR has joined #ruby
oGminor has quit [Quit: oGminor]
drago757 has joined #ruby
vasile has quit [Ping timeout: 264 seconds]
tombar has joined #ruby
machty has quit [Quit: machty]
margle has joined #ruby
banister_ is now known as banisterfiend
pen has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 252 seconds]
Jasko has joined #ruby
peneconleche has quit [Quit: Leaving...]
mark_locklear has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
sheerun has joined #ruby
x0F_ is now known as x0F
mmitchell has quit [Remote host closed the connection]
Goles has joined #ruby
_nitti has joined #ruby
emma has quit [Quit: WeeChat 0.3.9]
nkts has joined #ruby
mathie has quit [Ping timeout: 244 seconds]
ryannielson has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
enroxorz-work has joined #ruby
beiter has joined #ruby
rakuN has joined #ruby
ttt has joined #ruby
aharris6 has quit [Remote host closed the connection]
krawchyk has joined #ruby
ner0x has joined #ruby
jrunning has joined #ruby
tobinharris has quit [Quit: tobinharris]
ttt has quit [Ping timeout: 276 seconds]
Hanmac has joined #ruby
jlwestsr has joined #ruby
mathie has joined #ruby
jeffreybaird has joined #ruby
jonahR has quit [Quit: jonahR]
m4rtijn has joined #ruby
<m4rtijn> hi
eka has joined #ruby
<m4rtijn> in order to stress test mongodb on our cluster, we would like to use some loopy ruby script to do reads/writes etc..
<m4rtijn> is there a way to have one ruby script use multiple cpus for this?
foohey has quit [Quit: Quitte]
<m4rtijn> forking ?
<heftig> forking.
<heftig> or use jruby or rbx
foohey has joined #ruby
<heftig> both support parallel execution of threads
lkba has joined #ruby
koshii has quit [Quit: leaving]
foohey has quit [Remote host closed the connection]
<JonnieCache> you dont need shared state so why not just fire up multiple processes? keep it simple
foohey has joined #ruby
eka has quit [Ping timeout: 244 seconds]
cakehero has joined #ruby
Crrrl has joined #ruby
tobinharris has joined #ruby
krz has joined #ruby
lastk has joined #ruby
<m4rtijn> JonnieCache, you mean just running multiple tmux sessions or somthing like that?
<lastk> which orm are you guys using outside of rails ? seens like datamapper is dead
xyzodiac has joined #ruby
Takehiro has joined #ruby
s1n4 has quit [Quit: leaving]
buibex has quit [Ping timeout: 252 seconds]
buibex_ has joined #ruby
jonahR has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
samphippen has joined #ruby
iamjarvo has joined #ruby
byennen has joined #ruby
kil0byte has joined #ruby
<ner0x> Is it possible to do a %SOMETHING[a b c d e] to get [ :a, :b, :c, :d ] ?
drago757 has quit [Quit: drago757]
<hoelzro> ner0x: in Ruby 2.0, it is!
<JonnieCache> m4rtijn: yeah or just multiple terminal windows or just background the procs after you run them or whatever you want]
u89 has quit [Remote host closed the connection]
<m4rtijn> okay, thanks
tommyvyo has joined #ruby
<ner0x> hoelzro: So for now I have to [:a, :b, :c] ?
jonahR has quit [Client Quit]
<heftig> ner0x: %w{a b c d e}.map(&:to_sym)
<ner0x> hoelzro: And is there a benefit to using that to %w[a b c d] ?
kil0byte_ has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
<ner0x> I notices row['one'] and row[:one] !=
nari has joined #ruby
yakko has quit [Remote host closed the connection]
u89 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
u89 has quit [Remote host closed the connection]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<ner0x> I need a better tutorial on ruby to understand the base language better.
altious has quit [Read error: Connection reset by peer]
schaary has joined #ruby
altious has joined #ruby
osvico has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
kil0byte_ has joined #ruby
kzrl has quit [Ping timeout: 276 seconds]
kzrl has joined #ruby
a_a_g1 has quit [Quit: Leaving.]
moshee has quit [Ping timeout: 246 seconds]
phantasm66 has quit [Quit: *sleeeep….]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
jharris has joined #ruby
malte_ has joined #ruby
aetcore has joined #ruby
adac has joined #ruby
kil0byte has quit [Ping timeout: 264 seconds]
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
philcrissman has joined #ruby
error_code_ has quit [Read error: Connection reset by peer]
Proshot has joined #ruby
k610 has joined #ruby
error_code has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
<m4rtijn> ner0x, Metaprogramming RUBY from paolo Perrotta
hamed_r has quit [Ping timeout: 260 seconds]
<m4rtijn> excellent read to understand ruby
a_a_g has joined #ruby
<ner0x> Web download?
a_a_g has quit [Client Quit]
peneconleche has joined #ruby
<m4rtijn> dont have one.. i bought it from pragmatic
wermel has joined #ruby
hamed_r has joined #ruby
u89 has joined #ruby
buibex_ has quit [Remote host closed the connection]
daniel_- has quit [Ping timeout: 244 seconds]
<m4rtijn> dont have one.. i bought it from pragmatic
<m4rtijn> dont have one.. i bought it from pragmatic
<m4rtijn> sorry
<m4rtijn> thought i had focus on console
<hoelzro> ner0x: I highly recommend "The Ruby Programming Language"
buibex has joined #ruby
pen has joined #ruby
ephemerian has quit [Quit: Leaving.]
bkzl has joined #ruby
<JonnieCache> yeah get that
yshh has quit [Remote host closed the connection]
jrunning has quit [Ping timeout: 244 seconds]
solidoodlesuppor has joined #ruby
marr has quit [Ping timeout: 264 seconds]
hamed_r has quit [Ping timeout: 244 seconds]
lolcathost has joined #ruby
eka has joined #ruby
cmarques_ has joined #ruby
polymar_ has quit [Remote host closed the connection]
Crrrl has quit [Quit: Leaving.]
<ner0x> m4rtijn: No problem.
<ner0x> hoelzro: I'll look into it. Thanks.
yacks has joined #ruby
bkzl has quit [Quit: Textual IRC Client: www.textualapp.com]
sandman has quit [Ping timeout: 245 seconds]
cmarques has quit [Ping timeout: 244 seconds]
pcarrier has joined #ruby
schaary has quit [Quit: Leaving.]
maasha has quit [Ping timeout: 245 seconds]
dmerrick has joined #ruby
hiroyuki has quit [Read error: No route to host]
jrist-afk is now known as jrist
heftig has quit [Quit: leaving]
hiroyuki has joined #ruby
sepp2k has quit [Quit: Leaving.]
byennen has quit [Remote host closed the connection]
Nick|laptop has joined #ruby
byennen has joined #ruby
arya has joined #ruby
_nitti has joined #ruby
v0n has joined #ruby
sailias has joined #ruby
Zolrath has joined #ruby
peneconleche is now known as peneconleche|awa
bbttxu has joined #ruby
geekbri has quit [Remote host closed the connection]
<ner0x> Any good "Ruby on Rails" books I should be aware of?
<ner0x> Also, any online stuff I should be aware of?
<ner0x> Koans, or something like that? And anything else.
vivien_ has joined #ruby
<eka> ner0x: tryruby
vivien_ has quit [Remote host closed the connection]
<eka> ner0x: http://tryruby.org/
kil0byte has joined #ruby
v0n has quit [Client Quit]
<ner0x> I've went through it a bit. I'll go into it a bit more this time.
v0n has joined #ruby
<CamonZ> ner0x: Rails 3 in Action by Ryan Bigg
Morkel has joined #ruby
haxrbyte has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
ffranz has quit [Quit: Leaving]
<ner0x> eka++ # thanks
<ner0x> CamonZ++ # thanks
kil0byte_ has quit [Ping timeout: 260 seconds]
Gajanan has quit [Quit: Leaving.]
ffranz has joined #ruby
marr has joined #ruby
ananthakumaran has joined #ruby
<affix> hey I need some help
<affix> I need to replace [caption id=\"attachment_130\" align=\"alignleft\" width=\"150\"] with a div
<affix> Using gsub I want to match anything with caption alignleft
<affix> i.e I want to match anything that contains the full string except attachment_130 is a variable
haxrbyte_ has joined #ruby
haxrbyte has quit [Ping timeout: 240 seconds]
hemanth has quit [Read error: Connection reset by peer]
Nick|laptop has quit [Ping timeout: 260 seconds]
niklasb has quit [Ping timeout: 250 seconds]
hemanth has joined #ruby
falkenbt has joined #ruby
m4rtijn has quit [Read error: Operation timed out]
m4rtijn has joined #ruby
byennen has quit [Remote host closed the connection]
<falkenbt> hi, noob question: I use this https://github.com/ripienaar/graphite-graph-dsl/blob/master/lib/graphite_graph.rb and would like to include a loop in the file that gets evaluated (79: self.instance_eval(File.read(@file)) unless @file == :none)
bkzl has joined #ruby
_solomon has quit [Quit: _solomon]
<falkenbt> the loop is a simple for loop like "servers = @properties[:servers] \ for server in servers field :#{server}, :alias => "User CPU for #{server}", :data => "machines.*.#{server}.cpu.user" \end"
mmitchell has joined #ruby
<falkenbt> this gives me an error: SyntaxError - (eval):30: syntax error, unexpected $end, expecting keyword_end
<falkenbt> I would like to know where to start to enable the usage of loop in the DSL / files
Uranio has quit [Quit: WeeChat 0.3.8]
samphippen has quit [Quit: Computer has gone to sleep.]
bkzl has quit [Client Quit]
Uranio has joined #ruby
vasile has joined #ruby
pereira_alex has joined #ruby
<pereira_alex> hi
<_axx> hey guys, i have a small stats tool for some of our servers and i want to wrap it in some kind of container, so i can easily copy it on a server and run it. would it be possible to wrap a ruby app inside a java container (or something like that) and run that with jruby?
<shevy> hmmm
mmitchel_ has joined #ruby
<Xeago> _axx: pack it as a gem
<Xeago> and gem install it?
<shevy> perhaps the guys on #jruby know more, but it should be easy when you can work in jruby
Rix has joined #ruby
<pereira_alex> is it possible to code on ruby and develop something like on ruby on rails , but use some dotnet dll's ?
<shevy> all objects are available for you in jruby or?
Nick|laptop has joined #ruby
mmitchell has quit [Ping timeout: 244 seconds]
<_axx> yes, i have a ruby app that uses jruby for threading etc.
<_axx> shevy: i think i ask in #jruby, thanks! :)
ExxKA has joined #ruby
haxrbyte_ has quit [Ping timeout: 244 seconds]
lampe2 has joined #ruby
Guest30882 has joined #ruby
otters has joined #ruby
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
<falkenbt> any idea how "self.instance_eval(File.read(@file))" treats things like loops in the @file?
jeffreybaird_ has joined #ruby
jeffreybaird has quit [Read error: Connection reset by peer]
<ner0x> In your opinion (#ruby that is) do you feel codeschool.com and railscasts.com are worth purchasing?
<Xeago> I think railscasts.com is worth it, even if it is sometimes nestled within rails more often than not it is about something you can use in rails as well as outside of rails
pen has quit [Remote host closed the connection]
<Xeago> and when it is in rails, it is often very good to see the design behind it
<Xeago> I've never done rails
<Xeago> but I am subscribed to railscasts
pen has joined #ruby
<m4rtijn> so am i
<eka> ner0x: I liked codeschool very much... I just used it 2 months and did most of the tutorials
Coolhand|laptop has joined #ruby
<ner0x> Those books, web-tutorials, and two websites should give me enough to do for a while.
<eka> ner0x: and for the price I think is reasonable... and also they have screencasts you can download a la peepcode
buibex has quit [Remote host closed the connection]
<ner0x> peepcode? lol
<eka> ner0x: peepcode.com
<eka> ner0x: you don't know it?
tk__ has quit [Quit: ばいばい]
jeffreybaird has joined #ruby
byennen has joined #ruby
jeffreybaird_ has quit [Read error: Operation timed out]
nerd has joined #ruby
havenn has joined #ruby
sepp2k has joined #ruby
schaary has joined #ruby
<ner0x> eka: Never heard of it.
byennen has quit [Ping timeout: 240 seconds]
tombar_ has joined #ruby
mathie has quit [Quit: Sleeping...]
[Neurotic] has quit [Remote host closed the connection]
Goles has quit [Remote host closed the connection]
fyolnish has joined #ruby
tombar has quit [Ping timeout: 252 seconds]
Goles has joined #ruby
<ner0x> eka: Holy shit peepcode is awesome.
kil0byte_ has joined #ruby
samphippen has joined #ruby
iamjarvo has quit [Quit: Leaving.]
joofsh has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
slainer6_ has joined #ruby
kil0byte has quit [Ping timeout: 264 seconds]
sailias has quit [Quit: Leaving.]
buibex has joined #ruby
sailias has joined #ruby
_alejandro has quit [Remote host closed the connection]
jlast has joined #ruby
zommi has quit [Quit: Leaving.]
stopbit has joined #ruby
slainer68 has quit [Ping timeout: 244 seconds]
zelo has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
jackbrownhf has quit [Read error: Connection reset by peer]
_solomon has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
kil0byte has joined #ruby
kil0byte_ has quit [Ping timeout: 255 seconds]
nari has quit [Ping timeout: 244 seconds]
g0bl1n has joined #ruby
Proshot is now known as Proshot-Sinterkl
Proshot-Sinterkl is now known as Proshot-Sint
whowantstolivefo has quit [Remote host closed the connection]
haxrbyte has joined #ruby
kil0byte_ has joined #ruby
regedarek has quit [Ping timeout: 260 seconds]
nemesit has quit [Quit: Leaving...]
kil0byte has quit [Ping timeout: 240 seconds]
regedarek has joined #ruby
Vert has joined #ruby
Proshot-Sint is now known as statarb3
statarb3 has quit [Changing host]
statarb3 has joined #ruby
rippa has joined #ruby
CamonZ has quit [Quit: Linkinus - http://linkinus.com]
jgarvey has joined #ruby
obryan has joined #ruby
Markvilla has joined #ruby
pu22l3r has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
areil has joined #ruby
kil0byte has joined #ruby
malkomalko has quit [Remote host closed the connection]
freeayu has quit [Remote host closed the connection]
whowantstolivefo has joined #ruby
rakl has joined #ruby
kil0byte_ has quit [Ping timeout: 265 seconds]
Coolhand|laptop has quit [Ping timeout: 244 seconds]
Nick|laptop has quit [Ping timeout: 265 seconds]
xyzodiac has joined #ruby
whowantstolivefo has quit [Read error: Connection reset by peer]
nwertman has quit [Quit: leaving]
osvico has quit [Ping timeout: 244 seconds]
whowantstolivefo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
krz has quit [Quit: krz]
macabre has joined #ruby
x82_nicole has joined #ruby
tagrudev has quit [Quit: It has begun]
buibex has quit [Remote host closed the connection]
zelo has quit [Quit: zelo]
_alejandro has joined #ruby
nomenkun_ has quit [Ping timeout: 256 seconds]
thisirs has joined #ruby
tjbiddle has joined #ruby
heftig has joined #ruby
carlyle has joined #ruby
Takehiro has quit [Remote host closed the connection]
haxrbyte_ has joined #ruby
jlwestsr has quit [Quit: Ex-Chat]
lampe2 has quit [Ping timeout: 244 seconds]
mathie has joined #ruby
lampe2 has joined #ruby
mahmoudimus has joined #ruby
haxrbyte has quit [Ping timeout: 255 seconds]
k611 has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Remote host closed the connection]
buibex has joined #ruby
SCommette has joined #ruby
k610 has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
altious2 has joined #ruby
bradhe has quit [Remote host closed the connection]
altious has quit [Ping timeout: 265 seconds]
g-ram has joined #ruby
ltsstar has joined #ruby
manizzle has joined #ruby
_JamieD_ has joined #ruby
bbttxu has quit [Ping timeout: 244 seconds]
Hanmac has quit [Quit: Page closed]
MindUser56264 has joined #ruby
jonahR has joined #ruby
<MindUser56264> +Ccnt
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
MindUser56264 has quit [Remote host closed the connection]
danneu has joined #ruby
mikepack has joined #ruby
iamjarvo has joined #ruby
Tearan has joined #ruby
lampe21 has joined #ruby
bbttxu has joined #ruby
nga4 has joined #ruby
swex_ has joined #ruby
generalissimo has joined #ruby
generalissimo has quit [Remote host closed the connection]
lampe2 has quit [Ping timeout: 240 seconds]
Nick|laptop has joined #ruby
swex has quit [Ping timeout: 252 seconds]
xyzodiac has joined #ruby
burgestrand has quit [Quit: Leaving.]
Coolhand|laptop has joined #ruby
niklasb has joined #ruby
xyzodiac has quit [Client Quit]
a_a_g has joined #ruby
mikepack has quit [Remote host closed the connection]
cj3kim has joined #ruby
robustus has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
cakehero has joined #ruby
daniel_- has joined #ruby
Vert has quit [Read error: Connection reset by peer]
dr_bob has quit [Quit: Leaving.]
chimkan has joined #ruby
zommi has joined #ruby
sspiff has quit [Remote host closed the connection]
sandman has joined #ruby
Nick|laptop has quit [Ping timeout: 244 seconds]
rakuN has quit [Quit: rakuN]
Coolhand|laptop has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Remote host closed the connection]
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cj3kim has quit [Client Quit]
obryan has quit [Quit: Konversation terminated!]
maesbn has quit [Remote host closed the connection]
eldariof has quit [Ping timeout: 265 seconds]
Takehiro has joined #ruby
ddd has joined #ruby
<ner0x> opts = { something: 'value' } automatically makes opts[:something] not opts['something']. Interesting
niklasb has quit [Quit: WeeChat 0.3.9.2]
<waxjar> it's syntactic sugar in 1.9 for { :something => 'value' }
blaxter has quit [Ping timeout: 246 seconds]
<atmosx> I think you can also do { something: :value}
<waxjar> correct
devdazed has quit [Ping timeout: 245 seconds]
pencilcheck has joined #ruby
andrewhl has joined #ruby
bbttxu has quit [Quit: bbttxu]
Takehiro has quit [Ping timeout: 240 seconds]
Virunga has quit [Remote host closed the connection]
devdazed has joined #ruby
u89 has quit [Remote host closed the connection]
BoomCow has joined #ruby
mikepack has joined #ruby
pen has quit [Ping timeout: 260 seconds]
Rix has quit [Ping timeout: 244 seconds]
BoomCow has quit [Client Quit]
mmitchel_ has quit [Remote host closed the connection]
jackbrownhf has joined #ruby
tjbiddle_ has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
Nick|laptop has joined #ruby
bigmac has quit [Remote host closed the connection]
xyzodiac has joined #ruby
generalissimo has joined #ruby
tjbiddle has quit [Ping timeout: 244 seconds]
tjbiddle_ is now known as tjbiddle
paolooo has quit [Quit: Page closed]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Nick|laptop has quit [Remote host closed the connection]
u89 has joined #ruby
matrixise has quit [Ping timeout: 252 seconds]
jdv79 has left #ruby [#ruby]
tombar_ has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
philips_ has quit [Excess Flood]
_nitti has joined #ruby
u89 has joined #ruby
sandman has quit [Ping timeout: 245 seconds]
Rix has joined #ruby
gmci has joined #ruby
gmci has quit [Client Quit]
xclite has joined #ruby
philips_ has joined #ruby
morf has quit [Quit: eof]
u89 has quit [Remote host closed the connection]
weeb1e_ has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
weeb1e has joined #ruby
Zolrath has quit []
nateberkopec has joined #ruby
<maxmanders> Anybody familiar with the aws sdk?
gmci has joined #ruby
gmci is now known as Guest65243
jekotia has joined #ruby
pereira_alex has quit [Quit: Konversation terminated!]
aganov has quit [Remote host closed the connection]
bier has quit [Quit: Ex-Chat]
<ner0x> maxmanders: Command line or ruby?
<ner0x> maxmanders: I figure ruby but I've used the aws-ec2 command line quite a bit.
k611 has quit [Ping timeout: 255 seconds]
<ner0x> Also, anyone know how you can reorder the elements in an array?
andrewhl has quit [Remote host closed the connection]
u89 has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
u89 has quit [Remote host closed the connection]
Guest65243 has quit [Ping timeout: 248 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
<maxmanders> ner0x: ruby - used the command line too.
<maxmanders> ner0x: Having trouble getting the autoscale module to work with eu-west-1; seems to default to us-east-1 and can't figure out what hash value to pass in.
hoelzro is now known as hoelzro|away
<maxmanders> Tried constructing asc = AWS::AutoScaling::Client.new(:ec2_endpoint => 'ec2.eu-west-1.amazonaws.com') but appears to have no effect.
<ner0x> maxmanders: http://docs.amazonwebservices.com/AWSRubySDK/latest/AWS/AutoScaling.html Have you seen the autoscaling group feature?
willob has joined #ruby
niklasb has joined #ruby
emaiax has joined #ruby
<maxmanders> ner0x: that's the page I'm looking at right now :-) I'm low on caffiene so maybe missing something, but can't find anything about region
axl_ has joined #ruby
thisirs has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<ner0x> maxmanders: Look directly at "group =" under "Auto Scaling Groups"
davidcelis has quit [Quit: K-Lined.]
<ner0x> maxmanders: And it should hit you in the face like a ton of bricks thrown my batman.
<maxmanders> *facepalm* - was looking for region rather than specific AZs... that looks like it'll do the job
elico has quit [Read error: Connection reset by peer]
<maxmanders> ner0x: thanks for the caffiene / eyes substitute!
<ner0x> maxmanders: No problem. I haven't used autoscaling yet but I assume I'll be using it shortly.
gmci_ has joined #ruby
gmci_ has quit [Max SendQ exceeded]
havenn has quit [Read error: Connection reset by peer]
<maxmanders> ner0x: sadly that doesn't seem to have done the job - I'll get a gist up and see if Ican get some eyes on it
chussenot has quit [Quit: chussenot]
emaiax has quit [Remote host closed the connection]
<ner0x> maxmanders: Look at the commandline and see if you have a group created. I assume you "have" to have one to tell it the min/max group.
u89 has joined #ruby
enroxorz-work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
naeblis_ has joined #ruby
Naeblis has quit [Disconnected by services]
philcrissman has quit [Remote host closed the connection]
chussenot has joined #ruby
<maxmanders> Ahhhh think I've got it
vlad_starkov has quit [Ping timeout: 260 seconds]
naeblis_ is now known as Naeblis
Naeblis has quit [Changing host]
Naeblis has joined #ruby
elico has joined #ruby
<maxmanders> AWS.console(:auto_scaling_endpoint => 'eu-west-1')!
ckrailo has joined #ruby
Mnkras-Laptop has joined #ruby
Mnkras-Laptop has joined #ruby
Mnkras-Laptop has quit [Changing host]
dmiller has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
jackdanger has joined #ruby
gmci has joined #ruby
Ronnie has joined #ruby
gmci is now known as Guest66847
schaary has quit [Quit: Leaving.]
fmcgeough has joined #ruby
bier has joined #ruby
soyapi has joined #ruby
Ronnie has left #ruby [#ruby]
g-ram has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
bier_ has quit [Quit: Ex-Chat]
Nick|laptop has joined #ruby
daniel_hinojosa has joined #ruby
lastk has quit [Quit: Leaving]
philcrissman has joined #ruby
u89 has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 244 seconds]
nemesit has joined #ruby
lampe2 has joined #ruby
adac has quit [Quit: Leaving]
u89 has joined #ruby
peneconleche|awa has quit [Quit: Leaving...]
juri_over9000 has joined #ruby
guns has joined #ruby
lampe21 has quit [Ping timeout: 240 seconds]
dankest has joined #ruby
xyzodiac has joined #ruby
rasbonics has joined #ruby
arya has quit [Ping timeout: 244 seconds]
mahmoudimus has joined #ruby
johnmilton has joined #ruby
rakl has quit [Quit: sleeping]
xyzodiac has quit [Max SendQ exceeded]
GitNick has joined #ruby
leonardorb has joined #ruby
xyzodiac has joined #ruby
xyzodiac has quit [Max SendQ exceeded]
dmiller has quit [Ping timeout: 246 seconds]
geekbri has joined #ruby
xyzodiac has joined #ruby
hoelzro|away is now known as hoelzro
rakuN has joined #ruby
dr_bob has joined #ruby
xyzodiac has quit [Max SendQ exceeded]
xyzodiac has joined #ruby
jharris has quit [Quit: WeeChat 0.3.8]
arietis has joined #ruby
<ner0x> Is there no var++ equivalent?
stkowski has joined #ruby
havenn has joined #ruby
dmiller has joined #ruby
<hoelzro> ner0x: nope
<hoelzro> just var += 1
chimkan has quit [Quit: chimkan]
<ner0x> Interesting.
jeffreybaird has quit [Quit: jeffreybaird]
davidcelis has joined #ruby
daniel_- has joined #ruby
huoxito has joined #ruby
alanp has quit [Remote host closed the connection]
chimkan has joined #ruby
samphippen has joined #ruby
browndawg1 has joined #ruby
joshman_ has joined #ruby
browndawg has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
baroquebobcat has joined #ruby
nwertman has joined #ruby
browndawg1 has quit [Client Quit]
browndawg has joined #ruby
jrajav has joined #ruby
alanp has joined #ruby
aldodelgado has joined #ruby
ryanlecompte has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
ryanlecompte has joined #ruby
JohnBat26 has quit [Ping timeout: 252 seconds]
buibex has quit [Remote host closed the connection]
joeycarmello has joined #ruby
arya has joined #ruby
arya has quit [Client Quit]
bradhe has joined #ruby
u89 has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
chussenot_ has joined #ruby
arya has joined #ruby
andrewhl has joined #ruby
ryannielson has left #ruby [#ruby]
chussenot has quit [Ping timeout: 246 seconds]
chussenot_ is now known as chussenot
workmad3 has quit [Ping timeout: 255 seconds]
alexim has joined #ruby
freakazoid0223 has joined #ruby
froy has joined #ruby
alx- has joined #ruby
soyapi has quit [Quit: Ex-Chat]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
altious2 has quit [Ping timeout: 255 seconds]
Nick|laptop has quit [Ping timeout: 240 seconds]
alvaro_o has joined #ruby
xyzodiac has quit [Ping timeout: 256 seconds]
Neomex has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
Neomex has quit [Client Quit]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
BoomCow has joined #ruby
chimkan has quit [Quit: chimkan]
iamjarvo has quit [Quit: Leaving.]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
m4rtijn has quit [Quit: Verlassend]
nik_-_ has joined #ruby
Takehiro has joined #ruby
alx- has quit [Quit: alx-]
slainer6_ has quit [Remote host closed the connection]
g-ram has joined #ruby
chimkan has joined #ruby
carlyle has quit [Remote host closed the connection]
jackdanger has quit [Quit: Leaving.]
BiHi has quit [Quit: Computer has gone to sleep]
Mnkras-Laptop has quit [Quit: Mnkras-Laptop]
slash_nick has joined #ruby
Aiur has joined #ruby
slash_ni1k has joined #ruby
browndawg has quit [Quit: Leaving.]
xyzodiac has joined #ruby
<slash_nick> Does anyone know of a gem that wraps some API (provides methods to reach endpoints) AND logs those request/response pairs in a database?
<slash_nick> I don't want to use it, I just want to see how it's been done before... if it's been done publically
aldodelgado has quit [Quit: aldodelgado]
carlyle has joined #ruby
ExxKA has quit [Ping timeout: 244 seconds]
nat2610 has joined #ruby
zigomir has joined #ruby
slash_ni1k has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
zigomir has quit [Client Quit]
chussenot has quit [Quit: chussenot]
cdt has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Remote host closed the connection]
roger_padactor has joined #ruby
iamjarvo has joined #ruby
haxrbyte_ has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
carlyle has quit [Remote host closed the connection]
<roger_padactor> hello, new to ruby. I'm trying to require a gem but it fails to load it. so then i was reading about it not working and i tried ruby -rubygems -e 'require "sproutvideo-rb"' still get the error gem_original_require': no such file to load
nik_-_ has quit [Quit: nik_-_]
sepp2k has quit [Remote host closed the connection]
g0bl1n has quit [Ping timeout: 244 seconds]
wallerdev has quit [Ping timeout: 260 seconds]
<slash_nick> roger_padactor: what is the file path + name you want to require?
<roger_padactor> i installed the sproutvideo-rb gem.
jharris has joined #ruby
<slash_nick> either the gem isn't installed, or the file you need to require is named something else
timonv has quit [Remote host closed the connection]
<roger_padactor> i did a gem list and it showed up
<slash_nick> ok, so go to $GEM_HOME, find that gem, and see if if there's a file called "sproutvideo-rb.rb" in...probably lib
<roger_padactor> ok
eldariof has joined #ruby
flip_digits has joined #ruby
u89 has joined #ruby
<slash_nick> or... look at it on github and see there's a file called "sproutvideo.rb" https://github.com/SproutVideo/sproutvideo-rb/tree/master/lib
<slash_nick> try "require 'sproutvideo'"
Rollabunna has joined #ruby
Vainoharhainen has quit [Quit: Leaving...]
c0rn has joined #ruby
Paradox has quit [Read error: Operation timed out]
kil0byte_ has joined #ruby
allyraza has joined #ruby
joeycarmello has quit [Remote host closed the connection]
kil0byte_ has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 265 seconds]
<flip_digits> I'm trying to read the docs can someone explain what this parameter list means? fetch( key [,default])
<slash_nick> roger_padactor: is it working now? the gem is called repo is named sproutvideo-rb but the file that requires all its classes & dependencies is called named differently
ltsstar has quit [Quit: ltsstar]
<roger_padactor> i tried require 'sproutvideo' too.. Im looking for the gem location on mountain lion.
kil0byte has quit [Ping timeout: 250 seconds]
tobinharris has quit [Quit: tobinharris]
timmow has quit [Ping timeout: 252 seconds]
<slash_nick> flip_digits: {foo: bar}.fetch(:baz) { :bang } # will return :bang
<slash_nick> sadly though i don't know what [,default] reads like
moted has joined #ruby
dankest has quit [Ping timeout: 246 seconds]
undersc0re97 has quit [Quit: Leaving]
Jamone has quit [Ping timeout: 244 seconds]
timonv has joined #ruby
<slash_nick> roger_padactor: what happens when you open irb and try to use the gem?
d2dchat has joined #ruby
Xeago_ has joined #ruby
bpfh has joined #ruby
jackbrownhf has quit [Quit: Sto andando via]
Paradox has joined #ruby
<flip_digits> slash_nick that's what I wanted to know : (
keyvan has joined #ruby
keyvan has quit [Changing host]
keyvan has joined #ruby
<roger_padactor> hmmm when I tried it in the rib it returns true
hotovson has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
banjara has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
undersc0re97 has joined #ruby
<slash_nick> roger_padactor: you should be good to go then
<ner0x> What is a <feff> and why does CSV write it?
Xeago_ has quit [Remote host closed the connection]
mikepack has joined #ruby
pu22l3r has joined #ruby
twopoint718 has quit [Ping timeout: 264 seconds]
Xeago has quit [Ping timeout: 264 seconds]
<roger_padactor> `require': no such file to load -- sproutvideo (LoadError) this is my file.rb that I'm running
<ner0x> A bom... How do you open a CSV without a bom?
Jasko has quit [Quit: Leaving]
* ner0x reads the docs.
<roger_padactor> oops http://pastebin.com/rHv7A0Hr
Banistergalaxy has joined #ruby
walbert has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
rdark has quit [Quit: leaving]
jackbrownhf has quit [Read error: Connection reset by peer]
tobinharris has joined #ruby
tyfighter has joined #ruby
ProcBloc has joined #ruby
fred909 has joined #ruby
v0n has quit [Read error: Operation timed out]
<ner0x> I'm all about reading docs but I can't find any docs on the "mode" parameter for IO. As in how to rbom the file, etc.
pcarrier has quit []
baroquebobcat has joined #ruby
rhizo has quit [Quit: Ex-Chat]
wallerdev has joined #ruby
hotovson has joined #ruby
LucidDreamZzZ has joined #ruby
arya has quit [Read error: Connection reset by peer]
arya has joined #ruby
fyolnish has quit [Remote host closed the connection]
hotovson has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
DrShoggoth has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
cardoni has quit [Quit: cardoni]
k610 has joined #ruby
sailias has joined #ruby
arturas_ has quit [Remote host closed the connection]
xyzodiac has quit [Quit: Computer has gone to sleep.]
Spaceboy has joined #ruby
u89 has quit [Remote host closed the connection]
daniel_- has quit [Quit: WeeChat 0.3.9.2]
tenmilestereo has joined #ruby
adeponte has joined #ruby
peneconleche has joined #ruby
v0n has joined #ruby
iamjarvo1 has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
Seich is now known as seich
x82_nicole has quit [Quit: Computer has gone to sleep.]
segv- has quit [Quit: segv-]
rhys_ has joined #ruby
Aiur has quit [Quit: Computer has gone to sleep.]
samphippen has quit [Quit: Computer has gone to sleep.]
Rollabunna has quit [Remote host closed the connection]
rhys has quit [Ping timeout: 260 seconds]
nat2610 has left #ruby [#ruby]
dr_bob has left #ruby [#ruby]
Neomex has joined #ruby
rakm has joined #ruby
Neomex has quit [Client Quit]
rakm has quit [Max SendQ exceeded]
keyvan has quit [Remote host closed the connection]
werdnativ has quit [Quit: werdnativ]
areil has quit [Remote host closed the connection]
rakm has joined #ruby
gyre007 has quit [Remote host closed the connection]
rakm has quit [Max SendQ exceeded]
king313 has joined #ruby
krawchyk_ has joined #ruby
mascool has joined #ruby
x82_nicole has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
Takehiro has quit [Ping timeout: 265 seconds]
Solnse has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
xyzodiac has joined #ruby
rezzack has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
Aiur has joined #ruby
u89 has joined #ruby
yacks has quit [Quit: Leaving]
rakm has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rakm has quit [Max SendQ exceeded]
krawchyk has quit [Ping timeout: 256 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
maletor has joined #ruby
rakm has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
Spaceboy has quit [Remote host closed the connection]
nat2610 has joined #ruby
ProcBloc has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
voodoofish430 has joined #ruby
jackbrownhf has quit [Ping timeout: 264 seconds]
headius has joined #ruby
kil0byte has joined #ruby
rakuN has quit [Quit: rakuN]
AndChat| has joined #ruby
dankest has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
LucidDreamZzZ has quit [Ping timeout: 276 seconds]
Banistergalaxy has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
a_a_g has quit [Quit: Leaving.]
igro has joined #ruby
moshee has quit [Ping timeout: 255 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
maletor has joined #ruby
<dankest> I have two objects of the same class. I want one to clone the other. What's the best way to do this?
<dankest> I could iterate through the attrs and write them one by one
<elaptics> dankest: object.clone ?
nkts has quit [Remote host closed the connection]
pen has joined #ruby
slainer68 has joined #ruby
<dankest> elaptics: Yup. Just reread the def, misunderstood it first time, lol. Thanks.
hoelzro is now known as hoelzro|away
<dankest> Is something like self = object.clone legal?
<dankest> in a model method?
GoGoGarrett has joined #ruby
grzywacz has quit [Ping timeout: 265 seconds]
pencilcheck has quit [Ping timeout: 240 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
margle has quit [Quit: Computer has gone to sleep.]
Russell^^ has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jrist is now known as jrist-afk
margle has joined #ruby
babonk has joined #ruby
<babonk> Hi guys. Is there a way to restructure this so I can access page outside of the 3.times block?
<babonk> 3.times do #retry 3 times to deal with fails where it redirects to homepage (i.e url)
<babonk> page = agent.get(lookup_url, query, self.url)
<babonk> break if page.uri.to_s != url
<babonk> end
Xeago has joined #ruby
banjara has quit [Quit: Leaving.]
<waxjar> dankest, may i ask what are you're trying to do?
Nick|laptop has joined #ruby
khimera has joined #ruby
dmiller has quit [Remote host closed the connection]
<slash_nick> dankest: you'd wanna pass the instance in to ObjectB.new(clone_from: ObjectA.new).... define what to do with a clone_from object in the classes initialize method
elaptics is now known as elaptics`away
<slash_nick> babonk: make it set an instance variable instead... @page ?
LucidDreamZzZ has joined #ruby
joeycarmello has joined #ruby
<slash_nick> man i'm full of typos today... they just opened a "World of Beer" in town, and sheesh...
lampe2 has quit [Ping timeout: 246 seconds]
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
alex__c2022 has joined #ruby
mikepack has quit [Remote host closed the connection]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
peneconleche is now known as peneconleche|awa
samphippen has joined #ruby
chimkan__ has joined #ruby
chimkan__ has quit [Remote host closed the connection]
chimkan___ has joined #ruby
cardoni has joined #ruby
lampe2 has joined #ruby
moos3 has quit [Remote host closed the connection]
alx- has joined #ruby
mikepack has joined #ruby
horrror has joined #ruby
chimkan has quit [Ping timeout: 255 seconds]
chimkan___ is now known as chimkan
dankest has quit [Quit: Linkinus - http://linkinus.com]
cakehero has quit [Quit: Computer has gone to sleep.]
bricker has joined #ruby
<roger_padactor> so I'm using an api that returns a hash and I tried bla["total"] didn't work then i tried bla[:total] and it worked. what is the difference?
jeffreybaird has joined #ruby
banjara has joined #ruby
_mdp_ has joined #ruby
dmiller has joined #ruby
Zai00 has quit [Quit: Zai00]
freakazoid0223 has joined #ruby
seich is now known as Seich
Xeago_ has quit [Ping timeout: 246 seconds]
GowGuy47 has quit [Remote host closed the connection]
cakehero has joined #ruby
<slash_nick> try bla.with_indifferent_access["total"]
moos3 has joined #ruby
banisterfiend has joined #ruby
<slash_nick> speaking of... with_indifferent_access should be a ! method...
<banisterfiend> slash_nick: the rule is '!' methods only have a right to exist if there's a corresponding non-! method
<slash_nick> so... should "have a" instead of should "be a"
jimeh has quit [Quit: Computer has gone to sleep.]
<banisterfiend> slash_nick: huh?
ryanf has quit [Ping timeout: 252 seconds]
* slash_nick wishes Hash#with_indifferent_access! had existence
ananthakumaran has quit [Quit: Leaving.]
<banisterfiend> slash_nick: ah ok, what would that do different tot a #with_indifferent_access (without the !) ?
tobinharris has quit [Quit: tobinharris]
<slash_nick> it would call #with_indifferent_access, i suspect... would modify the hash it's called on
<slash_nick> Doesn't Hash have indifferent access by default now?
dmerrick_ has joined #ruby
chimkan___ has joined #ruby
iamvery has joined #ruby
mrsolo has joined #ruby
lampe2 has quit [Quit: Leaving.]
ryanf has joined #ruby
ryanf has quit [Client Quit]
viktor has joined #ruby
viktor is now known as Guest47553
lampe2 has joined #ruby
rippa has quit [Ping timeout: 260 seconds]
dmerrick has quit [Ping timeout: 244 seconds]
bricker has quit [Quit: Lost terminal]
jonathanwallace has joined #ruby
chimkan has quit [Ping timeout: 265 seconds]
chimkan___ is now known as chimkan
benlieb has joined #ruby
classix has quit [Ping timeout: 248 seconds]
obryan has joined #ruby
dmerrick_ has quit [Ping timeout: 246 seconds]
icole has joined #ruby
Tearan_ has joined #ruby
Tearan has quit [Read error: Connection reset by peer]
Tearan_ is now known as Tearan
wermel has quit [Remote host closed the connection]
bricker has joined #ruby
k610 has quit [Ping timeout: 260 seconds]
margle has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
gbchaosmaster has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
Paradox has quit [Read error: Operation timed out]
cakehero has quit [Quit: Computer has gone to sleep.]
nwertman has quit [Ping timeout: 244 seconds]
braoru has joined #ruby
ryannielson has joined #ruby
bricker has quit [Quit: Lost terminal]
adambeynon has joined #ruby
Vainoharhainen has joined #ruby
nwertman has joined #ruby
blazes816 has joined #ruby
Paradox has joined #ruby
marr has quit [Ping timeout: 252 seconds]
allyraza has quit [Ping timeout: 246 seconds]
<ner0x> What's the most common email string validator?
<ner0x> email_validator seems heavily downloaded. Just wondering what user-experience dictates.
ejnahc has quit [Remote host closed the connection]
ejnahc has joined #ruby
cascalheira has quit [Quit: Leaving...]
Nimsical has joined #ruby
Aiur has quit [Quit: Computer has gone to sleep.]
xclite has quit [Remote host closed the connection]
Aiur has joined #ruby
Vainoharhainen has quit [Quit: Leaving...]
mathie has quit [Quit: Sleeping...]
gridaphobe has joined #ruby
d2dchat has quit [Remote host closed the connection]
ryanf has joined #ruby
ryanf has quit [Client Quit]
arturaz has joined #ruby
<waxjar> ner0x: just make sure it has an @ and a ., imo.
Tearan has quit [Quit: Sleepy Badger....]
classix has joined #ruby
pu22l3r has quit [Remote host closed the connection]
Spaceboy has joined #ruby
pigoz is now known as tHeOrRoRRR
aaronmacy has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
tHeOrRoRRR is now known as pigoz
horrror has quit [Read error: Connection reset by peer]
chrismcg is now known as zz_chrismcg
bbttxu has joined #ruby
axl_ has quit [Quit: axl_]
jimeh has joined #ruby
horrror has joined #ruby
guns has quit [Quit: guns]
jrajav has joined #ruby
tyfighter has quit [Quit: tyfighter]
ctwiz has joined #ruby
ctwiz is now known as dpg
pu22l3r has joined #ruby
<ner0x> waxjar: first.name@com
<waxjar> in order, of course :p
ebouchut has joined #ruby
cardoni has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has quit [Ping timeout: 252 seconds]
shevy has quit [Ping timeout: 246 seconds]
<waxjar> something like this: /\S+@\S+\.\S+/
jackbrownhf has quit [Quit: Sto andando via]
gridapho` has joined #ruby
matrixise has joined #ruby
gridaphobe has quit [Ping timeout: 240 seconds]
gridapho` is now known as gridaphobe
iamvery has quit [Remote host closed the connection]
cascalheir has joined #ruby
gbchaosmaster has quit [Ping timeout: 260 seconds]
berserkr has quit [Quit: Leaving.]
iamvery has joined #ruby
Nick|laptop has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 244 seconds]
iamvery has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 246 seconds]
joeycarmello has joined #ruby
manizzle has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
bronson has joined #ruby
arya has joined #ruby
walbert has quit [Remote host closed the connection]
fumbe has joined #ruby
xclite has joined #ruby
shevy has joined #ruby
iamvery has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rakm has quit [Read error: Connection reset by peer]
werdnativ has joined #ruby
Nimsical has quit [Ping timeout: 250 seconds]
Guest30882 has quit [Quit: Guest30882]
walbert has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
snearch has joined #ruby
FredLe has quit [Quit: Leaving.]
Morkel has quit [Quit: Morkel]
mneorr has quit [Remote host closed the connection]
mikepack has joined #ruby
pcarrier has joined #ruby
slainer68 has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
iamjarvo1 has quit [Quit: Leaving.]
timonv has joined #ruby
xyzodiac has joined #ruby
babonk_ has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
babonk has quit [Ping timeout: 260 seconds]
babonk_ is now known as babonk
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
nomenkun has joined #ruby
mneorr has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
ikaros_ has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
ikaros has quit [Ping timeout: 260 seconds]
cirwin has joined #ruby
ikaros has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
jlast has quit [Remote host closed the connection]
rakm has quit [Max SendQ exceeded]
jds_ has joined #ruby
philcrissman has quit [Remote host closed the connection]
rakm has joined #ruby
ikaros has quit [Read error: Connection reset by peer]
rakm has quit [Max SendQ exceeded]
ikaros has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
Uranio has quit [Quit: WeeChat 0.3.8]
ikaros_ has quit [Ping timeout: 260 seconds]
freakazoid0223 has quit [Quit: Leaving]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
horrror has quit [Quit: horrror]
Nick|laptop has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
jlast has joined #ruby
theRoUS has quit [Ping timeout: 260 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
havenn has quit [Read error: Connection reset by peer]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
danneu has quit [Quit: WeeChat 0.3.8]
buibex has joined #ruby
havenn has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
kil0byte has quit [Ping timeout: 255 seconds]
gbchaosmaster has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
snearch has quit [Quit: Verlassend]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
dmiller has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
originale has quit [Ping timeout: 246 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
chussenot has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
chussenot has quit [Client Quit]
tvw has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
jrist-afk is now known as jrist
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
lampe2 has quit [Quit: Leaving.]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
aetcore has quit [Quit: aetcore]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
zz_chrismcg is now known as chrismcg
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
jackbrownhf has quit [Quit: Sto andando via]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
lampe2 has joined #ruby
joeycarmello has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
jeffreybaird has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
eldariof has quit []
aetcore has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
manizzle has joined #ruby
joeycarmello has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
Paradox has quit [Ping timeout: 252 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
iamvery has quit [Remote host closed the connection]
F1skr has quit [Quit: WeeChat 0.3.9.2]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
BadLarry has quit [Ping timeout: 264 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
BadLarry has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
dmiller has joined #ruby
peneconleche|awa has quit [Quit: Leaving...]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
aruntomar has quit [Ping timeout: 252 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
braoru has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
haxrbyte has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
iamvery has joined #ruby
tyfighter has joined #ruby
haxrbyte has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
haxrbyte has joined #ruby
iamvery has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
ffranz1 has joined #ruby
rakm has joined #ruby
methoddk is now known as coasterd
rakm has quit [Max SendQ exceeded]
coasterd is now known as coaster
coaster is now known as coasterd
coasterd is now known as coasterD
rakm has joined #ruby
ffranz has quit [Ping timeout: 250 seconds]
cirwin has quit [Ping timeout: 264 seconds]
pu22l3r_ has joined #ruby
SCommette has quit [Read error: Connection reset by peer]
SCommette_ has joined #ruby
SCommette_ has quit [Client Quit]
iamvery has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
ffranz has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
jonathanwallace has joined #ruby
jds_ has quit [Remote host closed the connection]
BrokenCog has joined #ruby
ffranz1 has quit [Ping timeout: 264 seconds]
<BrokenCog> hello. I'm a bit confused by documentation on String.scan. given: str = "aoeu!ththt!89798!" I would like to str.scan("!") { |token| puts token } and have three passes through the loop with aoeu then snth then 9798 ... what should I use other than scan??
ryannielson has left #ruby [#ruby]
<BrokenCog> *aoeu then thth then 9798 ... but hopefully you get the idea.
<BrokenCog> when I run str.scan("!"), I get an array => ["!", "!", "!", "!"]
timonv has quit [Remote host closed the connection]
burgestrand has joined #ruby
<BrokenCog> which I don't even see how that is remotely helpful. If I use regex: then str.scan(/.*!/) gives: => ["nmap!-F!-O!192.168.2.254!"]
<BrokenCog> which isn't really much more help as that is the string I gave it ...
SCommette has joined #ruby
iamjarvo has joined #ruby
<BrokenCog> anyway, if anyone can point me to a link which shows an example of tokenizing in ruby, I'd like to read it ...
iamvery has quit [Remote host closed the connection]
<BrokenCog> Split. Okay. I see said the blind carpenter when he picked up his hammer and saw.
Virunga has joined #ruby
<ged> BrokenCog: You can use String#split to split the string up on '!', or if you want to consume them incrementally instead of building a big array:
<ged> > "aoeu!ththt!89798!".scan( /(.*?)!/ )
<ged> => [["aoeu"], ["ththt"], ["89798"]]
Paradox has joined #ruby
krawchyk_ has quit [Remote host closed the connection]
IrishGringo has joined #ruby
<BrokenCog> ged: thanks, that's what was getting me crazy - I tried /(.*)!/ I'll try with the ?.
timonv has joined #ruby
foohey has quit [Quit: Quitte]
<BrokenCog> ged: so, why exactly is the ? needed? I don't quite see what role it has.
<ged> BrokenCog: That's a non-greedy match. :)
<BrokenCog> how are the results from .split("!") any different from .scan(/(.*?)!/) are they intended to be the same?
cakehero has joined #ruby
zommi has quit [Quit: Leaving.]
Tref has quit [Quit: Tref]
<ged> BrokenCog: It's an array of strings instead of an array of arrays of strings, but other than that, String#scan is useful if you want to scan incrementally.
<ged> E.g., if you're reading it in from a socket or something.
<BrokenCog> ah. right. wasn't looking at that. thanks.
bricker has joined #ruby
<ged> Or if you have a more complex pattern.
<BrokenCog> right.
marr has joined #ruby
<BrokenCog> i'm only doing one level of matching, so split is the ticket here.
<ged> Yeah, seems like. :)
kirun has joined #ruby
<BrokenCog> once I have the items between the delimiter, I'm using them as patterns to match in a seperate string. Perhaps I don't even need to tokenize the first string... I'd like to do ...
<ged> To elaborate on non-greedy: '*' by default consumes as much as it can; adding a '?' makes it consume as little as it can and still be a match.
<BrokenCog> I see.
aetcore has quit [Ping timeout: 260 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
mathie has joined #ruby
beiter has quit [Quit: beiter]
<BrokenCog> I'm trnig to match parts of strings and ignore interm characters ... "criteria1 blab blah foo criteria2".matches("criteria1 criteria2") ... only way I see it is to break up the compare string and check each token in the original string to see if it is present.
mikepack has quit [Ping timeout: 246 seconds]
<BrokenCog> I'm using a compare string of "criteria1!criteria2" as a way of embedding wild cards.
<ged> Yeah, seems like you're on the right track, then.
dpg has quit [Quit: dpg]
joeycarmello has quit [Remote host closed the connection]
<ged> By wildcard you mean 'criteria*!somethingelse' would match both criteria1 and criteria2?
jlwestsr has joined #ruby
LucidDreamZzZ has quit [Remote host closed the connection]
<BrokenCog> yes, I'm just keeping the data entry a bit simpler by not explicitly needing the *
<BrokenCog> and assuming it.
Xeago has joined #ruby
<BrokenCog> the pattern is the data entry portion, the strings are auto generated.
<ged> Ah, gotcha.
<BrokenCog> so trying to manually create a pattern, then find data which matechs.
<BrokenCog> seems like re-inventing a wheel...
LucidDreamZzZ has joined #ruby
mengu has joined #ruby
arya has quit [Read error: Connection reset by peer]
arya has joined #ruby
benlieb has quit [Quit: benlieb]
haxrbyte has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
slainer68 has joined #ruby
<BrokenCog> ged: one other question, how do I negate =~ ?? is it !~ ??
mikepack has joined #ruby
rjmt___ has joined #ruby
<gbchaosmaster> BrokenCog: Yep, it's !~
slainer68 has quit [Ping timeout: 240 seconds]
Goles_ has joined #ruby
<BrokenCog> thanks.
cirwin has joined #ruby
iamvery has joined #ruby
Virunga has quit [Remote host closed the connection]
xyzodiac has joined #ruby
Goles has quit [Ping timeout: 244 seconds]
bricker has quit [Quit: Lost terminal]
jonathanwallace1 has joined #ruby
emergion has joined #ruby
jonathanwallace has quit [Ping timeout: 264 seconds]
tenmilestereo has quit [Quit: Leaving]
zigomir has joined #ruby
<BrokenCog> bbl. thanks again for the help.
BrokenCog has quit [Quit: leaving]
Dreamer3 has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
arya has quit [Ping timeout: 244 seconds]
emergion has quit [Client Quit]
adambeynon has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
<kandinski> I'm posting issues to a ruby project but I'm not sure of the notation. Is it ok to refer to a class::method?
answer_42 has quit [Ping timeout: 248 seconds]
<kandinski> or should I use class.method?
<banisterfiend> kandinski: is it an instance method or a class method?
<kandinski> ah, good question
<banisterfiend> if it's an instance method using: Class#method
seanstickle has joined #ruby
<banisterfiend> use*
<banisterfiend> if it's a class method use: Class.method
<kandinski> hmm, what is the difference in definition and invocation? it's defined with a regular 'def parse_metadata(xml)' and invoked with 'parse_metadata(xml)'
emergion has joined #ruby
bradhe has quit [Remote host closed the connection]
<banisterfiend> kandinski: Yeah
* kandinski googles for ruby cheatsheets
<banisterfiend> kandinski: what language do you come from?
<kandinski> python
andrewhl has quit [Remote host closed the connection]
<banisterfiend> well that aspect is pretty much the same as python
<banisterfiend> except ruby methods don't reuqire parentheses
aetcore has joined #ruby
rhys_ is now known as rhys
Tearan has joined #ruby
<kandinski> well, normally in Python classmethods are decorated with a @classmethod, which makes sure the function is bound to the class object, not to the instance object
joshman_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
twopoint718 has quit [Ping timeout: 252 seconds]
joshman_ has joined #ruby
<seanstickle> We just do def self.foo
<kandinski> ah, right. So instance methods here. Thanks a lot.
poisonarms has quit [Ping timeout: 244 seconds]
theRoUS has quit [Ping timeout: 246 seconds]
poisonarms has joined #ruby
nemesit|osx has joined #ruby
xnm has joined #ruby
sailias has quit [Quit: Leaving.]
maletor has quit [Quit: Computer has gone to sleep.]
[Neurotic] has joined #ruby
cmarques_ has quit [Ping timeout: 264 seconds]
s0ber_ has joined #ruby
nemesit has quit [Ping timeout: 250 seconds]
nemesit|osx has quit [Client Quit]
nemesit has joined #ruby
jonathanwallace1 has quit [Ping timeout: 240 seconds]
igro has quit [Quit: Computer has gone to sleep.]
s0ber has quit [Ping timeout: 248 seconds]
s0ber_ is now known as s0ber
Tearan has quit [Quit: Sleepy Badger....]
io_syl has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
cakehero has joined #ruby
RudyValencia has quit [Quit: Hacked by Chinese]
doritostains has joined #ruby
maletor has joined #ruby
cakehero has quit [Max SendQ exceeded]
emmanuelux has joined #ruby
bricker has joined #ruby
cakehero has joined #ruby
h8R has quit [Ping timeout: 246 seconds]
cakehero has quit [Max SendQ exceeded]
hsbt is now known as hsbt_away
elico has quit [Quit: elico]
Nimsical has joined #ruby
ryanf has joined #ruby
arturaz has quit [Remote host closed the connection]
jds_ has joined #ruby
geekbri has quit [Remote host closed the connection]
Zai00 has joined #ruby
workmad3 has joined #ruby
Zai00 has quit [Client Quit]
alx- has quit [Quit: alx-]
emergion has quit [Quit: Computer has gone to sleep.]
jarred_ has joined #ruby
Nimsical has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
Nick|laptop has quit [Ping timeout: 264 seconds]
h4mz1d has joined #ruby
madhatter has quit [Remote host closed the connection]
aaronmacy has quit [Quit: Leaving.]
mikepack has quit [Remote host closed the connection]
pu22l3r_ has quit [Ping timeout: 260 seconds]
moshee has quit [Ping timeout: 244 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
qb has joined #ruby
Arafangion has quit [Ping timeout: 248 seconds]
mark_locklear has quit [Remote host closed the connection]
jrajav has quit [Quit: I tend to be neutral about apples]
bricker has quit [Quit: Lost terminal]
<qb> is there a way to get net::http to close a connection after reading x bytes?
obryan has quit [Quit: Konversation terminated!]
bbttxu has quit [Quit: bbttxu]
monkegjinni has joined #ruby
muloka has quit []
Guest47553 has quit [Ping timeout: 245 seconds]
lampe2 has quit [Remote host closed the connection]
pyr0commie has joined #ruby
igro has joined #ruby
philcrissman has joined #ruby
lolcathost has quit [Ping timeout: 255 seconds]
<waxjar> qb: conn.read(x); conn.close ?
igro has quit [Read error: Connection reset by peer]
dmiller has quit [Remote host closed the connection]
pkrnj has joined #ruby
jgarvey has quit [Quit: Leaving]
cascalheir has quit [Quit: Linkinus - http://linkinus.com]
jonathanwallace1 has joined #ruby
adrian has joined #ruby
adrian is now known as Guest19638
doritostains has quit [Read error: Connection reset by peer]
dcope is now known as MeTD
viktor has joined #ruby
mneorr has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 252 seconds]
viktor is now known as Guest38266
mikepack has joined #ruby
slainer68 has joined #ruby
mneorr has joined #ruby
preller has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
MeTD is now known as dcope
h4mz1d has quit [Ping timeout: 260 seconds]
joeycarmello has joined #ruby
arya has joined #ruby
h4mz1d has joined #ruby
willob has quit [Ping timeout: 260 seconds]
joeycarmello has quit [Ping timeout: 246 seconds]
pyreal has joined #ruby
yaymukund has joined #ruby
xastion has joined #ruby
<yaymukund> dumb question. I've got a script in /usr/local/bin that's getting big. I'd like to split it up into multiple files that require one another. Where should those files live?
seanstickle has quit [Quit: seanstickle]
_nitti has quit [Remote host closed the connection]
brandon|work has joined #ruby
<yaymukund> am I just describing a gem with a CLI?
flip_digits has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<eka> yaymukund: you can check this... http://guides.rubygems.org/make-your-own-gem/
<yaymukund> eka: thanks
<eka> yaymukund: that will give you the dir structure to start
<eka> yaymukund: I don't mean that you should make a gem... but that's an example on how to organize things
matrixise has quit [Ping timeout: 240 seconds]
<yaymukund> eka: gotcha
phantasm66 has quit [Quit: *sleeeep….]
emergion has joined #ruby
Xeago has quit [Remote host closed the connection]
Synthead has joined #ruby
matrixise has joined #ruby
L1 has joined #ruby
danneu has joined #ruby
Naeblis has quit [Ping timeout: 260 seconds]
jslowe has joined #ruby
artm has quit [Quit: artm]
Goles_ has quit [Remote host closed the connection]
ner0x has quit [Quit: Leaving]
jgn has quit [Quit: Lost terminal]
nemesit has quit [Quit: Leaving...]
yaymukund has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 260 seconds]
lkba has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
mmitchell has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
adamnbowen has joined #ruby
zigomir has quit [Quit: zigomir]
jharris has quit [Quit: WeeChat 0.3.8]
nomenkun has quit [Remote host closed the connection]
robustus has quit [Quit: ZNC - http://znc.in]
mathie has quit [Ping timeout: 240 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
benlieb has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
emergion has quit [Ping timeout: 250 seconds]
brianpWins has quit [Client Quit]
tommyvyo_ has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
brianpWins has joined #ruby
chrismcg is now known as zz_chrismcg
medik has joined #ruby
apeiros_ has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
ikaros has quit [Quit: Ex-Chat]
juri_over90001 has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
stopbit has quit [Quit: Leaving]
alanp_ has joined #ruby
elico has joined #ruby
juri_over9000 has quit [Ping timeout: 252 seconds]
macabre has quit [Remote host closed the connection]
jonathanwallace1 has quit [Read error: Connection reset by peer]
lkba has joined #ruby
jonathanwallace1 has joined #ruby
aaronmacy has joined #ruby
timonv has quit [Remote host closed the connection]
alex__c2022 has quit [Quit: alex__c2022]
nari has joined #ruby
wookiehangover has quit [Ping timeout: 264 seconds]
jrist is now known as jrist-afk
<kandinski> how does bundler pick up the ruby I have selected with rbenv? I have a gem problem that I think comes from `bundle install` installing gems on the system instead of in the project
alanp has quit [Ping timeout: 264 seconds]
generalissimo has quit [Remote host closed the connection]
dmiller has joined #ruby
ddd has quit [Ping timeout: 245 seconds]
adamnbowen has quit [Quit: Textual IRC Client: www.textualapp.com]
arya has quit [Ping timeout: 244 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
elico has quit [Client Quit]
dobbymoo` has quit [Read error: Connection reset by peer]
<kandinski> rbenv shims shows shims for erb, gem, irb, rake, rdoc, ri, ruby and testrb, but not for bundler
wookiehangover has joined #ruby
Zolrath has joined #ruby
uxp_ has quit [Read error: Connection reset by peer]
uxp has joined #ruby
dobbymoo` has joined #ruby
<havenn> kandinski: You could use a gem like rbenv-bundler or switch to a Ruby version manager like chruby that is smarter than shims :P https://github.com/postmodern/chruby
h4mz1d has quit [Ping timeout: 260 seconds]
arya has joined #ruby
Naeblis has joined #ruby
xcvd`` has joined #ruby
reset has joined #ruby
<kandinski> havenn, I'm trying to follow the instructions here: https://github.com/runemadsen/Magic-Book-Project
g-ram has quit [Quit: Computer has gone to sleep.]
<kandinski> havenn: I'm using Ubuntu 12.04, and it seems to me that rbenv doesn't quite manage to pre-empt system paths, or something like that
<kandinski> indeed, something's not taking
<havenn> kandinski: You can point chruby at your existing rbenv-installed Rubies. Otherwise, not sure.
<atmosx> ubuntu!!!!
<kandinski> havenn: thanks. Will look at rbenv-bundler and chruby
igro has joined #ruby
Tearan has joined #ruby
P4P4jUL137 has joined #ruby
Virunga has joined #ruby
reset has quit [Read error: Connection reset by peer]
dmiller has quit [Remote host closed the connection]
P4P4jUL137 has quit [Client Quit]
P4P4jUL137 has joined #ruby
P4P4jUL137 has quit [Client Quit]
_alejandro has quit [Remote host closed the connection]
xcvd`` has quit [Quit: Leaving]
emmanuelux has quit [Quit: emmanuelux]
arya has quit [Ping timeout: 255 seconds]
slash_nick has quit [Quit: Lost terminal]
buibex has quit [Ping timeout: 246 seconds]
Axsuul has joined #ruby
Guest___ has joined #ruby
Nisstyre-laptop has joined #ruby
jjang has joined #ruby
monkegjinni has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 240 seconds]
samphippen has joined #ruby
philcrissman has quit [Remote host closed the connection]
arya has joined #ruby
jonahR has quit [Quit: jonahR]
jlast has quit [Remote host closed the connection]
iamvery has quit [Remote host closed the connection]
jlast has joined #ruby
buibex has joined #ruby
nerd is now known as fire_wall
Daman has joined #ruby
king313 has quit [Quit: Saliendo]
Solnse has quit [Ping timeout: 252 seconds]
g-ram has joined #ruby
lenovodroid has joined #ruby
Slivka has joined #ruby
Shadow_S has joined #ruby
ner0x has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
andrewhl has joined #ruby
joeycarmello has joined #ruby
elico has joined #ruby
Axsuul has quit [Ping timeout: 256 seconds]
elico has quit [Client Quit]
hsbt_away is now known as hsbt
DrShoggoth has quit [Quit: Leaving]
_nitti has joined #ruby
manizzle is now known as WeLoveCP
WeLoveCP is now known as manizzle_
jlwestsr has quit [Ping timeout: 246 seconds]
tommyvyo_ has joined #ruby
ner0x has quit [Quit: Leaving]
mathie has joined #ruby
theRoUS has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
hiroyuki has quit [Remote host closed the connection]
hiroyuki has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo_ is now known as tommyvyo
BoomCow has left #ruby ["Leaving"]
brianpWins has quit [Quit: brianpWins]
apeiros_ has quit [Remote host closed the connection]
jimeh has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
lenovodroid has quit [Ping timeout: 252 seconds]
undersc0re97 has quit [Quit: Leaving]
<kandinski> would you mind taking a look at: http://paste.lisp.org/display/134080? an error on the console says "asciidoc not found", but then the sinatra exception says that asciidoc is running in the right location, only getting a nil object where it shouldn't
nat2610 has quit [Quit: Leaving.]