Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
<andrewvos> shevy: Use twitter bootstrap or something
<andrewvos> ?
gasbakid__ [gasbakid__!~gasbakid@41.96.23.207] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
WillMarshall [WillMarshall!~willmarsh@ppp121-44-64-47.lns20.syd6.internode.on.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
jthomas_ [jthomas_!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
<Jake232> Whats the best way to escape a string?
<Jake232> eg: add a backslash before every ' or "
<jredville> Jake232: programatically, or while coding?
<Jake232> jredville: programmaticaly, it's for a SQL statement. But using prepared statements
<Jake232> isn't possible.
<Jake232> So I need to escape qoutes myself.
<Jake232> Is there a better than than just using gsub('"',"\'")
<jredville> [22] pry(main)> a = "ab'\"c"
<jredville> => "ab'\"c"
<jredville> [23] pry(main)> a.inspect
<jredville> => "\"ab'\\\"c\""
<jredville> (sorry for the mutlipaste)
<jredville> Jake232: is that helpful at all?
<jredville> i'm kinda guessing no, but figured i'd check
<Jake232> It would be, if the single qoute after the b had been escaped
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
<jredville> i guess if all else fails, go with the gsub, and improve your regex as needed
<heftig> Jake232: aren't your SQL bindings providing an escape method?
<Jake232> heftig: I'm using active record
<Jake232> but
<Jake232> 2 secs, I'll gist
<Jake232> May make it clearer, a single insert pure SQL, is wayyy faster than even a transaction
<Jake232> and it could be inserting thousands of records.
<Jake232> Can I even use that
<Jake232> Well
<Jake232> I can
<Jake232> But, hmm
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.46] has joined #ruby-lang
<Jake232> ActiveRecord::Base::quote_value(resp.response_header)
<Jake232> I think that might do it
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
tarcieri [tarcieri!~bascule@cryptosphere.org] has quit [#ruby-lang]
hagabaka [hagabaka!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
slyphon_ [slyphon_!~weechat@pool-96-224-232-158.nycmny.fios.verizon.net] has joined #ruby-lang
slyphon_ [slyphon_!~weechat@unaffiliated/slyphon] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
wimplash [wimplash!~Adium@96-29-74-60.dhcp.insightbb.com] has joined #ruby-lang
sinuc [sinuc!~sinuc@unaffiliated/sinuc] has joined #ruby-lang
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
darix [darix!darix@aura.nordisch.org] has joined #ruby-lang
darix [darix!darix@irssi/staff/darix] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
towski [towski!~towski@24.130.32.219] has joined #ruby-lang
mkscrg [mkscrg!~mkscrg@76-218-100-21.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
Marco [Marco!~marco@c-76-109-184-162.hsd1.fl.comcast.net] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby-lang
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
towski [towski!~towski@24.130.32.219] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
jredville [jredville!~james@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
tomzx_ [tomzx_!~tomzx@dsl-129-27.aei.ca] has joined #ruby-lang
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
<postmodern> hitting an odd bug in net/http, it's reading the body as the status_line
dous_ [dous_!~dous@cm171.sigma67.maxonline.com.sg] has joined #ruby-lang
gasbakid__ [gasbakid__!~gasbakid@41.96.88.76] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
locks [locks!u130@gateway/web/irccloud.com/x-twycghtwllwgaeam] has quit [#ruby-lang]
WillMarshall [WillMarshall!~willmarsh@ppp121-44-64-47.lns20.syd6.internode.on.net] has joined #ruby-lang
benanne [benanne!~rijdier@41.104-241-81.adsl-dyn.isp.belgacom.be] has joined #ruby-lang
<postmodern> ah was a \n in uri.query
<postmodern> not sure why URI::HTTP.build doesn't auto-escape those
indstry [indstry!~indstry@2001:470:1f11:1ec:dd8a:c20b:d977:9cd3] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
mndoci [mndoci!~mndoci@216.9.28.154] has joined #ruby-lang
Aphelion [Aphelion!~ttilley@unaffiliated/lv] has joined #ruby-lang
Carnage\ [Carnage\!~carnage@84-75-163-211.dclient.hispeed.ch] has joined #ruby-lang
<shevy> Ruby in 2012
<shevy> faster
<shevy> better
<shevy> stronger
<robgleeson> SCOOTER!
hagabaka [hagabaka!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
perryh [perryh!~perryh@unaffiliated/perry753] has joined #ruby-lang
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
dfr|mac [dfr|mac!~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
slyphon_ [slyphon_!~weechat@unaffiliated/slyphon] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
lsegal` [lsegal`!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
ksinkar [ksinkar!~ksinkar@115.240.113.215] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
<andrewvos> Happy new year
<andrewvos> !!
<densebits> andrewvos, same to you!
<andrewvos> densebits: WOOHOO
looopy [looopy!~looopy@pool-141-156-51-124.washdc.btas.verizon.net] has joined #ruby-lang
<andrewvos> Not new year yet here though.
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
Banistergalaxy [Banistergalaxy!~AndChat@118.82.176.204] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
jessemc [jessemc!~jessemc@S010678cd8e6f175f.ed.shawcable.net] has joined #ruby-lang
andrewhl [andrewhl!~andrewhl@out-pq-188.wireless.telus.com] has joined #ruby-lang
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
thone_ [thone_!~thone@g230186102.adsl.alicedsl.de] has joined #ruby-lang
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
Weems [Weems!Weems@68-117-153-32.dhcp.unas.al.charter.com] has joined #ruby-lang
Weems [Weems!Weems@unaffiliated/weems] has joined #ruby-lang
rippa [rippa!~rippa@109-161-68-156.pppoe.yaroslavl.ru] has joined #ruby-lang
<josh9> I need some design guidance. i have a user in my app. it's a simple class. i want to be able to save and find users on my db so i created a DB class with some class methods. this is how i use those classes - user = User.new("tod"); user.save
<josh9> def save; DB.save(self); end
<josh9> so all the db related stuff is being done by DB class. i also have User.find that calles DB.find(name)
<josh9> and User.all that calls DB.all_users
<josh9> does this design make sense? i am afraid that my DB class will get bloated since i'll have more entities i want to handle.
<josh9> the nice think is that my DB class is the only class (and file) that knows about the specific db i use (mongo, in my case).
<josh9> it's not very accurate, since the DB class returns back json, so the User method that calls it need to maniplate that json and return back object.
thone__ [thone__!~thone@g226035086.adsl.alicedsl.de] has joined #ruby-lang
<josh9> so the User class is actually coupled with the DB class.
thone___ [thone___!~thone@g226035086.adsl.alicedsl.de] has joined #ruby-lang
asi [asi!~asi@112.134.198.178] has joined #ruby-lang
<asi> Hi. I developed a Ruby gem that deals with system level command like restarting the server and all. Currently it cannot run with RVM as it doesn't encourage the "sudo gem install". How can I fix this and make a RVM compatible version.?
<josh9> asi: maybe u can try running 'rvm' and if rvm is installed, don't run it with sudo.
<josh9> asi: that's how u test: type rvm | head -1
<josh9> the response should be: rvm is a function
<asi> josh9: I think you misunderstood the question.
<asi> one sec.
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
<andrewvos> asi: ?
<andrewvos> Why can't it run
rippa [rippa!~rippa@109-161-68-156.pppoe.yaroslavl.ru] has joined #ruby-lang
<TTilus> asi: you want your gem to be installed system-wide?
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
<TTilus> asi: whats that have to do with you being able to run commands that affect the whole system?
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby-lang
Soleone [Soleone!~soleone@206-248-177-9.dsl.teksavvy.com] has joined #ruby-lang
<asi> andrewvos: TTilus: Nope. It runs some system level commands like restarting the apache server...
<andrewvos> So run it with sudo
<asi> it's a gem to deploy rails app rapidly with Passenger and Apache.
<andrewvos> asi: ^
shevy [shevy!~shevy@213-33-21-94.adsl.highway.telekom.at] has joined #ruby-lang
Banistergalaxy [Banistergalaxy!~AndChat@118.82.176.204] has joined #ruby-lang
<TTilus> asi: so you need sudo -E ?
<josh9> is vcr works with nokogiri? i didn't see nokogiri on their readme.
punknology [punknology!~textual@190.74.83.254] has joined #ruby-lang
<andrewvos> josh9: They are unrelated
<josh9> andrewvos: it seems to work. i guess vcr detect any http related activity.
<andrewvos> josh9: Your questions are rather vague :)
<josh9> andrewvos: sorry, what was unclear with the vcr question?
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
<andrewvos> josh9: nokogirl is an xml parser.
<andrewvos> josh9: It is unrelated to a request mocking library.
<andrewvos> You're talking about the way it takes over net/http?
<josh9> andrewvos: i have a test that scrape a webpage. i use nokogiri and i wanted a way to mock the http response.
<andrewvos> Ok well then it should work with nokogiri. I'm assuming nokogiri uses the default net/http stuff.
<josh9> vcr seems to record the response from Nokogiri::HTML(open(@url)) and now my test is fast and not dependent on internet connection.
<andrewvos> Yes. also you can save the request response and then not have to make the first request.
<andrewvos> josh9: Pretty sure #open is not nokogiri.\
<josh9> andrewvos: good catch. let me see
kyrylo [kyrylo!~kyrylo@46.118.220.105] has joined #ruby-lang
<josh9> maybe it's open-uri
<andrewvos> josh9: Nope Ruby testa.
<josh9> what's that?
<andrewvos> josh9: I mean open is built in to ruby.
<josh9> gotcha
<rue> It's open-uri, when you're opening an URL
<andrewvos> oh
<andrewvos> rue: When was your new years?
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby-lang
<rue> 11 hours ago
Defusal_ [Defusal_!DeFi@dsl-241-6-03.telkomadsl.co.za] has joined #ruby-lang
Defusal_ [Defusal_!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
JosephRuby [JosephRuby!~joseph@46.33.39.190] has joined #ruby-lang
james [james!~jredville@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
jredville [jredville!~jredville@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
jredville [jredville!~jredville@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
robgleeson [robgleeson!~rob@87-198-38-47.ptr.magnet.ie] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
<nekid> how do i copy and paste from cmd prompt
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby-lang
<nekid> Installing json (1.6.4) with native extensions
<nekid> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
<nekid> .
<nekid> C:/Ruby193/bin/ruby.exe extconf.rb
<nekid> C:/Ruby193/bin/ruby.exe: No such file or directory -- extconf.rb (LoadError)
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
<manveru> nekid: 1.9.3 has json in stdlib
<nekid> i updated it though
<manveru> since 1.9.1 i think
<nekid> from 1.9.2
burgestrand1 [burgestrand1!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby-lang
Carnage\ [Carnage\!~carnage@84-75-163-211.dclient.hispeed.ch] has joined #ruby-lang
solars [solars!~solars@mk089144206038.a1.net] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
benanne [benanne!~rijdier@41.104-241-81.adsl-dyn.isp.belgacom.be] has joined #ruby-lang
StevenRingo [StevenRingo!~nevets@ppp121-44-18-141.lns20.syd6.internode.on.net] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
<yorickpeterse> Rubygems is down :[
Spooner [Spooner!~Miranda@host-78-144-139-130.as13285.net] has joined #ruby-lang
<shevy> :(
<shevy> bring back 2011!!!
thrcka [thrcka!~thrcka@adsl-dyn175.91-127-200.t-com.sk] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby-lang
Stromgol [Stromgol!~Stromgol@modemcable131.171-162-184.mc.videotron.ca] has joined #ruby-lang
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby-lang
Manhose [Manhose!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby-lang
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
goshakkk [goshakkk!~goshakkk@46.28.101.224] has joined #ruby-lang
jimmyy111 [jimmyy111!jimmy@112.238.26.196] has joined #ruby-lang
dejongge [dejongge!~jonke@pD9E0C894.dip0.t-ipconnect.de] has joined #ruby-lang
jxie_ [jxie_!~jxie@115.197.84.209] has joined #ruby-lang
cartercheng [cartercheng!~carterche@173-11-117-109-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby-lang
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby-lang
dfr|mac [dfr|mac!~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #ruby-lang
RomD [RomD!~Roman@nrbg-4d076cd4.pool.mediaWays.net] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
Weems [Weems!Weems@unaffiliated/weems] has joined #ruby-lang
jmeeuwen [jmeeuwen!~kanarip@white.kolabsys.com] has joined #ruby-lang
Stromgol [Stromgol!~Stromgol@modemcable131.171-162-184.mc.videotron.ca] has joined #ruby-lang
Stromgol [Stromgol!~Stromgol@modemcable131.171-162-184.mc.videotron.ca] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
Weems [Weems!Weems@unaffiliated/weems] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
<dFire> When using Timeout::timeout( whatever )
<erikh> Asher: cmake rules. thanks for suggesting it eons ago.
<dFire> when you're in that do-end loop, is there any way to reset the timer?
solars [solars!~solars@mk089144206038.a1.net] has joined #ruby-lang
dejongge [dejongge!~jonke@pD9E0D197.dip0.t-ipconnect.de] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
iande [iande!~ieccles@dynamic-acs-24-144-204-51.zoominternet.net] has joined #ruby-lang
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby-lang
enebo [enebo!~enebo@75-168-44-241.mpls.qwest.net] has joined #ruby-lang
enebo [enebo!~enebo@75-168-44-241.mpls.qwest.net] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
enebo [enebo!~enebo@75-168-44-241.mpls.qwest.net] has joined #ruby-lang
<rue> erikh: More like ewwmake
<erikh> I like it!
<erikh> it could be better but this is working
<erikh> the makefiles I moved from were a lot bigger and more error-prone
QaDeS [QaDeS!~mklaus@frbg-4d028f48.pool.mediaWays.net] has joined #ruby-lang
<erikh> anyhow, off to sw:tor
<shevy> compared to the GNU Autotools like m4 it is indeed cleaner
<rue> That's true
<erikh> yeah I left m4 behind with sendmail
<erikh> anyhow, really off now
<erikh> later
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
Jake232 [Jake232!~textual@5e020e10.bb.sky.com] has joined #ruby-lang
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby-lang
jessemc [jessemc!~jessemc@S010678cd8e6f175f.ed.shawcable.net] has joined #ruby-lang
SkramX [SkramX!~SkramX@pool-70-18-145-169.norf.east.verizon.net] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.220.105] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
Jake232 [Jake232!~textual@5e020e10.bb.sky.com] has joined #ruby-lang
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
tychobrailleur_ [tychobrailleur_!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
kain [kain!~kain@151.64.233.209] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-216-221-39-59.aei.ca] has joined #ruby-lang
andrewhl [andrewhl!~andrew@24-246-15-43.cable.teksavvy.com] has joined #ruby-lang
spuk [spuk!~spuk@189.101.218.35] has joined #ruby-lang
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
publicvoid [publicvoid!~publicvoi@p4FCAE8CE.dip.t-dialin.net] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
Stromgol [Stromgol!~Stromgol@modemcable131.171-162-184.mc.videotron.ca] has joined #ruby-lang
<ahs3-> anyone see a obvious problem with that? ----> "f=0.2083*c.to_i*q.to_i/d.to_i"
<ahs3-> it results 0.0 everytime, but in irb it works fine
frem [frem!qNgworHXyW@irc-2.usealice.org] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@dslc-082-082-218-021.pools.arcor-ip.net] has joined #ruby-lang
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
frem [frem!ilUuLzfZpK@irc-1.usealice.org] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
<ozzloy> maybe c.to_i or q.to_i are 0?
<ozzloy> is?
<ahs3-> ah just figured it out thx ozzloy. its supposed to be c.to_f
<ahs3-> for float
<ozzloy> icic
<ahs3-> irb does float anyway i guess?
<ozzloy> i was wondering why you'd want integers, but didn't think that'd be it
<ahs3-> ah thanks for the answer ozzloy :)
<ozzloy> are the values for c and q the same in irb as in your program?
<ahs3-> yes i made them the same for an example
<ozzloy> weird
<ozzloy> idk why you'd get different answers in irb then
<ahs3-> irb seems to be different than an actually script
<ahs3-> not sure why
<ozzloy> shouldn't be
<ahs3-> it seems to all have to do with integers or floats
<ozzloy> oh wait, i know why
<ozzloy> aliens.
<ahs3-> oh?
<ahs3-> haha
<ozzloy> yep. history channel told me
<ahs3-> lol
<ahs3-> aliens have corrupted irb? lol
kyrylo [kyrylo!~kyrylo@46.118.220.105] has joined #ruby-lang
<ozzloy> have fun fixing _that_. i'm gonna go get food.
<ahs3-> cu thanks
<ozzloy> np
SkramX [SkramX!~SkramX@pool-70-18-145-169.norf.east.verizon.net] has joined #ruby-lang
rue [rue!~eeppa@echo622.server4you.de] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
<manveru> ahs3-: what ruby version?
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
<manveru> also, what's c, q, and d?
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
frangiz_ [frangiz_!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
bvandyke [bvandyke!~bvandyke@98.157.11.35] has joined #ruby-lang
Jake232 [Jake232!~textual@5e04f569.bb.sky.com] has joined #ruby-lang
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby-lang
S1kx [S1kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby-lang
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby-lang
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-yguknwsrjtejysso] has joined #ruby-lang
kalleth [kalleth!~trussell@intranet.cishub.co.uk] has joined #ruby-lang
topaz [topaz!~twp@unchi.org] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
cesario [cesario!u2444@gateway/web/irccloud.com/x-hwiokzuuomlkegzb] has joined #ruby-lang
mkscrg [mkscrg!~mkscrg@76-218-100-21.lightspeed.sntcca.sbcglobal.net] has joined #ruby-lang
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby-lang
thrcka [thrcka!~thrcka@ip-89-102-34-33.net.upcbroadband.cz] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
Pip [Pip!~Pip@host-88-156-66-217.spbmts.ru] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby-lang
benanne [benanne!~rijdier@41.104-241-81.adsl-dyn.isp.belgacom.be] has joined #ruby-lang
towski [towski!~towski@24.130.32.219] has joined #ruby-lang
JohnBat26 [JohnBat26!~Eugene@80.251.120.55] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
<ahs3-> manveru, 1.8.7
<ahs3-> manveru, hard to explain
towski [towski!~towski@24.130.32.219] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
Stromgol [Stromgol!~Stromgol@modemcable131.171-162-184.mc.videotron.ca] has joined #ruby-lang
frangiz_ [frangiz_!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
jessemc [jessemc!~jessemc@S01060018396a08f6.ed.shawcable.net] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby-lang]
flip_digits [flip_digits!~textual@c-71-199-243-97.hsd1.fl.comcast.net] has joined #ruby-lang
towski [towski!~towski@24.130.32.219] has joined #ruby-lang
spuk [spuk!~spuk@189.101.218.35] has joined #ruby-lang
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
frangiz_ [frangiz_!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
IanV_ [IanV_!~chatzilla@host86-148-155-255.range86-148.btcentralplus.com] has joined #ruby-lang
<rue> What, who? There's confusing
<rue> ahs3-: Use spaces, good person, they're free
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
<rue> ahs3-: Also, it works for me…
Soleone [Soleone!~soleone@206-248-177-9.dsl.teksavvy.com] has joined #ruby-lang
<ahs3-> ah ok
<rue> I don't know what's going on
Natch| [Natch|!~natch@178.73.216.55] has joined #ruby-lang
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby-lang
IanV [IanV!~chatzilla@host109-158-96-62.range109-158.btcentralplus.com] has joined #ruby-lang
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
Soleone [Soleone!~soleone@206-248-177-9.dsl.teksavvy.com] has joined #ruby-lang
Stromgol [Stromgol!~Stromgol@modemcable131.171-162-184.mc.videotron.ca] has joined #ruby-lang
gasbakid [gasbakid!~gasbakid@41.96.40.181] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
indeterminate [indeterminate!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
Pip_ [Pip_!~Pip@unaffiliated/pip] has joined #ruby-lang
seii [seii!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby-lang
Spooner [Spooner!~Miranda@host-78-144-139-130.as13285.net] has joined #ruby-lang
<dreinull> need a reminder, the short form of this here: ary.find { |o| o.id == params[:id]) }
<rue> A Railsism, maybe?
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
<dreinull> rue, no, plain Ruby
<dreinull> and minus the )
<rue> How would you magic that implicitly?
<dreinull> some Hash magic I guess
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
<rue> For that to work, you need to supply at least the identifier, :id, and the params
benanne [benanne!~rijdier@ip-83-134-149-239.dsl.scarlet.be] has joined #ruby-lang
<dreinull> so all I incorrectly remember then is this Rails sugar?
<rue> If that
<dreinull> well then, never mind
<rue> There's the common antipattern of building a record from just passing in params
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
<dFire> Can I reset the time on a timeout?
<dreinull> rue: yes, I'm using that and was assuming I could do the same for single keys as well.
<rue> Note the anti- there :)
<dreinull> rue: yes :) I'm still learning. Any good resource for _patterns_?
<rue> #ror may have some kind of a best practices repository, check there. I'm not sure
<Soleone> dreinull: Check the ruby rogues podcast, they recently discussed anti patterns
<dreinull> I was thinking about checking params in my model and just kick everything that is not in it.
<dreinull> Soleone: oh yes, it's on my ipod to be listened during my next gym visit :)
<Soleone> Best ruby podcast
Justafa [Justafa!~justafa@78-60-217-231.static.zebra.lt] has joined #ruby-lang
<dreinull> that is true. If you can follow their thoughts all the time :)
Asher1 [Asher1!~asher@98.158.127.150] has joined #ruby-lang
<Soleone> dreinull: There's also this book about anti patterns to avoid but I haven't read it yet: http://www.informit.com/store/product.aspx?isbn=0321620283
<dFire> Or does anyone have an idea how I can close a socket when I don't receive data on it for x seconds?
<dreinull> Soleone: thank you
<Soleone> np sir
<mtkd> Does anyone know how I can load a nested module A::B (using that namespace syntax) when A doesn't already exist
<mtkd> This works eval("module A; module B; end; end"), but this doesn't eval("module A::B; end")
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
<Soleone> Why would you ever want to do something like that? Looks dangerously dynamic...
<mtkd> I've got some dangerously dynamic code I need to load
<mtkd> it's very nested and I need the shorter syntax
<Soleone> How can the nested module not define that A namespace btw? Shouldn't the nested module always depend on the outer namespace being existent?
<mtkd> Rails will load it like that without the parents existing
<mtkd> so it's possible
<mtkd> I'll have to work it backwards from that
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby-lang
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby-lang]
<rue> dFire: What's the problem with Timeout?
andrewhl [andrewhl!~andrew@CPE78cd8e6671d8-CM78cd8e6671d5.cpe.net.cable.rogers.com] has joined #ruby-lang
<dFire> I'm in a while loop, receiving lines from a socket
<dFire> but I can't reset the timeout when I receive a line
<rue> You need to exit the block then
<rue> loop { blah; timeout { receive only }; do stuff here }
<rue> Or depending on your particulars, you could poll the socket manually
<dFire> That's just sensible enough to work
uniqanomaly_ [uniqanomaly_!~ua@dynamic-78-8-84-85.ssp.dialog.net.pl] has joined #ruby-lang
<dreinull> don't use Time.now in your tests if the results depend on 2011.
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
jredville [jredville!~jredville@c-66-235-23-17.sea.wa.customer.broadstripe.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
tychobrailleur_ [tychobrailleur_!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby-lang
sczizzo [sczizzo!~sczizzo@99-94-128-224.lightspeed.mmphtn.sbcglobal.net] has joined #ruby-lang
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
sczizzo [sczizzo!~sczizzo@99-94-128-224.lightspeed.mmphtn.sbcglobal.net] has quit [#ruby-lang]
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
brianpWins [brianpWins!~brianpWin@hlfxns0169w-142068026252.dhcp-dynamic.FibreOp.ns.bellaliant.net] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
nekid [nekid!~nekid@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby-lang
nekid [nekid!~nekid@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby-lang
<nekid> does it matter which directory I "gem install rails"
<nekid> or "ruby setup.rb"
<href> for a gem install, no. For a `ruby setup.rb`, yeah. You must be in the directoy where the "setup.rb" file is.
<rue> It'll install into standard (or provided) locations still
dous [dous!~dous@unaffiliated/dous] has joined #ruby-lang
confounds [confounds!~confounds@208.113.46.214] has joined #ruby-lang
slyphon_ [slyphon_!~weechat@unaffiliated/slyphon] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
<nekid> ty
<nekid> file 'lib' not found
<nekid> win7
<shevy> can you be shorter
<nekid> I was installing rails and I got a file 'lib' not found at the end
<nekid> also Installing ri documentation for rails-3.1.3...
<nekid> file 'lib' not found
<nekid> Installing RDoc documentation for multi_json-1.0.4...
leaping [leaping!~leaping@cpe-76-170-28-102.socal.res.rr.com] has joined #ruby-lang
leaping [leaping!~leaping@cpe-76-170-28-102.socal.res.rr.com] has quit [#ruby-lang]
davidtspf01 [davidtspf01!~leaping@cpe-76-170-28-102.socal.res.rr.com] has joined #ruby-lang
<davidtspf01> hello
<davidtspf01> I wrote a basic script with this line: "start = html.index(starting_regexp)". And I am getting the error "undefined method `index' for #<File:testfile.html> (NoMethodError)". testfile.html is a file i read in.
<davidtspf01> Any idea why the error?
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
<rue> nekid: Don't worry about the docs. You should probably be using railsinstaller, though. Check with #ror
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
jasox [jasox!~jasox@178.239.26.139] has joined #ruby-lang
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
<rue> Did I just actually disconnect?
<davidtspf01> This line: " %r{<td width="33%" class="table-item-1">(.*?)</td\s*>}m =~ html" is causing this error: "invalid byte sequence in UTF-8 (ArgumentError)". Any idea why?
<shevy> does it pull data in?
<rue> Presumably the html variable contains an invalid sequence
<shevy> yeah
<davidtspf01> What does that even mean?
<shevy> encoding thing
<davidtspf01> html is an html file i read in
<rue> Also, using Nokogiri would be a preferrable option…
<shevy> html variable is not of regex type?
<davidtspf01> I would love to, but can't figure it out.
<shevy> =~ html
<davidtspf01> Here's how I read in the html file: file = File.open("testfile.html", "r") / page = file.read
<shevy> and where does html come from?
<rue> davidtspf01: Nokogiri::HTML(html).css "td.table-item-1" or something like that should work
<davidtspf01> Well, then I call this method: company_info = scrape_personnel_info(page), which is def scrape_personnel_info(html)
<davidtspf01> so page and html are the same
<rue> Is the html file actually UTF-8? If it is, and presumed valid, you can do a replace on invalid bytes
<davidtspf01> rue: how do i do that?
<rue> ri String#encode
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.46] has joined #ruby-lang
<davidtspf01> rue: I'm not following
<shevy> it is hopeless
<shevy> use ruby 1.8.7
lianj [lianj!~lianj@17.145.34.193.static.giga-dns.com] has joined #ruby-lang
lianj [lianj!~lianj@subtle/user/lianj] has joined #ruby-lang
<chris2> hey shevy
<chris2> i'm pondering moving to ruby 1.9
<rue> O M G
<chris2> need to make a list of things i need to port first
<rue> davidtspf01: See the String#encode docs, you can re-encode the string
<chris2> 1.9.3 is production ready?
<rue> Yep
<chris2> good
<chris2> porting stuff is easier than supporting both
<shevy> chris2 :D
<chris2> i dont actually have that much code i use
<shevy> I have almost switched! need to rewrite one thing with "circular require detected"
<chris2> ^^
<shevy> hey my delay is only 4 years :P
<chris2> yeah
<chris2> but q1.9 seems viable now
<chris2> and i like the new license
<shevy> anyone knows when and if there will be a 1.9.4?
<rue> ruby-head knows
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby-lang
znz_jp [znz_jp!~znz@ns5.n-z.jp] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
RomD` [RomD`!~Roman@nrbg-4d076620.pool.mediaWays.net] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
<davidtspf01> Argh. Getting an error on join, when doing "name = company_info[:name].join(', ')". Error is ndefined method `join' for 0:Fixnum (NoMethodError). Wtf.
andrewhl [andrewhl!~andrew@CPE78cd8e6671d8-CM78cd8e6671d5.cpe.net.cable.rogers.com] has joined #ruby-lang
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
<rue> It tells you what's wrong
<rue> You're doing 0.join
<rue> Which is why?
<davidtspf01> Oh, I see. It should not be doing that.
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
znz_jp [znz_jp!~znz@ns5.n-z.jp] has joined #ruby-lang
<davidtspf01> Ok, getting same error even though I'm now trying to join a string: "in `csv_string': undefined method `join' for "Michelle Myers":String (NoMethodError)"
<davidtspf01> Off this: name = company_info[:name].join(', ')
<davidtspf01> Isn't join a built-in method?
datanoise [datanoise!~datanoise@24-145-66-018-dhcp.mia.fl.atlanticbb.net] has joined #ruby-lang
<Asher1> on Array
<Asher> not on String
<josh9> i want to use the recent stable version of a gem. can i simply clone it and require_relative 'gem-folder/lib/gem-name.rb' ?
<injekt> josh9: no
<Asher> you probably want to install teh gem
<injekt> install it
nekid [nekid!~nekid@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby-lang
<josh9> injekt: Asher it's called vcr, and there is a bug with unicode (https://github.com/myronmarston/vcr/issues/74) that i believe is fixed in recent versions.
<injekt> josh9: they have a gemspec, grab the repo and build the gem yourself
<Asher> clone the repo
<Asher> then do gem build name.gemspec
<Asher> and then install the gem using a local path
<Asher> gem install ./name.gem
<josh9> Asher: i normaly use Gemset file with bundler. will this cause any issues?
<Asher> i think bundler just has you specify which gem/version
<Asher> but i'm not familiar with bundler really
sepp2k [sepp2k!~sexy@p4FD160D4.dip.t-dialin.net] has joined #ruby-lang
<josh9> maybe i should clone this gem inside my project in a vendor folder or something similar?
<injekt> josh9: if you're using bundler, just point to the project git url
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby-lang
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-yunqkwsedzrsrrkx] has joined #ruby-lang
<josh9> injekt: oh. let me try
<injekt> josh9: gem 'vcr', :git => 'git://github.com/.../vcr'
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang