Topic for #ruby is now Ruby programming language || ruby-lang.org || RUBY SUMMER OF CODE! rubysoc.org/ || Paste >3 lines of text in http://pastie.org || Para a nossa audiencia em portugues http://ruby-br.org/
devdazed [devdazed!~russ_nyc@cpe-74-66-233-162.nyc.res.rr.com] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.215.155] has joined #ruby
<robert_> hmm
<robert_> so anyone here have any experience with ruby-odbc (especially iODBC or UnixODBC?)
<robert_> er
<robert_> so anyone here have any experience with ruby-odbc (especially iODBC or UnixODBC)?
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
hakunin [hakunin!~hakunin@ool-1892c27e.dyn.optonline.net] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@adsl-65-3-161-18.mia.bellsouth.net] has joined #ruby
symb0l [symb0l!~symb0l@cpe-24-27-107-175.tx.res.rr.com] has joined #ruby
davidcelis [davidcelis!~david@c-67-169-13-95.hsd1.ca.comcast.net] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@adsl-65-3-161-18.mia.bellsouth.net] has joined #ruby
kaneda [kaneda!~kaneda@5acb1c98.bb.sky.com] has joined #ruby
<yfeldblum> ahammond, you should write that function (or find a third-party library that has such functions already)
lusory [lusory!~bart@bb115-66-195-54.singnet.com.sg] has joined #ruby
wilmoore [wilmoore!~wilmoore@70-89-165-49-ISTS-co.hfc.comcastbusiness.net] has joined #ruby
<ahammond> yfeldblum: I was assuming some 3rd party already had written it. However I'm a ruby-noobie, so I was hoping for a pointer to it.
rpowell [rpowell!~rpowell@CPE-124-187-174-110.lns16.cht.bigpond.net.au] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-216-97.mcn.bellsouth.net] has joined #ruby
randym [randym!~randym@EM114-48-11-29.pool.e-mobile.ne.jp] has joined #ruby
randym_ [randym_!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
Kamakura [Kamakura!Kamakura@218-215-12-35.people.net.au] has joined #ruby
<Kamakura> sup people
zakwilson [zakwilson!~quassel@184-77-16-81.gar.clearwire-wmx.net] has joined #ruby
<Kamakura> is there anyone replying here??
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
Ruby_Newbie [Ruby_Newbie!~Ruby_Newb@wnpgmb1316w-ds01-236-238.dynamic.mtsallstream.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
<Ruby_Newbie> Greetings! What is the IRB command to list all attributes of an instance?
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
<Kamakura> no humans?
<Ruby_Newbie> I am a human
Ruby_Newbie [Ruby_Newbie!~Ruby_Newb@wnpgmb1316w-ds01-236-238.dynamic.mtsallstream.net] has quit [#ruby]
<Kamakura> awesome
nricciar [nricciar!~nricciar@64.207.62.66] has joined #ruby
<Kamakura> why is no one chatting
<Kamakura> its dead
Kamakura [Kamakura!Kamakura@218-215-12-35.people.net.au] has quit [#ruby]
jackhammer2022 [jackhammer2022!~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
gen0cide_ [gen0cide_!~Security@Wilkins3.static.monkeybrains.net] has joined #ruby
symb0l [symb0l!~symb0l@cpe-24-27-107-175.tx.res.rr.com] has joined #ruby
<robert_> anyone have a bit to help me figure out why my ruby isn't working as expected?
<burgestrand> robert_: this is a very inactive hour of this channel, but ask your actual questions and you might get an answer anyway
<robert_> I've noticed that, burgestrand :p
<robert_> okay.
<burgestrand> ;)
MUILTR [MUILTR!~MLINTH@adsl-98-80-216-97.mcn.bellsouth.net] has joined #ruby
wedtm [wedtm!~wedtm@173-12-163-78-oregon.hfc.comcastbusiness.net] has joined #ruby
<robert_> for some reason, http://pastie.org/3080372 gives me, 'parts:["HKEY_ROOT", "Configuration", "RACK", "Server Port"] tmp_path:[] my_path:[]'
<burgestrand> that is a lot of code to look through :p
<burgestrand> … and a very odd indentation scheme, first time seeing block arguments on their own line
<robert_> ah. I guess I'm just odd. :p
<burgestrand> it’s way too much code for me to sift through at this time, can’t you try to shrink the code to produce a failing example?
<burgestrand> why are you defining the methods in the initialize-method?
<robert_> I haven't converted it to a lambda yet
bugz^ [bugz^!~bugz@mx01.skyalpha.net] has joined #ruby
<robert_> because I don't care about using that anywhere else
<burgestrand> As it is now you might as well just put it outside, there’s no difference apart from that it won’t be defined until initialize is called
<robert_> okay
<burgestrand> It’ll be available on all instances of Registry if you call #initialize even once
<robert_> oh, I see.
talman [talman!~talman@41.239.2.196] has joined #ruby
<burgestrand> And since it’s a method defined with ”def“ it has its’ own scope so you can’t access `filename` either
<robert_> oh, I see. I could just make it private, then.
<burgestrand> Sure, if that’s what you want to be, right now it isn’t though :p
<robert_> :p
<robert_> yeah
talman [talman!~talman@41.239.2.196] has quit [#ruby]
banisterfiend [banisterfiend!~baniseter@115.189.200.187] has joined #ruby
<RubyPanther> when it is too expensive for NY, you have a problem
<davidcelis> lolol
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
<davidcelis> Pivotal Labs lol
<RubyPanther> for $2800 I want some MDs with an osmosis machine
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
<davidcelis> Kfir Shay pretty much hit the nail on the head
<davidcelis> You can learn RoR easily for free
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
<burgestrand> $2800, six weeks, how many hours per day?
<robert_> burgestrand: http://codepad.org/ArpNqs1k
<robert_> probably old ruby ver
<RubyPanther> With books and modafanil you can study 24 hours a day.
<burgestrand> robert_: now we’re talking, and yes, old ruby version, each_with_object is 1.9 :)
<burgestrand> I’ll see if I can run it
<robert_> alright
<robert_> yeah you don't need the file I/O part
<robert_> I do for obvious reasons :p
<burgestrand> robert_: so what’s it supposed to do, Registry#[]?
<robert_> yeah
<robert_> depending on whether the end is a key or value, it returns "the right thing"
<burgestrand> robert_: so what should the example print instead of Path does not exist?
<robert_> Server Port is supposed to be a value
<robert_> it should print like, 9000 or whatever the Server Port is set to
<burgestrand> robert_: in the code you gave there is no Server Port though, where should the value come from?
a|i [a|i!~ali@unaffiliated/ai/x-9091534] has joined #ruby
<robert_> you can stick a "Server Port" => 9000 in HKEY_ROOT\Configuration\RACK
<banisterfiend> burgestrand: hello burg
<burgestrand> banisterfiend: mornin :)
<banisterfiend> burgestrand: what's the dilly
<banisterfiend> burgestrand: did your parents get you that ipad or car you wanted for xmas
<banisterfiend> :P
<burgestrand> banisterfiend: trying to understand what robert_ wants :p
<burgestrand> banisterfiend: heh you saw that song too, eh?
<robert_> hiii banisterfiend :D
<banisterfiend> robert_: sup pig
<burgestrand> robert_: so, if the path except for the last segment is a hash, look up a key in that hash, is that what the code’s supposed to do?
<burgestrand> robert_: or should it be recursive, and basically traverse the path?
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
<robert_> it should try and traverse the path
<burgestrand> I think I get it now
<robert_> because I could give it a typo somewhere along the way or typo in the registry
<robert_> it should give me an exception if the path is not found
<robert_> otherwise give me the registry key and/or value
<robert_> similar to how the Windows registry is supposed to work, only I don't need the bullshit
<robert_> it's just a simple hierarchy
pen [pen!~pen@140.112.30.129] has joined #ruby
conor_ireland [conor_ireland!~conor_ire@89.100.121.49] has joined #ruby
<burgestrand> so, split the path on \\, and then try to traverse it as good as possible
<robert_> yeah
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby
<robert_> but inside .each_with_object(), tmp_path, my_path and thePath are empty- what gives?
Jonah11_ [Jonah11_!~Jonah@adsl-98-93-170-174.owb.bellsouth.net] has joined #ruby
<burgestrand> robert_: why do you have a stray "part" at the bottom of the block? line 45
apok [apok!~apok@96.24.67.22] has joined #ruby
silky [silky!~silky@pool-74-108-142-22.nycmny.fios.verizon.net] has joined #ruby
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
banister_ [banister_!~baniseter@115.189.225.181] has joined #ruby
<robert_> because part is one of the arguments to .object_with_each() lol
<burgestrand> robert_: each_with_object does not use return value of the block for anything, inject/reduce does however
tobym [tobym!~tobym@12.181.143.2] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
<robert_> oh. okay.
<robert_> so I don't need it there
<robert_> but then why are tmp_path and my_path coming up nil?
<burgestrand> very confusing when you call it thePath and then call it my_path somewhere else :p
<burgestrand> hm, you also build the path from the bottom, where you should probably build it by trying to match the longest path possible and then reducing
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
<burgestrand> hm, naw, nvm, bad idea, should sleep :p
clockwize [clockwize!~clockwize@host86-183-150-72.range86-183.btcentralplus.com] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
jonathan___ [jonathan___!~jonathan@121.33.112.125] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
* shevy puts the pillow on burgestrand.
<burgestrand> robert_: I played a bit with it just for fun, figured you might as well have it before I go to sleep: http://codepad.org/fMO53CSt
<burgestrand> robert_: simplified it a bit, http://codepad.org/O7Xaj8kc
<burgestrand> anyhow, now sleep, 'nite :)
baniseterfiend` [baniseterfiend`!~baniseter@115.189.58.255] has joined #ruby
pen [pen!~pen@140.112.30.129] has joined #ruby
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
Hanmac1 [Hanmac1!~hanmac@p5084520B.dip0.t-ipconnect.de] has joined #ruby
pppoe_dude [pppoe_dude!~pppoe_dud@unaffiliated/blimpdude] has joined #ruby
Guest50754 [Guest50754!~kaneda@5acb1c98.bb.sky.com] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
h4mz1d [h4mz1d!~hamfz@adsl-072-148-022-091.sip.bhm.bellsouth.net] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.207.71] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-203.cinci.res.rr.com] has joined #ruby
bonhoffer [bonhoffer!~Tim@pool-98-110-200-125.bstnma.fios.verizon.net] has joined #ruby
banisete_ [banisete_!~baniseter@122.63.247.250] has joined #ruby
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
mcpierce [mcpierce!~mcpierce@99-178-171-244.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
Guest26322 [Guest26322!~kaneda@5acb1c98.bb.sky.com] has joined #ruby
ziggles [ziggles!~ziggles@c-24-6-247-92.hsd1.ca.comcast.net] has joined #ruby
devdazed [devdazed!~russ_nyc@cpe-74-66-233-162.nyc.res.rr.com] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@122.63.247.250] has joined #ruby
<robert_> baniseterfiend`: hai. not much. being tired and full. and working on this code still, lol
<robert_> :D
<baniseterfiend`> robert_: go to sleep little man
<robert_> hah, I'll do that after I finish this :p
banisete_ [banisete_!~baniseter@122.63.247.250] has joined #ruby
Kamoi [Kamoi!Kamoi@71-10-80-225.dhcp.roch.mn.charter.com] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
byronb [byronb!~byron@71-217-25-131.tukw.qwest.net] has joined #ruby
<jackhammer2022> modafanil hmm
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
akem [akem!~akem@164.15.85.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@adsl-98-93-170-174.owb.bellsouth.net] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
mksm [mksm!~mksm@201.20.236.65.user.ajato.com.br] has joined #ruby
v0n [v0n!~v4n@vpn.touchtunes.com] has joined #ruby
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
Wroathe [Wroathe!~Wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
radic_ [radic_!~radic@dslb-094-216-254-176.pools.arcor-ip.net] has joined #ruby
<Wroathe> Hey guys. I'm having some problems with Nokogiri. In a loop of table cells I have td being passed in and td.css('p')[0].content keeps telling me method content doesn't exist for nilClass (or something like that)
sgaedu [sgaedu!~ar@masq61.gtn.ru] has joined #ruby
<Wroathe> I've verified that td.css('p')[0] is a XML::Element
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
<Wroathe> And if I do td.css('p')[0].to_s I can see the contents of what I want
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
Guest68249 [Guest68249!Guest68249@201.20.236.65.user.ajato.com.br] has joined #ruby
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
tehgeekmeister [tehgeekmeister!~tehgeekme@174-21-18-113.tukw.qwest.net] has joined #ruby
tyman [tyman!~tyman@173-12-219-189-Fresno.hfc.comcastbusiness.net] has joined #ruby
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
<Wroathe> Anyone here use Nokogiri before?
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
<abstrusenick> :page => :new, with the 1.9 new hash syntax, it will look like page: :new, in't that ugly?
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
<rippa> abstrusenick: don't use it for symbols then
<abstrusenick> its rather inconsistent when you mix them up
Gm4n [Gm4n!~Gm4n@unaffiliated/gm4n] has joined #ruby
incluye [incluye!~Adium@208.102.195.210] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.197.198] has joined #ruby
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
<Gm4n> I'm using datamapper, and having issues with a property :sample, Enum[:foo,:bar]. I'm getting "no such file to load -- dm-types/enum (LoadError)"
<Gm4n> where do I start trying to diagnose this?
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
jiji [jiji!~AndChat@186.69.184.115] has joined #ruby
<jiji> Hi
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
otters [otters!~incluye@208.102.195.210] has joined #ruby
counterbeing [counterbeing!~textual@c-24-4-206-189.hsd1.ca.comcast.net] has joined #ruby
russfrank [russfrank!~asdf@ool-44c0b5f6.dyn.optonline.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
banisete_ [banisete_!~baniseter@115.189.197.198] has joined #ruby
ksinkar [ksinkar!~ksinkar@117.195.102.77] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
djacobs_ [djacobs_!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.223.191] has joined #ruby
banisete_ [banisete_!~baniseter@115.189.195.1] has joined #ruby
symb0l [symb0l!~symb0l@cpe-24-27-107-175.tx.res.rr.com] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
rpowell [rpowell!~rpowell@101.161.13.135] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.236.170] has joined #ruby
trivol [trivol!~aurelien@81.57.175.21] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
skipper [skipper!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
rpowell [rpowell!~rpowell@101.161.13.135] has joined #ruby
rvmeier [rvmeier!~rodrigo@pc-72-166-86-200.cm.vtr.net] has joined #ruby
operant108 [operant108!~tdevol@c-69-181-26-39.hsd1.ca.comcast.net] has joined #ruby
<operant108> Does anyone know an alternative for the following to make a require work in both 1.9 and 1.8.7 ? gist.github.com/1526544 ?
banisete_ [banisete_!~baniseter@115.189.106.29] has joined #ruby
pen [pen!~pen@2001:288:1001:28:980d:3816:eb87:13f1] has joined #ruby
ryanf [ryanf!~revfitz@adsl-67-117-145-203.dsl.snfc21.pacbell.net] has joined #ruby
<heftig> operant108: i believe those two statements aren't even the same thing
<heftig> operant108: require_relative requires relative to the source file, while the other one depends on "." (the current working directory) to be in $:, which might not even be the location of the source file
baniseterfiend` [baniseterfiend`!~baniseter@122.63.146.35] has joined #ruby
nonotza [nonotza!~nonotza@adsl-65-8-164-251.mia.bellsouth.net] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
imbric [imbric!~chris@ool-44c180cb.dyn.optonline.net] has joined #ruby
gothicsouth [gothicsouth!~gothicsou@74-131-113-235.dhcp.insightbb.com] has joined #ruby
pppoe_dude [pppoe_dude!~pppoe_dud@69-165-147-2.dsl.teksavvy.com] has joined #ruby
pppoe_dude [pppoe_dude!~pppoe_dud@unaffiliated/blimpdude] has joined #ruby
mksm_ [mksm_!Guest68249@201.20.236.65] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.216.82] has joined #ruby
ghosTM55 [ghosTM55!~user@li279-245.members.linode.com] has joined #ruby
tehgeekmeister [tehgeekmeister!~tehgeekme@174-21-18-113.tukw.qwest.net] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.32.187] has joined #ruby
tyler [tyler!~tyman@173-12-219-189-Fresno.hfc.comcastbusiness.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@12.204.177.3] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
<operant108> Well, i guess I should ask.. In 1.8.7, since "." was in the load paths, when i ran "bundle exec rspec spec/path/to_spec.rb" .. my spec would only have to have "require 'lib/thelib'" ... in 1.9.2, that no longer works.. looking for the best practices replacement... i found require_relative... what would the preferred method of including a tested library in a spec in 1.9.2
matthewC [matthewC!~mattcampb@c-24-63-27-64.hsd1.ma.comcast.net] has joined #ruby
luckyruby [luckyruby!~luckyruby@125-187.96-97.tampabay.res.rr.com] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
<Tasser> operant108, $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) in your spec setup file
<Tasser> operant108, and use require_relative to require that one
<operant108> exactly what I was looking for! .. thank you
<operant108> except.. require_relative won't work in 1.8.7 ,, so i can't get away from if RUBY_VERSION ?
otakutom_ [otakutom_!~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #ruby
<Tasser> operant108, defined?(require_relative)
<operant108> I could also just "require './spec/spec_helper.rb'"
luxurymode [luxurymode!~luxurymod@pool-108-29-15-244.nycmny.fios.verizon.net] has joined #ruby
<Tasser> that won't work if you call ruby from somewhere else than the toplevel dir of your project
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has quit ["Leaving"]
otakutomo [otakutomo!~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #ruby
<Hanmac1> 1.8 could die painfuly
<operant108> surely there is some sort of best practice for releasing gems whose tests will run in both versions
theRoUS [theRoUS!~KenCoar@12.204.177.3] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
JohnBat26 [JohnBat26!~Eugene@89.175.77.90] has joined #ruby
jackhammer2022 [jackhammer2022!~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #ruby
mengu_ [mengu_!~mengu@unaffiliated/mengu] has joined #ruby
<operant108> so .. after checking out a few gems.. paperclip, devise, .. there is apparently no standard means.. most use $: or $LOAD_PATH, some use << some use unshift.. just about all patch in library to the load paths using expand path or File.join .. all do this in spec_helper and just do "require 'spec_helper'" from the spec
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
krz [krz!~foobar@175.139.73.204] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
init[1] [init[1]!~dlevel@shellium/member/buffer] has joined #ruby
knix [knix!~jcm@packetpan.org] has joined #ruby
knix [knix!~jcm@unaffiliated/knix] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
knix [knix!~jcm@unaffiliated/knix] has quit [#ruby]
<init[1]> hi, well this may be a noobie question. What ruby IDE do you prefer and why ?
<Hanmac> i use gedit for small and eclipse for big stuff
init[1] [init[1]!~dlevel@shellium/member/buffer] has joined #ruby
<operant108> init[1]: rubymine if I want a full fledged IDE.. for many ruby programmers, textmate, vim and emacs are standards
<Gm4n> vim ftw =)
<operant108> ex: thoughbot just released a screencast on vim on rails, peepcode offers several screencasts on vim (as well as a few for textmate).. having used rubymine heavily for some time.. It is indeed quite delicious in terms of language features, but is quite weak in text editing power
<operant108> ex.. rubymine allows you to cmd+click any method and jump to its definition .. it also has refactoring tools and an excellent git integration .. but it stinks at text editing
daniel_hinojosa [daniel_hinojosa!~danno@67-0-103-21.albq.qwest.net] has joined #ruby
heeton [heeton!~heeton@5acc7cef.bb.sky.com] has joined #ruby
devdazed_ [devdazed_!~russ_nyc@cpe-74-66-233-162.nyc.res.rr.com] has joined #ruby
thone_ [thone_!~thone@g225084022.adsl.alicedsl.de] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
phantomfake [phantomfake!~whats_in_@pool-71-190-229-236.nycmny.fios.verizon.net] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
[1]Cody [[1]Cody!~Cody@80.249.82.205] has joined #ruby
gmg85 [gmg85!~chatzilla@41.80.10.66] has joined #ruby
maquis [maquis!~maquis@c-67-168-18-46.hsd1.wa.comcast.net] has joined #ruby
mafolz [mafolz!~mafolz@dhcp50-210.start.uni-saarland.de] has joined #ruby
tehgeekmeister [tehgeekmeister!~tehgeekme@174-21-18-113.tukw.qwest.net] has joined #ruby
counterbeing [counterbeing!~textual@c-24-4-206-189.hsd1.ca.comcast.net] has joined #ruby
counterbeing [counterbeing!~textual@c-24-4-206-189.hsd1.ca.comcast.net] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
aantix [aantix!~jjones@70-36-141-115.dsl.dynamic.sonic.net] has joined #ruby
shevy [shevy!~shevy@188-23-92-162.adsl.highway.telekom.at] has joined #ruby
Nanuq [Nanuq!~nanuq@cave45.ecks.ca] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@122.63.143.204] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@122.63.143.204] has joined #ruby
linduxed [linduxed!~linduxed@194-14-0-85.serioustubes.org] has joined #ruby
p1d [p1d!~p1d@tmo-102-168.customers.d1-online.com] has joined #ruby
Nanuq [Nanuq!~nanuq@cave45.ecks.ca] has joined #ruby
operant108 [operant108!~tdevol@c-69-181-26-39.hsd1.ca.comcast.net] has quit [#ruby]
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
andreime [andreime!~andrei-ci@82.79.96.20] has joined #ruby
_srp [_srp!~quassel@115.99.249.182] has joined #ruby
Barakas [Barakas!~v@77.242.201.52] has joined #ruby
azbarcea_ [azbarcea_!~quassel@79.118.6.138] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
nonotza [nonotza!~nonotza@adsl-65-8-164-251.mia.bellsouth.net] has joined #ruby
libertyp1ime [libertyp1ime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
libertyp1ime [libertyp1ime!~libertypr@182.236.125.102] has joined #ruby
Kambus [Kambus!~kambus@62-77-250-96.pool.invitel.hu] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
googya [googya!74e61195@gateway/web/freenode/ip.116.230.17.149] has joined #ruby
<googya> no body?
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
pi3r [pi3r!~pi3r@LSt-Amand-152-32-39-189.w80-11.abo.wanadoo.fr] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
robinhoode [robinhoode!~robinhood@71.23.244.254] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
d3c [d3c!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.221.242] has joined #ruby
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
dv_ [dv_!~quassel@chello080108009040.14.11.vie.surfer.at] has joined #ruby
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby
jbhewitt [jbhewitt!~jbhewitt@c122-108-214-224.rochd4.qld.optusnet.com.au] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
p1d [p1d!~p1d@tmo-102-168.customers.d1-online.com] has joined #ruby
CodyMaverick [CodyMaverick!~cody@80.249.82.205] has joined #ruby
Time2303 [Time2303!~Time2303@118-93-178-100.dsl.dyn.ihug.co.nz] has joined #ruby
marcol [marcol!~marcol@ppp-220-3.26-151.libero.it] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
araujo [araujo!~araujo@190.73.44.29] has joined #ruby
araujo [araujo!~araujo@gentoo/developer/araujo] has joined #ruby
nicoulaj [nicoulaj!~nicoulaj@122.158.13.109.rev.sfr.net] has joined #ruby
jensn [jensn!~Jens@90-229-211-15-no150.tbcn.telia.com] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
jay_zawr1tny [jay_zawr1tny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
libertyp1ime [libertyp1ime!~libertypr@182.236.125.102] has joined #ruby
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
vjacob [vjacob!~vjacob@87.61.170.233] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@122.63.145.243] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
crodas [crodas!~crodas@git.crodas.org] has joined #ruby
devdazed_ [devdazed_!~russ_nyc@cpe-74-66-233-162.nyc.res.rr.com] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
unda7V7erse [unda7V7erse!~unda7V7er@sto95-5-78-237-254-52.fbx.proxad.net] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@2001:5c0:1000:a::54b] has joined #ruby
aBound [aBound!~levy@cpe-76-169-9-64.socal.res.rr.com] has joined #ruby
vicvicvic [vicvicvic!~victor@c213-89-97-43.bredband.comhem.se] has joined #ruby
tk_ [tk_!~tk@p252198.doubleroute.jp] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@122.63.230.196] has joined #ruby
rpowell [rpowell!~rpowell@101.161.13.135] has joined #ruby
virunga [virunga!~virunga@151.64.58.65] has joined #ruby
banisete_ [banisete_!~baniseter@122.63.165.60] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby
tomasantonj [tomasantonj!~Adium@c213-89-112-209.bredband.comhem.se] has joined #ruby
johanhsfy [johanhsfy!~johan@164.247.241.83.in-addr.dgcsystems.net] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.38.223] has joined #ruby
<andreime> what does something like params.merge!(...) do?
<andreime> nevermind, documentation is king once you get to it :)
sgronblo [sgronblo!~sgronblom@61.121.210.2] has joined #ruby
banisete_ [banisete_!~baniseter@115.189.101.137] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@115.189.206.171] has joined #ruby
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
marcol [marcol!~marcol@adsl-ull-231-194.50-151.net24.it] has joined #ruby
geaif [geaif!~geaif@AToulouse-554-1-47-145.w92-149.abo.wanadoo.fr] has joined #ruby
<geaif> hi
geaif [geaif!~geaif@AToulouse-554-1-47-145.w92-149.abo.wanadoo.fr] has joined #ruby
elliot98 [elliot98!~elliot@IGLD-84-229-15-130.inter.net.il] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
mfridh [mfridh!~RokSteady@pdpc/supporter/active/roksteady] has joined #ruby
elliot98 [elliot98!~elliot@unaffiliated/elliot98] has joined #ruby
<ereslibre> hi guys. help with this ? http://paste.kde.org/178670/, on the FIXME part, i need to call to the "super" which is the old definition of the method. not too many faith. take into account that the first definition of module A cannot be modified, I need to rewrite "test" method, adding some stuff and then calling to the old implementation. is this even possible ?
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
_srp [_srp!~quassel@115.99.249.182] has joined #ruby
niklasb [niklasb!~codeslay0@p5B31094F.dip0.t-ipconnect.de] has joined #ruby
everyman_ [everyman_!~yuri@cm-1180.europronet.ba] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
hzlocky [hzlocky!~me@dynamic-vpdn-87-252-255-39.telecom.by] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
alek_b [alek_b!~alek_b@99-10-120-63.lightspeed.sndgca.sbcglobal.net] has joined #ruby
ph^_ [ph^_!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
ksinkar_ [ksinkar_!~ksinkar@117.195.107.65] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
punkrawkR [punkrawkR!~freddiebo@80.68.120.179.karlsborgsenergi.se] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
yellow5_ [yellow5_!~yellow5@levicole.xen.prgmr.com] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
spyvspy [spyvspy!~none@108-82-153-117.lightspeed.stlsmo.sbcglobal.net] has joined #ruby
nicoulaj [nicoulaj!~nicoulaj@122.158.13.109.rev.sfr.net] has joined #ruby
bonhoffer [bonhoffer!~Tim@pool-98-110-200-125.bstnma.fios.verizon.net] has joined #ruby
bugz^ [bugz^!~bugz@mx01.skyalpha.net] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
bugz^ [bugz^!~bugz@mx01.skyalpha.net] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
PhilK [PhilK!~PhilK@2001:470:1f05:c99:21f:d0ff:fe84:e3ca] has joined #ruby
danielpunt [danielpunt!~danielpun@ip120-238-211-87.adsl2.static.versatel.nl] has joined #ruby
cousine [cousine!~cousine@41.32.101.235] has joined #ruby
dql [dql!~dql@58.38.85.71] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
danishman [danishman!~kvirc@0x5da0ec2a.cpe.ge-0-1-0-1104.ronnqu1.customer.tele.dk] has joined #ruby
rsenk3301 [rsenk3301!~Adium@108-81-12-178.lightspeed.milwwi.sbcglobal.net] has joined #ruby
[1]Kichael [[1]Kichael!~Kichael@70-36-49-167.dyn.novuscom.net] has joined #ruby
PhilK [PhilK!~PhilK@2001:470:1f05:c99:21f:d0ff:fe84:e3ca] has joined #ruby
peterwald [peterwald!~peterwald@174.46.144.3] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
Nss [Nss!~nss@95.239.219.77] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
siori_ [siori_!~siori@w0109-49-135-194-98.uqwimax.jp] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@187.114.208.220] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
robinhoode [robinhoode!~robinhood@71.23.244.254] has joined #ruby
Gm4n [Gm4n!~Gm4n@unaffiliated/gm4n] has joined #ruby
shevy [shevy!~shevy@188-23-92-162.adsl.highway.telekom.at] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
s33k [s33k!~shiva@223.235.245.36] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
impi [impi!~chatzilla@152.111.163.26] has joined #ruby
<impi> where's #rails?
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
<Tasser> impi, #rubyonrails
<impi> thank you kindly Sir
luckman212 [luckman212!~irc@pool-108-41-8-176.nycmny.fios.verizon.net] has joined #ruby
azbarcea [azbarcea!~quassel@79.118.6.138] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
danielpunt [danielpunt!~danielpun@ip120-238-211-87.adsl2.static.versatel.nl] has joined #ruby
s33k [s33k!~shiva@223.235.245.36] has quit ["Leaving"]
Synthead [Synthead!~max@50-10-52-145.gar.clearwire-wmx.net] has joined #ruby
oponder [oponder!~oponder@mail.memocom.nl] has joined #ruby
Synthead [Synthead!~max@50-10-52-145.gar.clearwire-wmx.net] has joined #ruby
`brendan [`brendan!~b@66-208-246-34-ubr02b-waldlk01-mi.hfc.comcastbusiness.net] has joined #ruby
devdazed_ [devdazed_!~russ_nyc@cpe-74-66-233-162.nyc.res.rr.com] has joined #ruby
Manhose [Manhose!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby
<`brendan> morning folks
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
gregorg_taf [gregorg_taf!~Greg@78.155.152.6] has joined #ruby
rsenk3301 [rsenk3301!~Adium@108-81-12-178.lightspeed.milwwi.sbcglobal.net] has quit [#ruby]
rsenk330 [rsenk330!~Adium@108-81-12-178.lightspeed.milwwi.sbcglobal.net] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
Hapz [Hapz!~def@bzq-160-168-31-110.red.bezeqint.net] has joined #ruby
Hapz [Hapz!~def@unaffiliated/ducch] has joined #ruby
<Hapz> any ideas why am i getting this?
silky [silky!~silky@pool-74-108-142-22.nycmny.fios.verizon.net] has joined #ruby
pen [pen!~pen@140.112.30.143] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
coderzach [coderzach!~zach@24-179-206-7.dhcp.stcd.mn.charter.com] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
flimmern [flimmern!~se@2001:67c:20a1:1108:6da8:e3d:9dec:c82b] has joined #ruby
<`brendan> Hapz, what does mkmf.log show?
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
mohits1 [mohits1!~mohit@115.113.153.226] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
parafrican [parafrican!9506a6d6@gateway/web/freenode/ip.149.6.166.214] has joined #ruby
S1kx [S1kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
pencilcheck [pencilcheck!~pen@wl065.cc.ntu.edu.tw] has joined #ruby
v0n [v0n!~v4n@2607:fad8:4:0:21e:8cff:fe4d:2f7d] has joined #ruby
<Hapz> nothing, it doesnt exist
pen [pen!~pen@wl065.cc.ntu.edu.tw] has joined #ruby
<shevy> LONG LIVE RUBY
pen_ [pen_!~pen@wl065.cc.ntu.edu.tw] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
notbrent [notbrent!~notbrent@186.85.88.56] has joined #ruby
<parafrican> I would like to train me to test but I'm not working on any project. Do you have ideas for simple application to run unit tests, integration tests and so on ?
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
pen [pen!~pen@140.112.30.143] has joined #ruby
<rothsa> http://guides.rubyonrails.org/testing.html if you haven't already been on this page it's a good place to start
<parafrican> rothsa: I'm just looking for a demo app that will help me to understand the process
<parafrican> rothsa: For example, I'm thinking about a very simple todo list
<parafrican> But it's not very exciting
<deryl> parafrican: buy The RSpec Book.
<deryl> it covers some of the unit testing, but rspec seems to be the standard now for testing (along with cucumber if you need higher level testing facilities)
<rothsa> or what deryl said. the link I gave you is pretty much the laziest way I've found to learn testing, it's not an app but it will walk you through
<deryl> and to see the differences between the two, (rspec and test::unit) take a gander at http://teachmetocode.com/articles/rspec-vs-testunit/
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
speggey [speggey!~speggey@62.95.122.142] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
p1d [p1d!~p1d@tmo-102-168.customers.d1-online.com] has joined #ruby
oponder [oponder!~oponder@i130041.upc-i.chello.nl] has joined #ruby
wingie [wingie!~wingie@c-5eeaaa34-74736162.cust.telenor.se] has joined #ruby
wingie [wingie!~wingie@c-5eeaaa34-74736162.cust.telenor.se] has quit ["WeeChat 0.3.5"]
<robert_> shevy :D
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
randym [randym!~randym@EM1-113-45-195.pool.e-mobile.ne.jp] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
Manhose [Manhose!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby
notbrent [notbrent!~notbrent@186.85.88.56] has joined #ruby
D3f0 [D3f0!~D3f0@www.transpa-sa.com.ar] has joined #ruby
Sailias [Sailias!~jonathan@s72-38-77-178.static.comm.cgocable.net] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
Nss [Nss!~nss@95.239.219.77] has joined #ruby
ebeard [ebeard!~ebeard@c-66-177-172-44.hsd1.fl.comcast.net] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
RaggedJack [RaggedJack!~raggedjac@cpe-069-134-173-212.nc.res.rr.com] has joined #ruby
devdazed [devdazed!~russ_nyc@static-96-239-59-191.nycmny.fios.verizon.net] has joined #ruby
esde [esde!jdekker@unaffiliated/esde] has joined #ruby
init[1] [init[1]!~dlevel@shellium/member/buffer] has joined #ruby
<init[1]> http://rubyspec.org/ is the the place to look for ruby language specification ?
<shevy> as much as that is available, sure
<shevy> but I am not sure official ruby has or follows any spec
oddraisin [oddraisin!~oddraisin@cactusgrove.net] has joined #ruby
<init[1]> or is there something called RLS like Java LS ?
cloudgeek [cloudgeek!~geek@59.177.56.225] has joined #ruby
<shevy> don't think there is really
fandejuni [fandejuni!~Thibault@ALyon-156-1-124-201.w86-216.abo.wanadoo.fr] has joined #ruby
<init[1]> alright shevy
caveat- [caveat-!hoax@gateway/shell/bshellz.net/x-nwikggtqeuymkkme] has joined #ruby
<fandejuni> Hello
<fandejuni> Can somebody help me in order to install RVM and Ruby 1.9.3 on mac OS X Lion ?
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
p1d [p1d!~p1d@dslb-084-063-158-061.pools.arcor-ip.net] has joined #ruby
rippa [rippa!~rippa@109-161-68-118.pppoe.yaroslavl.ru] has joined #ruby
jergason [jergason!~jergason@dsl-173-248-193-83.acanac.net] has joined #ruby
<fandejuni> Thanks, I will try this
<init[1]> fandejuni, $ brew install ruby
<ebeard> fandejuni: http://goo.gl/SziVL
flimmern [flimmern!~se@horizons.visitor.congress.ccc.de] has joined #ruby
se [se!~se@2001:67c:20a1:1108:9515:14be:5481:519b] has joined #ruby
p1d_ [p1d_!~p1d@dslb-084-062-141-125.pools.arcor-ip.net] has joined #ruby
gothicsouth [gothicsouth!~gothicsou@74-131-16-65.dhcp.insightbb.com] has joined #ruby
se [se!~se@95.211.99.68] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
tomasantonj [tomasantonj!~Adium@c213-89-112-209.bredband.comhem.se] has quit [#ruby]
<esde> Quick question, could someone be so kind as to help me with installing a module? I'm trying to start tinkering with Mysql and Ruby
<esde> I've downloaded the module, unzipped it, and executed "ruby extconf.rb" and it did some things, not sure what it did though as I don't know Ruby that well yet :/
ctp [ctp!~ctp@p4FC35006.dip.t-dialin.net] has joined #ruby
fandejuni [fandejuni!~Thibault@ALyon-156-1-124-201.w86-216.abo.wanadoo.fr] has quit [#ruby]
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
bonhoffer [bonhoffer!~Tim@pool-98-110-200-125.bstnma.fios.verizon.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.206.171] has joined #ruby
<Asher> are you familiar with gem install?
zbrown [zbrown!~zbrown@rufius.xen.prgmr.com] has joined #ruby
<shevy> esde if ruby works you can try "gem install <name>" however, your problem description isn't that helpful, because people won't know what went wrong, so they couldn't help you much.
enroxorz [enroxorz!~enroxorz@65-117-22-130.dia.static.qwest.net] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
Synthead [Synthead!~max@50-10-52-145.gar.clearwire-wmx.net] has joined #ruby
spyvsspy [spyvsspy!~nonenone@209.145.177.162] has joined #ruby
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby
chaddow [chaddow!~chaddow@173-161-238-6-Philadelphia.hfc.comcastbusiness.net] has joined #ruby
otters [otters!~incluye@208.102.195.210] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
<esde> I'm not familiar with gem install, this is what I'm trying to install/configure/work with http://www.tmtm.org/en/mysql/ruby/
<esde> So "Mysql" is a module, which in turn is a gem, and to install it i
<esde> use 'gem install xxx.tar.gz' or gem install /mysql-directory/'?
Hapz [Hapz!~def@unaffiliated/ducch] has quit [#ruby]
<Asher> no
<Asher> gems are ways of distributing ruby packages
<Asher> they provide modules and classes
rsenk330 [rsenk330!~Adium@108-81-12-178.lightspeed.milwwi.sbcglobal.net] has quit [#ruby]
Romance [Romance!~b@unaffiliated/yusuke] has joined #ruby
<esde> is the link I posted referring to a gem? or is there a gem 'version' of it? (I apologize for my obvious ignorance, but I assert that I truly want to gain a working knowledge of this language)
<Asher> ruby has a built in command line binary called gem that will install such things for you
<Asher> all you have to do is "gem install mysql"
<mfridh> esde: yum install ruby-mysql || apt-get install libmysql-ruby || gem install mysql
<Romance> Hello, is it compulsory to use indentation in Ruby like python?
dcolebatch [dcolebatch!~phelon@bas7-toronto01-1177859157.dsl.bell.ca] has joined #ruby
<Asher> no
gen0cide_ [gen0cide_!~Security@67-207-96-204.static.wiline.com] has joined #ruby
<Asher> we prefer flexibility to fascism
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
<Romance> Thanks Asher! Ruby pawned python !
<Romance> im newbie
<Romance> thx
<esde> the aptitude method I'm familiar with, how does ruby know where to look for "mysql"?
<mfridh> esde: man gem
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
dyer [dyer!~dyer@tesla.alkaloid.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
<esde> the package libmysql-ruby is saying lib-library mysql-is the module ruby-the language for which it's intended? is this the naming convention?
<enikar> esde: you have to install the required libraies on your system (mysql client or/and mysql server in your case).
chaddow [chaddow!~chaddow@173-161-238-6-Philadelphia.hfc.comcastbusiness.net] has joined #ruby
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
zakwilson_ [zakwilson_!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
<esde> ahh so mysql is considered a 'library'?
<enikar> the gem is just the way to access to mysql from ruby.
<esde> ok, thanks guys, you cleared up some questions that were stopping me :)
mikeycgto [mikeycgto!~mikeycgto@ool-4571cba8.dyn.optonline.net] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
yekta [yekta!~yekta@c-24-1-180-65.hsd1.il.comcast.net] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
<esde> When using this ruby http://pastebin.com/ZYx4zBK4 (Filled in with my corresponding credentials and database) I get this result http://pastebin.com/yagaW5cQ
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
samnang [samnang!~samnang@175.100.101.29] has joined #ruby
cousine [cousine!~cousine@196.218.42.9] has joined #ruby
ghanima [ghanima!~ghanima@alexander.nat.trb.com] has joined #ruby
matthewC [matthewC!~mattcampb@c-24-63-27-64.hsd1.ma.comcast.net] has joined #ruby
froy [froy!~troy@manuel.dublan.net] has joined #ruby
kenperkins [kenperkins!~textual@174-24-180-141.tukw.qwest.net] has joined #ruby
chaddow [chaddow!~chaddow@173-161-238-6-Philadelphia.hfc.comcastbusiness.net] has joined #ruby
eldariof [eldariof!~CLD@81.200.24.164] has joined #ruby
surfdue [surfdue!surfdue@unaffiliated/surfdue] has joined #ruby
gen0cide_ [gen0cide_!~Security@67-207-96-204.static.wiline.com] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
gen0cide_ [gen0cide_!~Security@67-207-96-204.static.wiline.com] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
netytan [netytan!~netytan@83-244-220-243.cust-83.exponential-e.net] has joined #ruby
decaf [decaf!~mehmet@unaffiliated/decaf] has joined #ruby
<netytan> Hi all. How would I execute a command and have that command's output go to the terminal (I'm trying to preserve the commands colored output)
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
cpruitt [cpruitt!~cpruitt@190-186.126-70.tampabay.res.rr.com] has joined #ruby
a|i [a|i!~ali@unaffiliated/ai/x-9091534] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
baroquebobcat [baroquebobcat!~nick@host-72-175-58-43.bln-mt.client.bresnan.net] has joined #ruby
llaskin [llaskin!~Leo@c-24-128-198-93.hsd1.ma.comcast.net] has joined #ruby
<llaskin> does anyonje know the maintainers of gem "ruby-debug-ide"?
matthewC [matthewC!~mattcampb@c-24-63-27-64.hsd1.ma.comcast.net] has joined #ruby
<deryl> llaskin: gem search ruby-debug-ide -dr
<deryl> will give you the info you need to include homepage, author name, and gem home
kf8a [kf8a!~kf8a@user-33c730.user.msu.edu] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
<robert_> shevy: sup
philcrissman_ [philcrissman_!~philcriss@206.57.45.116] has joined #ruby
<shevy> hey
<shevy> still coding in ruby?
ixti [ixti!~ixti@195.Red-81-36-5.dynamicIP.rima-tde.net] has joined #ruby
<robert_> yup
<robert_> still trying to fix this lol
<shevy> good good!
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
<sie> Do I have to # encoding: utf-8 in all the files or can I somehow specify it globallyt?
<robert_> yeah. still trying to work out what all's going on, lol
zaib32 [zaib32!jahanzaib3@27.255.41.106] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@adsl-98-93-170-174.owb.bellsouth.net] has joined #ruby
dfr|work [dfr|work!dfr|work@nat/google/x-aphtvwsysuvncccl] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
zaib32 [zaib32!jahanzaib3@27.255.41.106] has quit [#ruby]
BrianE [BrianE!~brian@87.115.115.247] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
cloudgeek [cloudgeek!~geek@59.177.56.225] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
ctp_ [ctp_!~ctp@2001:6f8:126f:1:225:bcff:fee1:c834] has joined #ruby
virunga [virunga!~virunga@151.64.58.65] has joined #ruby
thepix [thepix!~pix@91.193.160.242] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-103-21.albq.qwest.net] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
<shevy> sie I think you can only do this file specific
gen0cide_ [gen0cide_!~TigerBloo@67-207-96-206.static.wiline.com] has joined #ruby
<robert_> what about my issue? :p
unda7V7erse [unda7V7erse!~unda7V7er@sto95-5-78-237-254-52.fbx.proxad.net] has joined #ruby
<shevy> what issue
TheZanke [TheZanke!~Thezanke@c-67-173-97-185.hsd1.in.comcast.net] has joined #ruby
bier [bier!~bier@p54A5BBC3.dip.t-dialin.net] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
rwerewr [rwerewr!bd1d4159@gateway/web/freenode/ip.189.29.65.89] has joined #ruby
arvindravi [arvindravi!~arvind@115.184.11.197] has joined #ruby
josh [josh!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
<arvindravi> hi all,quick question from a beginner,my erb file has "<%= @doc.inspect=>" but instead of what it has to print,all it prints is a "#",am I doing it wrong?
<robert_> shevy: http://codepad.org/fMO53CSt -- burgestrand worked on that for me; however it's still coming up nil when I try quering "HKEY_ROOT\Configuration\RACK\Server Port" :/
marcol [marcol!~marcol@ppp-107-5.26-151.libero.it] has joined #ruby
<shevy> ok what I dont get in your code
<shevy> config = Registry.new("config")
<shevy> def initialize(filename)
<shevy> but filename is never used
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
<cloudgeek> any students registration or school registration app in rails that can integrate with active admin
e-dawg [e-dawg!~emiel@a83-160-117-229.adsl.xs4all.nl] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
atmosx [atmosx!~atmosx@79.103.249.127.dsl.dyn.forthnet.gr] has joined #ruby
knix__ [knix__!~jcm@packetpan.org] has joined #ruby
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-243-179.mcn.bellsouth.net] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
<cloudgeek> any suggestion for new bie ruby student project in student registration web service or school registration service
<cloudgeek> help assignment date is coming near plz any link
<Asher> you're asking for us to provide a link to a finished version of your school assignment?
DeeJayTwo [DeeJayTwo!~deejay2@office.abi.ca] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
lucas_ [lucas_!lucas@189.111.0.185] has joined #ruby
amerine [amerine!~mturner@bbb72-0-165-4.bendbroadband.com] has joined #ruby
<any-key> sounds reasonable
decaf [decaf!~mehmet@unaffiliated/decaf] has quit ["Leaving"]
tehgeekmeister [tehgeekmeister!~tehgeekme@sea02-v612-nat.marchex.com] has joined #ruby
Cervajz_ [Cervajz_!~Cervajz@93.99.93.150] has joined #ruby
SegFaultAX|work [SegFaultAX|work!~mkbernard@173.228.45.162] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-080-228-198-248.ewe-ip-backbone.de] has joined #ruby
<robert_> yeah because it's supposed to read from a file; I removed it at the behest of burgestrand
Araxia_ [Araxia_!~Araxia@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #ruby
arman [arman!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
voodoofish430 [voodoofish430!~mtorres@208.76.2.200] has joined #ruby
johanhsfy [johanhsfy!~johan@81-225-127-57-no201.tbcn.telia.com] has joined #ruby
Tuxi [Tuxi!~quassel@host-091-097-110-205.ewe-ip-backbone.de] has joined #ruby
hukl [hukl!~hukl@pdpc/supporter/professional/hukl] has joined #ruby
counterbeing [counterbeing!~textual@c-24-4-206-189.hsd1.ca.comcast.net] has joined #ruby
<llaskin> deryl: i've tried emailing, with no luck
TheIronWolf [TheIronWolf!~theironwo@208.90.215.35] has joined #ruby
<shevy> robert_ hmm always try to make the code as logical and as simple as possible at any time
ksinkar_ [ksinkar_!~ksinkar@115.241.237.219] has joined #ruby
<robert_> shevy: I was just responding to a complaint by burgestrand that including the filesysetm code was too much to read. that's all.
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
kenichi [kenichi!~kenichi@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
tvo [tvo!~tvo@5354CF57.cm-6-5d.dynamic.ziggo.nl] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
<shevy> well it's hard to try to find out what's going on when the first thing one looks at is confusing :)
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has quit [#ruby]
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has quit [#ruby]
<shevy> what I usually do is make many small methods that perform actions
<shevy> I try to make the code so dumb that I don't have to think about anything anymore
awesome [awesome!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
llaskin [llaskin!~Leo@c-24-128-198-93.hsd1.ma.comcast.net] has quit [#ruby]
eeadc [eeadc!fritz@2a01:4f8:101:2a3:0:bc28:b2a8:4] has joined #ruby
Synthead [Synthead!~max@50-10-52-145.gar.clearwire-wmx.net] has joined #ruby
nonotza [nonotza!~nonotza@ool-45727119.dyn.optonline.net] has joined #ruby
[-mX-] [[-mX-]!~mx@76-220-97-57.lightspeed.fyvlar.sbcglobal.net] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
flimmern [flimmern!~se@83.149.126.94] has joined #ruby
heeton [heeton!~heeton@5acc7cef.bb.sky.com] has joined #ruby
canton7 [canton7!~canton7@95.150.107.113] has joined #ruby
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
azbarcea [azbarcea!~quassel@79.118.6.138] has joined #ruby
segora [segora!~marc@p5DD0CBCF.dip.t-dialin.net] has joined #ruby
conor_ireland [conor_ireland!~conor_ire@89.100.121.49] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
gothicsouth [gothicsouth!~gothicsou@74-131-113-235.dhcp.insightbb.com] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
spinagon [spinagon!~rippa@95-86-252-45.pppoe.yaroslavl.ru] has joined #ruby
<robert_> shevy: how is that large?
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
johanhsfy [johanhsfy!~johan@81-225-127-57-no201.tbcn.telia.com] has joined #ruby
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
cousine [cousine!~cousine@41.32.101.235] has joined #ruby
tcurdt [tcurdt!~tcurdt@p5B03A217.dip.t-dialin.net] has joined #ruby
rippa [rippa!~rippa@95-86-252-45.pppoe.yaroslavl.ru] has joined #ruby
<robert_> RubyPanther: I heard about that.
<RubyPanther> People everywhere should either be in a huff over the prices, or else run their class.
<RubyPanther> or else run their own class.
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby
<kakashi_> is there a tutorial somewhere for installing gems on userspace?
<kakashi_> -ruby version 1.8.5
michaelh [michaelh!~Michael@c-98-213-112-209.hsd1.il.comcast.net] has joined #ruby
<RubyPanther> kakashi_: the problem is that a lot of gems expect a newer version of rubygems than can run on a ruby that old. Even 1.8.6 is getting really hard to run.
<kakashi_> uh!
RomD`` [RomD``!~Roman@nrbg-4dbe082a.pool.mediaWays.net] has joined #ruby
<kakashi_> RubyPanther, so the best way is to install latest ruby on userspace and then install ruby gems?
<RubyPanther> 1.8.7 still has some life, and gems installed with a current-ish rubygems if it is run as a regular user it goes into userspace
Paladin [Paladin!~paladin@p3m/member/Paladin] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
flebel [flebel!~flebel@dsl-67-204-52-89.acanac.net] has joined #ruby
yekta [yekta!~yekta@c-24-1-180-65.hsd1.il.comcast.net] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
<davidcelis> 1.8 needs to die
baniseer_ [baniseer_!~baniseter@122.63.232.54] has joined #ruby
Okasu_ [Okasu_!~1@host-190-95-155-206.manta.telconet.net] has joined #ruby
<robert_> heh
yekta [yekta!~yekta@c-24-1-180-65.hsd1.il.comcast.net] has joined #ruby
yekta [yekta!~yekta@c-24-1-180-65.hsd1.il.comcast.net] has joined #ruby
flebel [flebel!~flebel@dsl-67-204-52-89.acanac.net] has quit [#ruby]
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby
<cloudgeek> error in the ruby while programing from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
<cloudgeek> from /home/geek/MAINA_Society/config/boot.rb:6
<cloudgeek> from script/rails:5:in `require'
<cloudgeek> from script/rails:5
<cloudgeek>
<cloudgeek> help any body know what error is there
flebel [flebel!~flebel@dsl-67-204-52-89.acanac.net] has joined #ruby
<Okasu_> >require
<Okasu_> have you got a required gem?
<Okasu_> cloudgeek: ^
flebel [flebel!~flebel@dsl-67-204-52-89.acanac.net] has joined #ruby
manizzle [manizzle!~manizzle@dsl081-053-082.sfo1.dsl.speakeasy.net] has joined #ruby
<cloudgeek> Okasu:tell the name
<cloudgeek> Okasu:what is name of that gem
<Okasu_> no, you tell me
<cloudgeek> Okasu: okay try to get it
<Okasu_> how can i know what gem you missing?
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
<Okasu_> just look in boot.rb
<cloudgeek> Okasuu_:got that i need active admin
<esde> Is it best practice to install rvm through the project's website? or install through aptitude? or does it matter?
iulius [iulius!~iulius@adsl-74-160-98-148.asm.bellsouth.net] has joined #ruby
ipsifendus [ipsifendus!~edward@173-8-205-65-Oregon.hfc.comcastbusiness.net] has joined #ruby
<cloudgeek> Okasu_:thanks :)
stetho [stetho!~stetho@host86-179-193-189.range86-179.btcentralplus.com] has joined #ruby
flebel [flebel!~flebel@dsl-67-204-52-89.acanac.net] has quit [#ruby]
stetho [stetho!~stetho@host86-179-193-189.range86-179.btcentralplus.com] has quit [#ruby]
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.143] has joined #ruby
PhilK [PhilK!~PhilK@2001:470:1f05:c99:21f:d0ff:fe84:e3ca] has joined #ruby
aantix [aantix!~jjones@70-36-141-115.dsl.dynamic.sonic.net] has joined #ruby
<Okasu_> cloudgeek: yw :)
<cloudgeek> Okasu_: i am newbie in ruby , working for school assignment fro student registration , any link for that so , i can store the all infromation store in dtabse and later retrier it
mlue [mlue!~mlue@unaffiliated/mlue] has joined #ruby
<mlue> could anyone tell me what a module referred to with a preceding double colon means.
<mlue> oh, is that relative to the current module or something
<rippa> top level
<mlue> ohh
<mlue> that makes a ton of sense actually, thanks
sbanwart [sbanwart!~sbanwart@76.211.5.223] has joined #ruby
thepix1 [thepix1!~pix@91.193.160.245] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby
<mlue> thanks rippa
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
mX [mX!~mx@76-220-97-57.lightspeed.fyvlar.sbcglobal.net] has joined #ruby
RomD [RomD!~Roman@nrbg-4dbe082a.pool.mediaWays.net] has joined #ruby
geaif [geaif!~geaif@AToulouse-554-1-47-145.w92-149.abo.wanadoo.fr] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
jmuniz [jmuniz!~jmuniz@pool-74-101-79-38.nycmny.east.verizon.net] has joined #ruby
milkpost [milkpost!~dec@192.133.84.6] has joined #ruby
p1d [p1d!~p1d@ip-178-203-108-103.unitymediagroup.de] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
v2px [v2px!~v2px@c-base/crew/v2px] has joined #ruby
milkpost [milkpost!~dec@192.133.84.6] has joined #ruby
geaif [geaif!~geaif@AToulouse-554-1-47-145.w92-149.abo.wanadoo.fr] has joined #ruby
flimmern [flimmern!~se@2001:67c:20a1:1108:90b5:8644:1a9c:d2fc] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby
thepix [thepix!~pix@91.193.160.245] has joined #ruby
surfdue [surfdue!surfdue@unaffiliated/surfdue] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
Asher [Asher!~asher@98.158.127.150] has joined #ruby
colint_ [colint_!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
chaddow [chaddow!~chaddow@173-161-238-6-Philadelphia.hfc.comcastbusiness.net] has quit [#ruby]
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
adeponte [adeponte!~adeponte@108.0.36.150] has joined #ruby
jergason [jergason!~jergason@dsl-173-248-193-83.acanac.net] has joined #ruby
Okasu [Okasu!~okasu@s094127069016.m.truevds.ru] has joined #ruby
se [se!~se@2001:67c:20a1:1108:dca9:259c:a1f0:c9c7] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-242-148.mcn.bellsouth.net] has joined #ruby
tvw [tvw!~tv@e176005097.adsl.alicedsl.de] has joined #ruby
evan_luck [evan_luck!~evan_luck@74.7.230.93] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
Clooth [Clooth!~Clooth@GYKDCCCLXXXVIII.gprs.sl-laajakaista.fi] has joined #ruby
Synthead [Synthead!~max@173-165-179-126-atlanta.hfc.comcastbusiness.net] has joined #ruby
seivan [seivan!~seivan@c-db4171d5.1510-2-64736c10.cust.bredbandsbolaget.se] has joined #ruby
atmosx [atmosx!~textual@79.103.90.84.dsl.dyn.forthnet.gr] has joined #ruby
tvw [tvw!~tv@e176005097.adsl.alicedsl.de] has joined #ruby
flimmern [flimmern!~se@2001:67c:20a1:1108:b96e:c5f4:123:4381] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
Trevoke [Trevoke!~Trevoke@dsl081-023-098.nyc1.dsl.speakeasy.net] has joined #ruby
<Trevoke> Hey all, I'm working on a linked list (each is implemented with preorder tree traversal) and noticing different output when using each and 'p' versus 'puts'. What exactly is the difference between these two methods?
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has quit [#ruby]
frist44 [frist44!~frist44@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
<Trevoke> More specifically, list.each { |x| puts x } outputs the first node, and list.each { |x| p x } outputs one line for each node.
<Trevoke> oh snap! I think I found it. You all are wonderful rubber duckies. p returns the value and puts returns nil.
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
Time2303 [Time2303!~Time2303@118-93-178-100.dsl.dyn.ihug.co.nz] has joined #ruby
toxteth [toxteth!~toxteth@5ac38858.bb.sky.com] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
jMCg [jMCg!~hiro@apache/committer/igalic] has joined #ruby
theNatd [theNatd!~natd@89-138-152-135.bb.netvision.net.il] has joined #ruby
<jMCg> Hello happy people.
<atmosx> hello
<jMCg> I'm having trouble installing and uninstalling gems: http://sprunge.us/aISZ
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<jMCg> The trouble with installing can be seen here: http://dpaste.com/678742/
<Trevoke> jMCg: seems like a problem with, for lack of a better word, your toolchain.
symb0l [symb0l!~symb0l@cpe-24-27-107-175.tx.res.rr.com] has joined #ruby
<Trevoke> Bundler/rake
<jMCg> Trevoke: there's no mention of that in the error, so what gives you this impression?
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
<jMCg> I don't have bundler installed.
rpowell [rpowell!~rpowell@101.161.13.135] has joined #ruby
<Trevoke> Prior knowledge of a need for a new rdoc because the old one is deprecated/bad so it might actually fail to build documentation now (and isn't required / called the same way), as well as foggy memory of seeing this 'invalid blah blah gemspec blah blah' problem before
<Trevoke> jMCg: what version of rake do you have?
<jMCg> ii rake 0.8.7-2ubuntu1 a ruby build program
tilde[afk] [tilde[afk]!~tilde@host238-192-dynamic.12-79-r.retail.telecomitalia.it] has joined #ruby
<Trevoke> jMCg: oh god, oh god, it burns. I recommend you start using RVM.
<Trevoke> And bundler.
<Trevoke> Now, the reason why I say this: Ubuntu's packages are pretty outdated when it comes to the Ruby world.
<shevy> debian sucks
<jMCg> Is there any package that is not fucked up on Debuntu?
theNatd [theNatd!~natd@89-138-152-135.bb.netvision.net.il] has quit [#ruby]
<Trevoke> And... I am not willing to spend the time to try and figure out what exactly is going on within your system. I recommend you install RVM, use it to install one or more Rubies, and try again. When that's done, we'll be more able to help you.
<jMCg> I mean.. they have the bestest packaging system in the world - and the SUCKIEST packages.
<Trevoke> jMCg: I think ubuntu-desktop is not screwed up, and that's up for debate.
<jMCg> I build the entire webstack already.. What else should I build?
<shevy> jMCg when you use their package system, you are locked in to this scheme
<Trevoke> jMCg: to be fair, slow-moving packages like Apache work pretty well on Ubuntu.
<jMCg> Trevoke: /wi jMCg
<jMCg> 22:00:24 [freenode] -!- jMCg [~hiro@apache/committer/igalic]
<jMCg> They don't work for me. :)
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
<Trevoke> jMCg: Aaaand that's why I use Gentoo -- but this is the Ruby chatroom, so it's the wrong place to start a Distro Discussion.
<jMCg> o_<
<Trevoke> jMCg: so, back to your problem - I think it'll be easier to help you if you install RVM.
<jMCg> No, it's not.. but the first reply on all Stackoverflow questions so far was: This is how you use RVM.
<shevy> well RVM is better than to stay in a scheme that does not work :)
<jMCg> +1
<Trevoke> Did you mean to write 'This is why' ?
pen [pen!~pen@140.112.30.143] has joined #ruby
<shevy> Trevoke I think he replied to the sentence before that
<jMCg> Trevoke: nope;)
<jMCg> I don't know why, but.. JRuby just came to my mind as I've read that it's supposed to a performance beast.
<jMCg> brb, I'm been throw out of starbucks, they're closing.
<shevy> haha
<Trevoke> jMCg: jRuby was a performance beast before 1.9.0 came out. Now it's a little slower than these. Eyeballing, I think the performance is : 1.9.3 > 1.9.2 > jruby > rbx > ree > 1.8.7
Clooth [Clooth!~Clooth@GYKDCCCLXXXVIII.gprs.sl-laajakaista.fi] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby
surfdue [surfdue!surfdue@unaffiliated/surfdue] has joined #ruby
sbanwart [sbanwart!~sbanwart@76.211.5.223] has joined #ruby
stephans [stephans!~stephans@209.66.114.6] has joined #ruby
andreime [andreime!~andrei@188.24.73.142] has joined #ruby
<jMCg> re next door at Vapiano with wine instead of tea.
<jMCg> Trevoke: 1.8.7 being the slowest?
<Trevoke> jMCg: That ought to be accurate. You'll find plenty of benchmarks online if you're curious.
<jMCg> Now, the problem, from what I gather, with 1.9.x is that not everything works with it (Which is an euphemism for nothing works with it?)
<shevy> 1.9.x changed a few things
yekta_ [yekta_!~yekta@c-24-1-180-65.hsd1.il.comcast.net] has joined #ruby
<Trevoke> jMCg: That's not true anymore. I'd say that roughly 90% of the landscape works with the 1.9.x goggles
<shevy> it added the -> operator so ruby code that uses it on 1.9.x won't work on 1.8.x
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
se [se!~se@horizons.visitor.congress.ccc.de] has joined #ruby
<jMCg> shevy: I get not being backwards compatible with *new* features.. but you know.. old features.. that everyone used to use...
vjacob [vjacob!~vjacob@87.61.170.233] has joined #ruby
<jMCg> Anyway, I'll look into uninstalling Ruby -- if possible and installing RVM.
<jMCg> *sigh*
<shevy> jMCg most things should work just fine
<jMCg> I wish things were easy.
<shevy> there are a few different warnings
<jMCg> In addition to just working fine :)
<shevy> case when ...
<shevy> I think they disallowed "then" in those
<Trevoke> jMCg: don't worry about uninstalling Ruby. Just install RVM and stop using what it considers 'system Ruby'
<shevy> then it reports about multiple when clauses found... and it reports about circular require detected...
<jMCg> Trevoke: does that include rake?
<Trevoke> jMCg: on the other hand, definitely remove any Ubuntu packages like rake that you installed
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby
<jMCg> And rubygems.
<Trevoke> jMCg: yes, and rubygems.
<shevy> jMCg remember you either stay in the ubuntu scheme or you drop it entirely :)
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby
<Trevoke> shevy: case x \n when 5 then puts "haha" \n when 7 then puts "hoho" \n else puts "awww" \n end
andreime [andreime!~andrei@188.24.73.142] has joined #ruby
Tachyon [Tachyon!~tach@81.200.61.23] has joined #ruby
<shevy> Trevoke yeah not sure what changed, but I am sure something did between the two ruby versions
<shevy> perhaps it was the :
lolsuper_ [lolsuper_!~super_@unaffiliated/lolsuper-/x-9881387] has joined #ruby
<Trevoke> shevy: yeah, that's it
amerine [amerine!~mturner@bbb72-0-165-4.bendbroadband.com] has joined #ruby
Jay_Levitt [Jay_Levitt!~Jay_Levit@c-24-63-250-125.hsd1.ma.comcast.net] has joined #ruby
<yekta> Any idea why I'm getting NoMethodError Exception: undefined method `node_name' for nil:NilClass with cucumber webrat click_button? I do a show me the page and the button is there. I even give it the selector its within and still the same thing. The button is a normal f.submit "Create"
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
<yekta> oops, thought this was rails- sorry
<Jay_Levitt> Am I alone in frequently wishing for def Object.in?(container) container.include?(self) end
[-mX-] [[-mX-]!~mx@76-220-97-57.lightspeed.fyvlar.sbcglobal.net] has joined #ruby
<davidcelis> what?
<pigoz> Jay_Levitt: you are not alone
<davidcelis> can you elaborate on the point of that?
<pigoz> infact it's in activesupport's extensions in rails 3.1
<Jay_Levitt> pigoz: no way
<pigoz> yes way
<Jay_Levitt> davidcelis: production_like_environments = ['production, staging, demo']; if Rails.env.in?(production_like_environments) then something
<Jay_Levitt> it's semantically closer to what I mean than if production_like_environments.include?(Rails.env)
<davidcelis> ahh
<Jay_Levitt> That feels like "if 2 == var"
<davidcelis> so an alias
<bamboozle> gosh darnit davidcelis people saying your name highlights me
bamboozle [bamboozle!~david@watch.out.for.those.crafty.r0b0ts.org] has quit ["this is so INANE"]
<davidcelis> what
* Jay_Levitt thinks even my non-rails scripts are now going to rely on ActiveSupport
<davidcelis> why would that highlight you
<davidcelis> Jay_Levitt: me gusta
<shevy> just use an alias!
<shevy> oh
<Jay_Levitt> nope, it's inside out
<shevy> you mean you wanted it also reversed
<Jay_Levitt> yep
<Jay_Levitt> I think it comes from jumping back and forth between Ruby and SQL, where the syntax *is* IN [1,2,3]
<shevy> I think in LPC code, they make it a habit to query the environment of an object
<jMCg> I.. hate software... http://dpaste.com/678749/
<Jay_Levitt> ActiveSupport: facets for the rest of us
<davidcelis> why are you doing it that way, jMCg?
<davidcelis> Isn't it `rvm get head` ?
<jMCg> davidcelis: I have no idea. I should probably follow official documentation rather than a one-liner on Stackoverflow.
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
<Jay_Levitt> motto!
<davidcelis> yeah...
<davidcelis> Where in ActiveSupport is Object#in? defined?
<davidcelis> I'm trying to locate it in the docs
<jMCg> I... sorry. That's why I write documentation.. I just sometimes forget ;)
<Jay_Levitt> core_ext/object/inclusion.rb
baniseer`sleep [baniseer`sleep!~baniseter@115.189.253.119] has joined #ruby
<davidcelis> API Dock... ewww
<davidcelis> but thanks!
<pigoz> huge props for keeping the anime characters as examples xD
<Jay_Levitt> is there a better searchable doc?
<davidcelis> Jay_Levitt: The official one
<jMCg> pigoz: which Anime?
<Jay_Levitt> davidcelis: the new theme is kinda nice... i like ruby and rails on the same page tho
<davidcelis> Dang, lots of good methods added onto Object by Rails. http://api.rubyonrails.org/classes/Object.html
<pigoz> jMCg: Lucky Star
<Jay_Levitt> heywait, didn't present? used to be !nil?
<jMCg> pigoz: ACK.
<davidcelis> i'm glad it uses .blank? now
<davidcelis> no more checking for empty strings
cousine [cousine!~cousine@196.218.42.9] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
flagg0204 [flagg0204!~ianderson@sea02-v600-nat.marchex.com] has joined #ruby
<Jay_Levitt> yeah, it makes sense, just trying to think if I used it anywhere that'll break on 3.1
ngng [ngng!~ng@c-98-210-117-31.hsd1.ca.comcast.net] has joined #ruby
ezkl [ezkl!~ezkl@dynamic-acs-24-144-206-131.zoominternet.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@174-27-233-214.slkc.qwest.net] has joined #ruby
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
tcurdt [tcurdt!~tcurdt@p5B03A322.dip.t-dialin.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby
SpX [SpX!~spiksius@2001:0:53aa:64c:0:2ce9:2a1d:4cb7] has joined #ruby
nkbuff [nkbuff!~nkbuff@dslb-178-005-209-169.pools.arcor-ip.net] has joined #ruby
envygeeks [envygeeks!~envygeeks@pdpc/supporter/professional/envygeeks] has joined #ruby
<envygeeks> does net/http honor sub-status code like 404.1?
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.143] has joined #ruby
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby
mrapple [mrapple!~mrapple@bzextreme.com] has joined #ruby
mrapple [mrapple!~mrapple@bzflag/player/MrAppleComputer] has joined #ruby
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
<samuelkadolph> wtf is 404.1?
<samuelkadolph> Oh, IIS crap
<envygeeks> samuelkadolph yeah I was building a net/http wrapper, the question is moot now though because I'm gonna switch to a better http client
<samuelkadolph> I don't see how an http library would honour a 404. But I could imagine 404.1 would break most libraries since it's not valid HTTP.
QKO [QKO!~reaVer@banzai.speedxs.nl] has joined #ruby
<envygeeks> by honor it I mean just pass it to me like http.status == 404.1
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
<samuelkadolph> I wouldn't call that honouring
fantazo [fantazo!~fantazo@178-191-169-183.adsl.highway.telekom.at] has joined #ruby
<envygeeks> well in my head it would be honoring it because it wouldn't be adjusting it from a 404.1 to a 404 (like some http clients do)
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
<samuelkadolph> That's more likely because of how they parse the line and stop with the status when it hits a non digit character
Jake232 [Jake232!~textual@5e0e5f2e.bb.sky.com] has joined #ruby
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE0023be436752-CM0023be436750.cpe.net.cable.rogers.com] has joined #ruby
incluye [incluye!~Adium@208.102.195.210] has joined #ruby
incluye [incluye!~Adium@208.102.195.210] has joined #ruby
milkpost [milkpost!~dec@192.133.84.6] has joined #ruby
Evixion [Evixion!Evixion@67.235.68.96] has joined #ruby
jasdeepjaitla [jasdeepjaitla!~jasdeep@c-98-207-73-250.hsd1.ca.comcast.net] has joined #ruby
R3dy [R3dy!~rdavis@unaffiliated/r3dy] has joined #ruby
<R3dy> what is the easest way to do something every 30 seconds
<shevy> loop { sleep 30; do_something; }
<shevy> eh, forget the last ;
<R3dy> thanks
<samuelkadolph> Except that won't sleep for 30 if your process gets interrupted
jbc22 [jbc22!~jbc22@li299-64.members.linode.com] has joined #ruby
<jbc22> hey, i'm using csv to parse data, but get an illegal usage. i found out it's because of the quotes in the csv. i'd rather not strip them
<jbc22> is there a method to override ruby' csv lib to be ok with it?
yekta_ [yekta_!~yekta@c-24-1-180-65.hsd1.il.comcast.net] has joined #ruby
<jbc22> it looks like
<jbc22> "OpSystemCode","OpSystemName","OpSystemVersion","MfgCode"
<jbc22> "1","AIX","Generic","1006"
<jbc22> "10","Amstrad 6128","Unknown","1006"
<shevy> if they all have leading and ending " you could always add them back again :)
alanp_ [alanp_!~quassel@206-248-132-240.dsl.teksavvy.com] has joined #ruby
<jbc22> shevy: yeah, this is to populate a database that will be read by rails
<jbc22> shevy: and i'm a rails noob, and there's a lot of articles about sanitization of data, etc.
<shevy> x = [ "OpSystemCode","OpSystemName","OpSystemVersion","MfgCode" ]; x.map! {|_| '"'+_+'"'}
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby
<shevy> # => [""OpSystemCode"", ""OpSystemName"", ""OpSystemVersion"", ""MfgCode""]
<jbc22> ah, yeah, don't need the quotes in the db
<jbc22> shevy: i think i'll take your suggestion and just remove them
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
cloudgeek [cloudgeek!~geek@59.177.56.225] has joined #ruby
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
jarjar_prime [jarjar_prime!~mjarjoura@50-76-61-133-ip-static.hfc.comcastbusiness.net] has joined #ruby
jroes [jroes!~jroes@jroes.net] has quit [#ruby]
Evixion [Evixion!Evixion@67.235.68.96] has joined #ruby
conor_ireland [conor_ireland!~conor_ire@89.100.121.49] has joined #ruby
RomD` [RomD`!~Roman@nrbg-4d0d4f6d.pool.mediaWays.net] has joined #ruby
pen [pen!~pen@140.112.30.143] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
apok [apok!~apok@adsl-99-24-220-190.dsl.pltn13.sbcglobal.net] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
flagg0205 [flagg0205!~ianderson@sea02-v600-nat.marchex.com] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
Nss [Nss!~nss@95.239.219.77] has joined #ruby