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/
mxweas_ [mxweas_!~max@mobile-198-228-215-084.mycingular.net] has joined #ruby
miker [miker!~qwester@72-165-229-187.dia.static.qwest.net] has joined #ruby
jbpros [jbpros!~jbpros@233-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@27-142-96-128.rev.home.ne.jp] has joined #ruby
sunredsky [sunredsky!sunredsky@76.206.24.126] has joined #ruby
replore_ [replore_!~replore@203.152.213.161.static.zoot.jp] has joined #ruby
ssn [ssn!~michael@216.48.162.4] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
norex [norex!~quassel@41-133-179-33.dsl.mweb.co.za] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-097-077-221.pools.arcor-ip.net] has joined #ruby
dla09 [dla09!~dla09@24-158-235-236.dhcp.leds.al.charter.com] has joined #ruby
Sailias_ [Sailias_!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Sailias__ [Sailias__!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Sailias__ [Sailias__!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
dla09 [dla09!~dla09@24-158-235-236.dhcp.leds.al.charter.com] has quit [#ruby]
Sailias__ [Sailias__!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Sailias_ [Sailias_!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
<ssn> Hi, anyone know how Ranges are represented in Ruby? Are they just Arrays?
teej_m [teej_m!~teej_m@173.247.200.154] has joined #ruby
dankest [dankest!~dankest@wsip-174-75-64-190.sb.sd.cox.net] has joined #ruby
<ssn> Any word on how efficient they are too? (e.g. (1..4_000_000).each_slice(2) { |val| ... } ?
<davidcelis> ssn: a Range is a Range.
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
<ssn> davidcelis: cool, thanks, but do you know what data structure is used to house them? Or is it actually dynamically generated at runtime as an ever increasing enumerator?
<davidcelis> It's a Range, not exactly sure what you're trying to ask.
<davidcelis> Did you check the docs? It is 100% its own object.
<davidcelis> It includes Enumerable, but it is an Object class that is separate from Array or other Object classes. http://www.ruby-doc.org/core-1.9.3/Range.html
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
nari_ [nari_!~nari@raichu.netlab.jp] has joined #ruby
<ssn> Ahh, cool, thanks davidcelis. :) I went to that page before, but didn't see the range.c file in the upper-left-hand corner; I'll check it out
<ssn> thanks! :)
<davidcelis> No problemo
Silker [Silker!~ponies@31.185.225.248] has joined #ruby
luckyruby [luckyruby!~luckyruby@mobile-198-228-232-138.mycingular.net] has joined #ruby
DarkFoxDK [DarkFoxDK!~darkfox@62.116.219.97] has joined #ruby
raz [raz!~raz@unaffiliated/raz] has joined #ruby
ssn [ssn!~michael@216.48.162.4] has quit [#ruby]
jamiejackson [jamiejackson!~jamie@pool-71-127-46-176.washdc.east.verizon.net] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@adsl-74-161-99-192.mia.bellsouth.net] has joined #ruby
tesmar [tesmar!~tesmar@adsl-98-69-203-34.rmo.bellsouth.net] has joined #ruby
<teej_m> Im using EM::HttpRequest and it occasionally is spitting out empty resposnes
<teej_m> any idea why that might be>
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-19-183.lnse5.ken.bigpond.net.au] has joined #ruby
<Y_Ichiro> what is the relation between Integer and Fixnum in Ruby?
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
<davidcelis> Integer is Fixnum's parent class
<davidcelis> (it is also Bignum's parent class)
<davidcelis> read tha docs
looopy [looopy!~looopy@static-71-166-231-146.washdc.east.verizon.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
Sliker [Sliker!~ponies@87.113.213.59] has joined #ruby
hamfz_ [hamfz_!~hamfz@c-68-62-113-84.hsd1.al.comcast.net] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
bastilian [bastilian!~bastilian@chello062178156107.9.14.vie.surfer.at] has joined #ruby
alex__c2022 [alex__c2022!~alex@207.239.64.154] has joined #ruby
CannedCorn [CannedCorn!~textual@207.239.86.46] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
nitestarr [nitestarr!~cjolley@c-75-66-219-167.hsd1.tn.comcast.net] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
dfr|work [dfr|work!dfr|work@nat/google/x-plnoxidoihkjttul] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
p0y [p0y!~p0y@112.210.75.25] has joined #ruby
luxurymode [luxurymode!~luxurymod@pool-108-29-15-206.nycmny.fios.verizon.net] has joined #ruby
Sliker [Sliker!~ponies@87.113.213.59] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
dgynn [dgynn!~dgynn@c-67-174-197-231.hsd1.ca.comcast.net] has joined #ruby
Adman65 [Adman65!~Adman65@cs181188119.pp.htv.fi] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
Silker [Silker!~ponies@87.113.213.59] has joined #ruby
akem [akem!~akem@205.139.120.78.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<Time2303> food coma.
cute_guy [cute_guy!~ghost@bb115-66-156-253.singnet.com.sg] has joined #ruby
quest88 [quest88!~quest88@adsl-75-23-35-7.dsl.lgvwtx.sbcglobal.net] has joined #ruby
<cute_guy> hi, which IDE you guys are using to touch on ruby? almost all the IDE i tried kinda sucks..crashes, hangs etc
<any-key> people seem to like rubymine
<any-key> I've seen most people just use simple text editors though
tar_ [tar_!~tar@d118-75-81-132.try.wideopenwest.com] has joined #ruby
<cute_guy> hmm tried rubymine doesnt seem fantastic..rails always fail to load on that
<any-key> what IDE features are you looking for in particular?
<cute_guy> code completion, different colours for syntaxes, thats about it
<any-key> almost all editors do syntax highlighting, and most have a naive form of code completion
<any-key> nothing like intellisense or whatever from my experience though
<Brozilla> i find code completion to be mostly annoying
<any-key> same
byronb [byronb!~byron@c-24-18-227-118.hsd1.wa.comcast.net] has joined #ruby
<cute_guy> oh yeah intellisense too
<cute_guy> ruby in steel, i am trying that now
<any-key> you're not going to find killer code completion, and it's not worth the struggle
<banisterfiend> cute_guy: change your nickname for god's sake!
<banisterfiend> :P
<cute_guy> banisterfiend, i know! i just love pissing people off using this nick
<any-key> there's a new challenge up on http://www.therubygame.com/
<any-key> !
<any-key> not really challenge, but fun little thing
dark3rdre4ms [dark3rdre4ms!~Ethan@adsl-99-14-209-67.dsl.bltnin.sbcglobal.net] has joined #ruby
dark3rdre4ms [dark3rdre4ms!~Ethan@unaffiliated/eth4n] has joined #ruby
davidcelis [davidcelis!~david@c-76-115-58-79.hsd1.or.comcast.net] has joined #ruby
trend [trend!~craigslis@rrcs-76-79-188-47.west.biz.rr.com] has joined #ruby
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
<otters> any-key: how exactly do you answer in 0.347 seconds
<any-key> otters: you cheat
<any-key> but it's still fun to do it even if you don't win
<otters> yeah, but how do you cheat that fast
<otters> you'd have to read the problem first
<otters> ...right
<any-key> dunno, get it right and look at the code it shows you
elliottcable [elliottcable!~me@ell.io] has joined #ruby
<any-key> the site isn't well-written in that it gives one set of input/output for evaluation and then reevaluates them at the end of the week with another output
<any-key> so you could hard-code a solution
billy_ran_away [billy_ran_away!~billy_ran@pool-173-69-211-31.bltmmd.fios.verizon.net] has joined #ruby
<any-key> but supposedly they get rid of those at the end of the week and determine a winner
<any-key> still kinda lame
<any-key> seems trivial to have a bunch of different tests
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
<any-key> otters: actually, it runs really fast without cheating
dbgster [dbgster!~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com] has joined #ruby
dasfugufish [dasfugufish!~Adium@68-170-39-205.mammothnetworks.com] has joined #ruby
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
Behi [Behi!~Behi@203-206-227-95.perm.iinet.net.au] has joined #ruby
hamfz_ [hamfz_!~hamfz@99-0-57-199.lightspeed.tsclal.sbcglobal.net] has joined #ruby
<Behi> Does ruby have something like groovy's "?." operator?
<Behi> a?.foo is idential too a ? a.foo : nil
<any-key> is that like a streamline if?
<any-key> the ? operator, that is
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
lokkju [lokkju!~lokkju@unaffiliated/lokkju] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb116-15-214-58.singnet.com.sg] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
edwardsharp [edwardsharp!~chatzilla@c-67-169-223-202.hsd1.or.comcast.net] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
incendiaries [incendiaries!~incendiar@c-76-98-133-208.hsd1.pa.comcast.net] has joined #ruby
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
kstephens [kstephens!~kstephens@173-15-46-105-Illinois.hfc.comcastbusiness.net] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
tesmar [tesmar!~tesmar@adsl-98-69-203-34.rmo.bellsouth.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-24-10-127-185.hsd1.ca.comcast.net] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
<ugly_cow> ARGV.first but no ARGV.second?
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
<davidcelis> ?
<davidcelis> lol
<davidcelis> you get .first and .last
<davidcelis> it's gotta end somewhere, man
<ugly_cow> oh
Animawish [Animawish!~Adium@71-32-196-106.slkc.qwest.net] has joined #ruby
<davidcelis> otherwise, [1]..[i-1]
<ugly_cow> so how do you get the inbetweens?
<ugly_cow> using #{$1} #{$2} ?
<davidcelis> ARGV[1]
<davidcelis> ARGV[2]
<davidcelis> etc
<davidcelis> its just an array
<ugly_cow> oh ok
<ugly_cow> $0 is special $1 doesnt work out
<davidcelis> those are used in regex matching..
<ugly_cow> oh i was refering to #{$0} giving you the script name as the first argument
<ugly_cow> noted
<Animawish> I need major help with a program that I'm trying to make. It's to rename the files in a folder from, for example, "My.Little.Pony.Friendship.is.Magic.S02E08.The.Mysterious.Mare.Do.Well.720p.AC3.5.1.fix.mkv" to "208 The Mysterious Mare Do Well.mkv"
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
<Animawish> this is what I have so far http://pastie.org/3043984
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
<Animawish> I don't know what I'm doing :|
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
<davidcelis> Animawish: learn regular expressions
<Animawish> would you recommend any tutorials?
<davidcelis> http://rubular.com is a good resource
<davidcelis> It's not a tutorial, but it allows you to test regular expressions as you tweak them, live
<davidcelis> Put in that test string, look at the reference, and see what you can do
<davidcelis> other than that, just google for ruby regex tutorials
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-236.lsanca.fios.verizon.net] has joined #ruby
nanoyak [nanoyak!~nanoyak@50-0-164-69.dsl.dynamic.sonic.net] has joined #ruby
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"]
igotnolegs [igotnolegs!~igotnoleg@174-27-218-195.slkc.qwest.net] has joined #ruby
pootpoot [pootpoot!~pootpoot@38.108.250.130] has quit [#ruby]
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
<any-key> just google regex tutorials
<any-key> it's almost universal for most things
nilmethod [nilmethod!~nilmethod@ip70-178-48-198.ks.ks.cox.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
quest88 [quest88!~quest88@75.23.35.7] has joined #ruby
billy_ran_away [billy_ran_away!~billy_ran@pool-173-69-211-31.bltmmd.fios.verizon.net] has joined #ruby
<mgj> Wich ORM is recommended in ruby? DataMapper?
<Brandonn> active record
<ryanf> for non-rails projects, sequel is supposed to be good
<ryanf> I guess you can use it for rails too but it's not exactly the beaten path
youdonotexist_ [youdonotexist_!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
luckyruby [luckyruby!~luckyruby@mobile-198-228-232-138.mycingular.net] has joined #ruby
Dysaniak [Dysaniak!~user@c-71-198-6-134.hsd1.ca.comcast.net] has joined #ruby
<Dysaniak> What's a clever way of sorting an array by the second item in each of its members? E.g the numbers in this example [["Frown", -300], ["Frud", 33], ["Scott", 35]]?
abstrusenick [abstrusenick!~abstrusen@bb116-15-214-58.singnet.com.sg] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
<any-key> Dysaniak: passing the sort method a block
<any-key> array.sort { |a,b| a[1] <=> b[1] }
<Dysaniak> A block refers to { what's inside these? }
<any-key> yes, but there's more to them than that
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
<Dysaniak> What does <=> signify?
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
<any-key> it's called the diamond operator (kind of slang, makes it easier to google)
<any-key> hmm maybe not
<samuelkadolph> Dysaniak: Comparison operator
<any-key> yeah that one :P
<samuelkadolph> 1 <=> 4 # => -1 because 1 is less than 4
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
<Dysaniak> <=> resolves to -1, 0, or 1, I guess.
<any-key> yep
<samuelkadolph> Like most languages
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
<Animawish> what's the best beginner's book for learning ruby
<Animawish> one with structure preferably
<any-key> not Why's (poignant) Guide if you want structure :P
<Animawish> haha yeah
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby
<any-key> although I think if you skip some of the rambling (but awesome) stories it has a really awesome overview of the language
<any-key> he introduces metaprogramming in a nice way
<Animawish> I think I got 2/3 of the way through why's guide
<any-key> at the very least the metaprogramming chapter is worth reading
<Dysaniak> Animawish: You want a book you can buy, or something else online?
NinoScript [NinoScript!~Adium@pc-55-124-83-200.cm.vtr.net] has joined #ruby
<Dysaniak> There's also "Learn Ruby the Hard Way."
<Dysaniak> Very elementary.
<any-key> didn't Zed actually say that take on his Python version didn't suck?
<any-key> iirc he hates people copying his python book
<Animawish> dysaniak: anything that's professional and structured. I'm horrible at self teaching, so something that's like a class I suppose
<Animawish> right now I'm messing around with rubymonk and I kind of like that system
<Dysaniak> Animawish: What is it that you think you need from 'structure?'
tarellel [tarellel!~tarellel@c-76-113-41-128.hsd1.nm.comcast.net] has joined #ruby
<Animawish> examples, practice problems, doesn't jump around a ton in the same lesson, doesn't assume knowledge
<Animawish> at least, doesn't assume programming knowledge
<any-key> I recommend just picking something and writing shit
<any-key> doesn't even have to be good
<any-key> then go rewrite it
<Dysaniak> That's what I was gonna say.
<Dysaniak> I'm just writing an inaccureate, simple simulator.
<Animawish> I always hit brick walls because I don't know any vocabulary, and I have a hard time with syntax and shit
<Dysaniak> When I get stuck, I go back and read my text until I come across what I am looking for.
<Dysaniak> Now that I am past Ruby the Hard Way, until I find something better (I'll probably break down and hit up the library) I come in here and ask naive questions.
tdelam [tdelam!~trevor@tdelam.com] has joined #ruby
<Animawish> I guess I'll try reading Ruby the Hard Way
bigkm [bigkm!~bigkm@203-206-185-71.perm.iinet.net.au] has joined #ruby
<Dysaniak> Do everything the hard way, first.
<Dysaniak> That's what a learning curve is.
<Dysaniak> I'm sure there are easier ways to accomplish what I'm trying.
<Dysaniak> How can I print lists horizontally instead of vertically?
zodiak [zodiak!~stef@cpe-75-84-218-68.socal.res.rr.com] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
p1d [p1d!~p1d@dslb-088-065-173-030.pools.arcor-ip.net] has joined #ruby
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
<Animawish> rvm isn't working
replore_ [replore_!~replore@203.152.213.161.static.zoot.jp] has joined #ruby
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
maletor [maletor!~maletor@c-107-3-136-92.hsd1.ca.comcast.net] has joined #ruby
linoj [linoj!~linoj@199.21.102.3] has joined #ruby
andrewjf [andrewjf!~ajf@ec2-50-112-119-181.us-west-2.compute.amazonaws.com] has joined #ruby
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby
RomD [RomD!~Roman@nrbg-d9322fb3.pool.mediaWays.net] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host223-28-dynamic.248-95-r.retail.telecomitalia.it] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
<edwardsharp> is there a good way to inspect a module with IRB? would be nice if right after a require 'module' I could start chaining inspections methods off the imported object...
<banisterfiend> edwardsharp: use pry
<banisterfiend> edwardsharp: http://pry.github.com
apok [apok!~apok@96.24.67.22] has joined #ruby
<banisterfiend> not sure what u maen by 'chaining inspections methods' though, but i guess it can do what u want
<edwardsharp> oh, sorry about the pluralization overload, thx, i'll check it out.
Time2303 [Time2303!~scott@24.109.124.202.static.snap.net.nz] has joined #ruby
Corey [Corey!~Corey@freenode/staff/corey] has joined #ruby
sarkis_ [sarkis_!~sarkis@cpe-72-134-22-221.socal.res.rr.com] has joined #ruby
<Time2303> :c
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
xjiujiu [xjiujiu!~quassel@218.77.14.195] has joined #ruby
jarjar_prime [jarjar_prime!~mjarjoura@50-76-61-133-ip-static.hfc.comcastbusiness.net] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
rboyd [rboyd!~rboyd@d3-6.rb3.clm.centurytel.net] has joined #ruby
<edwardsharp> Animawish: what os?
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
<Animawish> mac os 10.6.8
<edwardsharp> you gotta have Xcode installed.
<edwardsharp> (well, don't gotta, but it really helps)
<Time2303> What is a good book or ebook for learning Ruby?
<any-key> listen to the soundtrack for extra ruby powers
* edwardsharp agrees
randym [randym!~randym@EM114-48-15-205.pool.e-mobile.ne.jp] has joined #ruby
<any-key> I actually really like the soundtrack...
<any-key> it was weird but there's some really catchy parts
<Time2303> "I’ll be straight with you. I want you to cry. To weep. To whimper sweetly. This book is a poignant guide to Ruby. That means code so beautiful that tears are shed."
<any-key> the man is emotional
<any-key> and a fucking genius
<edwardsharp> :D
* edwardsharp agrees
<any-key> I miss him.
<any-key> I actually got my brother a hard copy of that book for christmas
<any-key> haven't seen the results yet but if it worked well I may get a copy for myself
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
moshef [moshef!~moshef@bzq-109-66-184-154.red.bezeqint.net] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
roaminghorse [roaminghorse!~roamingho@210.22.86.58] has joined #ruby
yxhuvud [yxhuvud!mongo@h-49-243.a212.priv.bahnhof.se] has joined #ruby
t-mart [t-mart!~t-mart@c-76-97-7-168.hsd1.ga.comcast.net] has joined #ruby
roblak [roblak!~roblak@c-67-160-217-70.hsd1.ca.comcast.net] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
<t-mart> im trying to seed an Array#shuffle call, but it's not working. could someone verify http://pastie.org/3044411
<t-mart> ArgumentError
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<t-mart> following the docs example pretty closely http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-shuffle
r0bby_ [r0bby_!~wakawaka@guifications/user/r0bby] has joined #ruby
<rippa> is you RUBY_VERSION 1.9.3?
<t-mart> yep. that's why
<t-mart> woopsies
LittleBill902 [LittleBill902!~smith@c-71-197-102-219.hsd1.ca.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-32-116-87.dsl.pltn13.sbcglobal.net] has joined #ruby
roaminghorse [roaminghorse!~roamingho@ec2-50-16-85-142.compute-1.amazonaws.com] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
mohits1 [mohits1!~ms@115.113.153.226] has joined #ruby
mohits [mohits!~ms@unaffiliated/mohits] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
tar_ [tar_!~tar@d118-75-81-132.try.wideopenwest.com] has joined #ruby
suffix [suffix!~wompwomp@c-24-91-28-168.hsd1.ma.comcast.net] has joined #ruby
<suffix> hey hey hey duders. is it possible/wise to write a ruby program which accesses / modifies a google spreadsheet, sends emails, sshes into servers, runs commands on said servers, and runs bash scripts on a local server?
burgestrand [burgestrand!~burgestra@h-163-174.a155.priv.bahnhof.se] has joined #ruby
suffix [suffix!~wompwomp@c-24-91-28-168.hsd1.ma.comcast.net] has quit [#ruby]
luckyruby [luckyruby!~luckyruby@125-187.96-97.tampabay.res.rr.com] has joined #ruby
roaminghorse [roaminghorse!~roamingho@124.74.129.194] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-19-183.lnse5.ken.bigpond.net.au] has joined #ruby
p1d [p1d!~p1d@ns1.vonaffenfels.de] has joined #ruby
ryanf [ryanf!~revfitz@adsl-69-111-194-237.dsl.snfc21.sbcglobal.net] has joined #ruby
Spaceghostc2c [Spaceghostc2c!~Spaceghos@unaffiliated/spaceghostc2c] has joined #ruby
<Spaceghostc2c> When making a gem, I want to use spork and guard with rspec, but don't want to force at least the spork part onto possible gem contributors through the spec_helper.rb
<Spaceghostc2c> My current solution is to do some git branching with rebasing to remove commits that change the spec_helper.rb file from the spork usage to the non-sporky one.
<Spaceghostc2c> Feelsnastyman.
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
sarkis_ [sarkis_!~sarkis@cpe-72-134-22-221.socal.res.rr.com] has quit [#ruby]
banisterfiend [banisterfiend!~baniseter@115.189.196.244] has joined #ruby
moshef [moshef!~moshef@84.94.109.182.cable.012.net.il] has joined #ruby
<burgestrand> Spaceghostc2c: for that very same thing, I put the non-hard development dependencies in a Gemfile, and in my spec_helper I rescue any load errors from not having that particular file so it’s not required
<moshef> im trying to compare two dates in a test, but they have a few seconds difference
igotnolegs [igotnolegs!~igotnoleg@174-27-218-195.slkc.qwest.net] has joined #ruby
<moshef> how do i parse it to match just the days/month part or anything like that?
<burgestrand> Spaceghostc2c: that way my soft dependencies can be installed through bundler, but are not necessarily required
jamesbrink [jamesbrink!~Adium@63-230-196-115.phnx.qwest.net] has joined #ruby
<matled> moshef: are you sure you want to compare days? what if your test is run at midnight?
<moshef> not just days. minutes too
<moshef> just leave the seconds behind
<matled> so, if your test is run at :59 the minute will be different, will it not?
<Spaceghostc2c> burgestrand: I was going to thank you, but you left. D:
<moshef> might be, i wont overkil because of that
<moshef> its ok if it works 99.9% of the times as well
<matled> I'd recommend to do something like (time2 - time1).abs < 5
<moshef> .abs?
<matled> if you are sure that time2 is greater than time1 you can drop that
<matled> otherwise it ensures that the difference is positive
<moshef> oh
<moshef> < 5 wont help me, because the days are different
<moshef> anyway im getting help already so thanks buddy
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
zommi [zommi!quassel@nat/ibm/x-oxpcygtfbkkcftqm] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-77-86-122-199.karoo.KCOM.COM] has joined #ruby
maletor [maletor!~maletor@c-69-181-28-195.hsd1.ca.comcast.net] has joined #ruby
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
apucacao [apucacao!~apucacao@S0106602ad075859e.vc.shawcable.net] has joined #ruby
araujo [araujo!~araujo@gentoo/developer/araujo] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
ph^ [ph^!~ph^@79.135.7.162] has joined #ruby
darkc0met [darkc0met!darkcomet@gateway/shell/trekweb.org/x-wxitqdaahdlrwurq] has quit [#ruby]
poppiez [poppiez!~unknown@0x5da1840a.cpe.ge-0-1-0-1104.henqu2.customer.tele.dk] has joined #ruby
mafolz [mafolz!~mafolz@dhcp50-210.start.uni-saarland.de] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-236.lsanca.fios.verizon.net] has joined #ruby
trend [trend!~craigslis@rrcs-76-79-188-47.west.biz.rr.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
Jrz [Jrz!~jrz@87.239.184.141] has joined #ruby
VitaoDoidao [VitaoDoidao!vitao@66.197.174.10] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-19-183.lnse5.ken.bigpond.net.au] has joined #ruby
VD171 [VD171!vitao@66.197.174.10] has joined #ruby
cyri_ [cyri_!~cyri_@236.200.72.86.rev.sfr.net] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
MAD [MAD!~MAD@mail.11labo.net] has joined #ruby
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
pi3r [pi3r!~pi3r@LSt-Amand-152-32-39-189.w80-11.abo.wanadoo.fr] has joined #ruby
giulio [giulio!~giulio@ppp-111-32.26-151.libero.it] has joined #ruby
ksinkar [ksinkar!~ksinkar@117.195.109.45] has joined #ruby
giulio [giulio!~giulio@ppp-111-32.26-151.libero.it] has joined #ruby
<shevy> --------
<shevy> LONG LIVE RUBY!
<shevy> --------
<ksinkar> I am writing code for xml builder markup, but my xml markups enclosing tags are similar to MK-IP. now how do I have these kinds of tags? I have read the documentation but could not find much help on it.
roaminghorse [roaminghorse!~roamingho@ec2-50-16-85-142.compute-1.amazonaws.com] has joined #ruby
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
moeSeth [moeSeth!u1029@gateway/web/irccloud.com/x-kiwvqdgoitxejpvl] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
JohnBat26|2 [JohnBat26|2!~Eugene@89.175.77.90] has joined #ruby
db- [db-!~db@mx.bsdsystems.de] has joined #ruby
db- [db-!~db@mx.bsdsystems.de] has quit [#ruby]
Ammar01 [Ammar01!~hassaa10@gatek.mh.bbc.co.uk] has joined #ruby
ni-ka [ni-ka!~Nils@i577BDCA2.versanet.de] has joined #ruby
libertyprime [libertyprime!~libertypr@122-59-8-223.jetstream.xtra.co.nz] has joined #ruby
hurikhan|Work [hurikhan|Work!~kakra@82-198-195-142.briteline.de] has joined #ruby
t-mart [t-mart!~t-mart@c-76-97-7-168.hsd1.ga.comcast.net] has joined #ruby
gentz [gentz!ilab@ancient.webfoundation.net] has joined #ruby
stoffus [stoffus!~stoffus@2001:9b0:1:dead:129a:ddff:fe58:6835] has joined #ruby
jbpros [jbpros!~jbpros@233-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
MAD_ [MAD_!~MAD@mail.11labo.net] has joined #ruby
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
<Time2303> do do do do :x
ephemerian [ephemerian!~ian@82-69-1-248.dsl.in-addr.zen.co.uk] has joined #ruby
<Time2303> wow guys, shut up - your all flooding my chat.
robyurkowski [robyurkowski!~robyurkow@bas2-longueuil15-3096771256.dsl.bell.ca] has joined #ruby
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
DarkFoxDK [DarkFoxDK!~darkfox@62.116.219.97] has joined #ruby
pantsman [pantsman!~pantsman@2.25.205.25] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
trivol [trivol!~aurelien@gra94-1-81-57-175-179.fbx.proxad.net] has joined #ruby
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby
EddieS [EddieS!~ed@212.59.167.161] has joined #ruby
dazoakley [dazoakley!~dazoakley@hocuspokus.vm.bytemark.co.uk] has joined #ruby
asQuirreL [asQuirreL!~amenon@93-96-10-147.zone4.bethere.co.uk] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby
adac [adac!~adac@clnet-kmu02-090.ikbnet.co.at] has joined #ruby
lorenzo [lorenzo!~quassel@217.33.106.3] has joined #ruby
<adac> hi guys. I do have 2 Integer numbers, which I don't know which one is bigger (they can also be equal btw.) what is a nice way to alyways subtract the smaller from the bigger integer?
bosphorus [bosphorus!~bosphorus@81.214.127.71] has joined #ruby
lorenzo_ [lorenzo_!~quassel@217.33.106.3] has joined #ruby
<t-mart> (a-b).abs
bastilian [bastilian!~bastilian@chello213047077012.23.11.vie.surfer.at] has joined #ruby
<banisterfiend> t-mart: very clever :P
<banisterfiend> actually that's not right
<banisterfiend> oh it is brb
<t-mart> why's that?
<banisterfiend> oh it is brb
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
Samoi [Samoi!~Salmon-fr@unaffiliated/root-ninja/x-7047552] has quit ["Leaving"]
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
vjacob [vjacob!~vjacob@87.61.170.233] 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
workmad3 [workmad3!~workmad3@vpn100.its.manchester.ac.uk] has joined #ruby
NinoScript [NinoScript!~Adium@pc-55-124-83-200.cm.vtr.net] has joined #ruby
xsdg [xsdg!~xsdg@SIPB-VM-99.MIT.EDU] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-097-077-221.pools.arcor-ip.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
maletor_ [maletor_!~maletor@c-69-181-32-226.hsd1.ca.comcast.net] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
zodiak [zodiak!~stef@cpe-75-84-218-68.socal.res.rr.com] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
ananthakumaran [ananthakumaran!~user@115.113.47.66] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
Seventoes [Seventoes!~Seventoes@2607:f7c0:1:df60:d056:fb00:0:34] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
Calvix [Calvix!~Calvix@ip-89-102-14-40.net.upcbroadband.cz] has joined #ruby
X99 [X99!~quassel@218.77.14.195] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
aziz_light [aziz_light!~aziz_ligh@85-168-220-242.rev.numericable.fr] has joined #ruby
clockwize [clockwize!~clockwize@81.19.48.130] has joined #ruby
MAD_ [MAD_!~MAD@mail.11labo.net] has joined #ruby
bjensen [bjensen!~brianj@2.110.166.0] has joined #ruby
<bjensen> I have some large yaml files in Rails, but I do not get a line reference or anything that will help me debug..any idea how I can get Psych to provide me with aline?
misc-ke [misc-ke!~misc-ke@87-194-64-202.bethere.co.uk] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
RichGuk [RichGuk!~RichGuk@carina.27smiles.com] has joined #ruby
dr_bob [dr_bob!c100f615@gateway/web/freenode/ip.193.0.246.21] has joined #ruby
igorbozato [igorbozato!~igorbozat@189.7.33.24] has joined #ruby
bbrandon [bbrandon!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-166-84-235.lnse5.cht.bigpond.net.au] has joined #ruby
psino [psino!~psino@unaffiliated/psino] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
<Tasser> is it accepted to say that there's a special place in hell for people who use 'raise Exception' without good reason?
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
xissburg [xissburg!~xissburg@189.102.48.152] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
<bjensen> nm ill ask somewhere else
nari_ [nari_!~nari@p929512.totrnt01.ap.so-net.ne.jp] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
maletor [maletor!~maletor@c-69-181-28-195.hsd1.ca.comcast.net] has joined #ruby
xissburg [xissburg!~xissburg@189.102.48.152] has joined #ruby
randym [randym!~randym@EM1-112-237-81.pool.e-mobile.ne.jp] has joined #ruby
ecolitan [ecolitan!~ecolitan@aaron.glamus.de] has joined #ruby
otakutomo [otakutomo!~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #ruby
bjensen [bjensen!~brianj@2.104.27.138] has joined #ruby
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
nari_ [nari_!~nari@p929512.totrnt01.ap.so-net.ne.jp] has joined #ruby
<shevy> Tasser sounds like buggy code
tk_ [tk_!~tk@p083061.doubleroute.jp] has joined #ruby
xissburg [xissburg!~xissburg@189.102.48.152] has joined #ruby
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
moshef [moshef!~moshef@84.94.109.182.cable.012.net.il] has joined #ruby
bobdobbs [bobdobbs!~user@unaffiliated/bobdobbs] has joined #ruby
<banisterfiend> er
<banisterfiend> is this a bug in ruby? [][-1] = 10 #=> IndexError: index -1 too small for array; minimum: 0
<rippa> works here
<nicksmith> an index of -1 in an array?
<rippa> ah, nope
<nicksmith> works for me too
<rippa> not works
<Mon_Ouie> No, it's not; the array doesn't have a last item if it's empty
<nicksmith> wait, also doesn't work oops
* nicksmith back to making coffee
<banisterfiend> Mon_Ouie: yet [][-1] works
<Mon_Ouie> Yeah, and so does [][1000]
<bobdobbs> How do I do "for each line in my multi-line string, do this thing here"?
<rippa> because [] and []= are different methods
<Mon_Ouie> bobdobbs: string.each_line do |line| … end
<bobdobbs> thanks
<banisterfiend> Mon_Ouie: [][100] = 10 works, but [][-1] does not, it's annoying because it means i have to special case code that i otherwise would not
<banisterfiend> i guess [][-2] = 10 is kind of weird though
<Mon_Ouie> But how would it know what index it should refer to in that case?
<Mon_Ouie> It's not an alias for push with other arrays either
william8 [william8!~willaim8@63.246.231.57] has joined #ruby
<banisterfiend> i guess you're right
jamesbrink [jamesbrink!~Adium@63-230-196-115.phnx.qwest.net] has quit [#ruby]
rpowell [rpowell!~rpowell@CPE-58-166-84-235.lnse5.cht.bigpond.net.au] has joined #ruby
mindgame [mindgame!mindgame@115.241.62.34] has joined #ruby
<banisterfiend> Mon_Ouie: did you see this? https://github.com/nixme/pry-nav
<banisterfiend> looks pretty cool
<mindgame> is there a cmd to autoupdate ruby ->1.9.3
<Tasser> mindgame, pacman -Syu
<Tasser> mindgame, or: use a package manager
<mindgame> in which directory?
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
Calvix [Calvix!~Calvix@ip-89-102-14-40.net.upcbroadband.cz] has quit [#ruby]
<bobdobbs> I'm trying to do something to a multi-line string, including capitalizing each line. I'm not getting errors, but I'm not getting capitalization: http://pastebin.com/Lq93zZrP
Cervajz_ [Cervajz_!~Cervajz@48.156.broadband12.iol.cz] has joined #ruby
<Mon_Ouie> Your string is capitalized already
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
Silker [Silker!~ponies@87.114.80.244] has joined #ruby
<bobdobbs> Mon_Ouie: when I run the script from a terminal, I'm not seeing capitalized strings
<bobdobbs> I'm sure I'm doing something lame and n00bish though
burgestrand [burgestrand!~burgestra@host.62.65.124.23.bitcom.se] has joined #ruby
<Mon_Ouie> Maybe not knowing what capitalized means?
<bobdobbs> hm. maybe
<Mon_Ouie> See the examples in String#capitalize
<bobdobbs> k
<mindgame> can someone tell a noob how to update ruby on windows? I downloaded it & am in readme. Run ./configure ??
<benj_> mindgame, sounds like you downloaded a unix version
<p0y> anyone having errors with instance of Date needs to have method `marshal_load'?
dekroning [dekroning!~dekroning@217.166.122.42] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
aziz_light [aziz_light!~aziz_ligh@85-168-220-242.rev.numericable.fr] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
<mindgame> ty benj_
tacco [tacco!teco@gateway/shell/c-base/x-yrsvpcamwuultmlf] has joined #ruby
<banisterfiend> anyone have experience setting up travis-ci for a project?
trivol [trivol!~aurelien@gra94-1-81-57-175-179.fbx.proxad.net] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
<adac> I need to execute a command line command. As far as i know you can use `COMMAND` for that. How can i do something like that: `COMMAND filename1` where filename1 is a ruby variable?
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
<Mon_Ouie> #{filename1}, but you would need proper escaping with this syntax
<Mon_Ouie> Prefer popen (or system if you don't need the output)
<adac> Mon_Ouie, yeah don't need the output, I try popen. thank you a lot!
<Mon_Ouie> system command, filename
jules2 [jules2!~Jules@cust-03-55bf2084.adsl.scarlet.nl] has joined #ruby
<jules2> what could be the cause of gem install [anything] saying ERROR: Could not find a valid gem '[anything]'' (>= 0) in any repository?
<Mon_Ouie> The gem not being present in the repository
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
<jules2> yes, although it happens for any gem, even those that are supposed to be there
banister_ [banister_!~baniseter@122.63.252.253] has joined #ruby
<adac> Mon_Ouie, is this wrong? output = IO.popen("ls -la")
<adac> output.readlines
<Mon_Ouie> It doesn't close the output
<adac> oh ok
<Mon_Ouie> As with other IO objects, prefer the block form
<Mon_Ouie> popen(…) do |io| … end
<adac> Mon_Ouie, kk, thank you again!
<burgestrand> jules2: what do you get if you type "gem sources"?
<jules2> *** CURRENT SOURCES ***
<burgestrand> jules2: alright, looks sane to me, no idea then
<jules2> i'm on windows, and i've tried to reinstall ruby (with rubyinstaller) but that didn't help
<jules2> also, gem update --system says it's already at the latest version, but gem -v says 1.8.9 (which is not the latest version according tot he website)
tvw [tvw!~tv@212.79.9.150] has joined #ruby
`brendan [`brendan!~b@66-208-246-34-ubr02b-waldlk01-mi.hfc.comcastbusiness.net] has joined #ruby
codefriar [codefriar!~codefriar@ip-200.it.rdu.bandwidth.com] has joined #ruby
<`brendan> morning
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
telling [telling!~grotta@176.9.244.139] has joined #ruby
Jules_ [Jules_!~Jules@cust-03-55bf2084.adsl.scarlet.nl] has joined #ruby
Jules__ [Jules__!~Jules@cust-03-55bf2084.adsl.scarlet.nl] has joined #ruby
Manhose [Manhose!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
dbgster [dbgster!~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com] has joined #ruby
theRoUS [theRoUS!KenCoar@nat/redhat/x-qvlsjijamlgkxlyu] has joined #ruby
theRoUS [theRoUS!KenCoar@apache/committer/coar] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
elliot98 [elliot98!~elliot@77.125.91.37] has joined #ruby
elliot98 [elliot98!~elliot@unaffiliated/elliot98] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby
Brozilla [Brozilla!~Brozilla@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
crankycoder [crankycoder!~crankycod@24-246-44-226.cable.teksavvy.com] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
p0y_ [p0y_!~p0y@122.52.126.66] has joined #ruby
X99 [X99!~quassel@218.77.14.195] has joined #ruby
_debo [_debo!~marco.deb@cpc18-enfi16-2-0-cust743.hari.cable.virginmedia.com] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
ephemerian [ephemerian!~ian@82-69-1-248.dsl.in-addr.zen.co.uk] has joined #ruby
clockwize_ [clockwize_!~clockwize@81.19.48.130] has joined #ruby
kuadrosx [kuadrosx!~quassel@186.87.191.80] has joined #ruby
gregorg [gregorg!~Greg@78.155.152.6] has joined #ruby
gregorg [gregorg!~Greg@unaffiliated/gregorg] has joined #ruby
Zanacross [Zanacross!~Serenity@adsl-83-100-181-95.karoo.KCOM.COM] has joined #ruby
macabre [macabre!~macabre@63.133.215.18] has joined #ruby
rboyd [rboyd!~rboyd@d3-6.rb3.clm.centurytel.net] has joined #ruby
codefriar [codefriar!~codefriar@ip-200.it.rdu.bandwidth.com] has joined #ruby
canton7 [canton7!~canton7@95.150.107.113] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
nari_ [nari_!~nari@p929512.totrnt01.ap.so-net.ne.jp] has joined #ruby
clockwize_ [clockwize_!~clockwize@81.19.48.130] has joined #ruby
tesmar [tesmar!~tesmar@adsl-98-69-187-198.rmo.bellsouth.net] has joined #ruby
clockwize_ [clockwize_!~clockwize@81.19.48.130] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
Kanolesic [Kanolesic!~Kanolesic@c-24-218-140-224.hsd1.ma.comcast.net] has joined #ruby
igorbozato [igorbozato!~igorbozat@189.7.33.24] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
ElitestFX [ElitestFX!~ElitestFX@static-173-48-96-99.bstnma.fios.verizon.net] has joined #ruby
ElitestFX [ElitestFX!~ElitestFX@unaffiliated/elitestfx] has joined #ruby
awesome [awesome!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-94-72-205-134.karoo.kcom.com] has joined #ruby
billy_ran_away [billy_ran_away!~billy_ran@173-167-194-14-ip-static.hfc.comcastbusiness.net] has joined #ruby
cjs226 [cjs226!~cjs226@rrcs-71-40-79-154.sw.biz.rr.com] has joined #ruby
Deesl [Deesl!~bsdboy@unaffiliated/deesl] has joined #ruby
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
mc_mac [mc_mac!~chatzilla@98.156.61.61] has joined #ruby
maletor [maletor!~maletor@c-69-181-28-195.hsd1.ca.comcast.net] has joined #ruby
bwlang [bwlang!~anonymous@70-91-134-14-ma-ne.hfc.comcastbusiness.net] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@64.254.250.82] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
vladyn [vladyn!~vlado@214-125.thezone.bg] has joined #ruby
pigdude [pigdude!~tallen@li61-243.members.linode.com] has joined #ruby
misc-ke [misc-ke!~misc-ke@87-194-64-202.bethere.co.uk] has joined #ruby
Sliker [Sliker!~ponies@31.185.187.190] has joined #ruby
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
norex [norex!~quassel@41-133-102-107.dsl.mweb.co.za] has joined #ruby
cousine [cousine!~cousine@196.221.61.89] has joined #ruby
tatsuya_o [tatsuya_o!~tatsuya_o@27-142-96-128.rev.home.ne.jp] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
pigdude [pigdude!~tallen@li61-243.members.linode.com] has quit [#ruby]
RomD [RomD!~Roman@nrbg-d9322fb3.pool.mediaWays.net] has joined #ruby
Manhose_ [Manhose_!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby
Manhose [Manhose!~Manhose@bl18-43-183.dsl.telepac.pt] has joined #ruby
dekroning [dekroning!~dekroning@217.166.122.42] has joined #ruby
Sailias [Sailias!~jonathan@69.158.82.233] has joined #ruby
zxiest [zxiest!~zxiest@213.204.78.78] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
bbttxu [bbttxu!~adam@nt8rsctf1.unt.ad.unt.edu] has joined #ruby
<zxiest> Hey =)