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/
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
<heftig>
geef: do a ||= 0 first
<heftig>
that will set it to 0 if it's nil or false
<robyurkowski>
you can even cheat and concatenate it into one line by doing (a ||= 0) += 5
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-15-43.cable.teksavvy.com] has joined #ruby
justfielding [justfielding!~justfield@ip70-178-131-208.ks.ks.cox.net] has joined #ruby
virunga [virunga!~virunga@151.64.38.182] has joined #ruby
<epitron>
a = (a ? 5 : a + 5)
<epitron>
oops
<epitron>
a = (a ? a + 5 : 5)
<epitron>
heftig's is nicer though
<epitron>
robyurkowski: you can't do that
<epitron>
its like saying: 5 += 4
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
bigkm [bigkm!~bigkm@123-243-191-137.static.tpgi.com.au] has joined #ruby
xpot-mobile [xpot-mobile!~james@70-91-210-237-BusName-Utah.hfc.comcastbusiness.net] has joined #ruby
<robyurkowski>
epitron, you can do it
<robyurkowski>
the result of the first expression is A
<robyurkowski>
the second is a += 5
<epitron>
the result is 0
<epitron>
not a
<robyurkowski>
ah, true
<robyurkowski>
my mistake
<robyurkowski>
a = (a || 0) += 5
<epitron>
you still can't do that
<robyurkowski>
herp derp
<robyurkowski>
s/+=/+
<robyurkowski>
that one was an honest to god typo >_>
<epitron>
there you go
<epitron>
:)
skaczor [skaczor!~quassel@mail.prognosoft.biz] has joined #ruby
<epitron>
that is a nice looking solution
<epitron>
i like that better than a||=0; a+=5
<epitron>
a = (a || 0) + 5
<epitron>
hurrrmm
<epitron>
that's a hard one actually.. they both look weird :)
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
ziggles [ziggles!~ziggles@c-24-6-247-92.hsd1.ca.comcast.net] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
zalesz [zalesz!~zalesz@user-164-127-13-71.play-internet.pl] has joined #ruby
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
bigkm [bigkm!~bigkm@123-243-191-137.static.tpgi.com.au] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
fixl [fixl!~fixl@124-170-21-28.dyn.iinet.net.au] has joined #ruby
philcrissman_ [philcrissman_!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
andreime [andreime!~andrei@188.24.80.246] has joined #ruby
achiu [achiu!~Adium@ip68-5-18-17.oc.oc.cox.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
<zalesz>
hi, has somebody used ruby/opencv wrapper, or maybe knew about some docs for that ?
binarychef [binarychef!~binaryche@adsl-74-226-102-163.mem.bellsouth.net] has joined #ruby
PragCypher [PragCypher!~kapone@208.157.149.45] has joined #ruby
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
andrewhl [andrewhl!~andrew@67.70.227.10] has joined #ruby
philcrissman_ [philcrissman_!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
ChampS666 [ChampS666!~ChaosBot@p54B4A48A.dip.t-dialin.net] has joined #ruby
QaDeS_ [QaDeS_!~mklaus@frbg-5f7326a2.pool.mediaWays.net] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
fermion [fermion!~textual@pool-108-7-224-176.bstnma.fios.verizon.net] has joined #ruby
notbrent [notbrent!~notbrent@142.179.34.62] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has quit [#ruby]
philcrissman_ [philcrissman_!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
daniel_hinojosa1 [daniel_hinojosa1!~danno@67-0-117-93.albq.qwest.net] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
advorak [advorak!~advorak@216-15-16-163.c3-0.161-ubr1.lnh-161.md.cable.rcn.com] has joined #ruby
fayimora [fayimora!~fayimora@95.175.159.12] has joined #ruby
looopy [looopy!~looopy@pool-141-156-50-228.washdc.btas.verizon.net] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
virunga [virunga!~virunga@151.64.38.182] has joined #ruby
ryh [ryh!~ryh@174.45.125.160] has joined #ruby
leoncamel [leoncamel!~user@KD175129170046.ppp-bb.dion.ne.jp] has joined #ruby
advorak [advorak!~advorak@216-15-16-163.c3-0.161-ubr1.lnh-161.md.cable.rcn.com] has quit ["Leaving"]
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby
fayimora [fayimora!~fayimora@95.175.159.12] has joined #ruby
epochwolf [epochwolf!~epochwolf@unaffiliated/epochwolf] has joined #ruby
freelanceful [freelanceful!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
looopy [looopy!~looopy@pool-141-156-50-228.washdc.btas.verizon.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@173-13-150-22-sfba.hfc.comcastbusiness.net] has joined #ruby
kevinbond [kevinbond!~kevinbond@adsl-070-147-101-131.sip.mco.bellsouth.net] has joined #ruby
cgag [cgag!~cgag@65.28.12.212] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
nari [nari!~nari@p62e32d.totrnt01.ap.so-net.ne.jp] has joined #ruby
leoncamel [leoncamel!~user@KD175129170046.ppp-bb.dion.ne.jp] has joined #ruby
freelanceful [freelanceful!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
C0deMaver1ck [C0deMaver1ck!~C0deMaver@adsl-98-95-89-162.jan.bellsouth.net] has joined #ruby
fungoat [fungoat!~fungoat@230.163.91.184.cfl.res.rr.com] has joined #ruby
indigo747 [indigo747!~atamis@dsl-68-170-178-212.dhcp.cruzio.com] has joined #ruby
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
al3xnull [al3xnull!~al3xnull@cpe-76-188-178-7.neo.res.rr.com] has joined #ruby
kevinbond [kevinbond!~kevinbond@adsl-070-147-101-131.sip.mco.bellsouth.net] has joined #ruby
kevinbond [kevinbond!~kevinbond@adsl-070-147-101-131.sip.mco.bellsouth.net] has joined #ruby
pantsman [pantsman!~pantsman@2.27.111.111] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
Ajay_ [Ajay_!~aroop@50.46.157.247] has joined #ruby
C0deMaver1ck_ [C0deMaver1ck_!~C0deMaver@adsl-98-95-89-162.jan.bellsouth.net] has joined #ruby
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
Sliker [Sliker!~ponies@87.115.38.58] has joined #ruby
tomzx [tomzx!~tomzx@70.52.27.16] has joined #ruby
n8ji [n8ji!~n8ji@c-76-105-192-7.hsd1.or.comcast.net] has joined #ruby
leoncamel [leoncamel!~user@KD175129170046.ppp-bb.dion.ne.jp] has joined #ruby
discypher [discypher!~Adium@71-212-144-159.hlrn.qwest.net] has joined #ruby
rrrreimer [rrrreimer!~rrrreimer@krsn-4d0b8f6c.pool.mediaWays.net] has quit ["Leaving"]
indigo747 [indigo747!~atamis@dsl-68-170-178-212.dhcp.cruzio.com] has joined #ruby
niklasb [niklasb!~codeslay0@p5B310140.dip0.t-ipconnect.de] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-71-205-218-131.hsd1.mi.comcast.net] has joined #ruby
tilde` [tilde`!~tilde@host43-198-dynamic.12-79-r.retail.telecomitalia.it] has joined #ruby
philcrissman_ [philcrissman_!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
kakashi__ [kakashi__!~kakashi_@nltk/kakashi] has joined #ruby
Che-Anarc [Che-Anarc!~leonmcnie@81.68.63.71] has joined #ruby
<Che-Anarc>
Is there any server side html parser / grabber? - I want a way of previewing / editing someone elses site via a an online tool?
radic [radic!~radic@dslb-178-007-135-178.pools.arcor-ip.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@50-0-128-97.dsl.dynamic.sonic.net] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-71-205-218-131.hsd1.mi.comcast.net] has joined #ruby
GSpotAssassin [GSpotAssassin!~u4086@gateway/web/irccloud.com/x-bieuvrxcfljhrgwn] has joined #ruby
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
stringoO [stringoO!~JLstring@bas1-toronto42-1279600012.dsl.bell.ca] has joined #ruby
mcvie [mcvie!~Mike@187.156.78.180] has joined #ruby
Targen [Targen!~iguana@190.39.181.108] has joined #ruby
Doppp [Doppp!~Doppp@unaffiliated/doppp] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
mcvie [mcvie!~Mike@187.156.78.180] has quit [#ruby]
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
Doppp [Doppp!~Doppp@unaffiliated/doppp] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
frist441 [frist441!~Adium@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
freenodiz [freenodiz!~IceChat77@unaffiliated/freenodiz] has joined #ruby
p1d_ [p1d_!~p1d@dslb-088-065-175-006.pools.arcor-ip.net] has joined #ruby
looopy [looopy!~looopy@pool-141-156-50-228.washdc.btas.verizon.net] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.210.123] has joined #ruby
Overdestined [Overdestined!~Overdesti@adsl-74-179-110-39.gnv.bellsouth.net] has joined #ruby
<Overdestined>
Sup
<Overdestined>
Do we have any digg users in here? o_O
cesario [cesario!u2444@gateway/web/irccloud.com/x-kjteryjwiuemzoat] has joined #ruby
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-hwekmggaqzzbjbfw] has joined #ruby
SeanTAllen [SeanTAllen!u4855@gateway/web/irccloud.com/x-nyagyjcjfgvgwxad] has joined #ruby
tomzx [tomzx!~tomzx@70.52.27.16] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.204.247] has joined #ruby
burg02 [burg02!44af70fb@gateway/web/freenode/ip.68.175.112.251] has joined #ruby
<burg02>
anybody can please advise on a library for GData v3 for ruby/rails ?
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
Barakas [Barakas!~v@77.242.201.53] has joined #ruby
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-daoibygnfpcdfohk] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-117-93.albq.qwest.net] has joined #ruby
denysonique_ [denysonique_!u484@gateway/web/irccloud.com/x-cdngytadijycekba] has joined #ruby
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
GSpotAssassin [GSpotAssassin!u4086@gateway/web/irccloud.com/x-ypnuupcdvoddnsji] has joined #ruby
Barakas [Barakas!~v@77.242.201.52] has joined #ruby
andrewhl [andrewhl!~andrew@24.246.15.43] has joined #ruby
stand1357 [stand1357!~worker@l49-155-122.cn.ru] has joined #ruby
baroquebobcat [baroquebobcat!~nick@67.176.80.121] has joined #ruby
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-cgoibqvgkiuslokt] has joined #ruby
urbann [urbann!~urbann@c-2ec26f0a-74736162.cust.telenor.se] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.171.37] has joined #ruby
<urbann>
hi all
<urbann>
how do you ignore undefined methods in a file?
<urbann>
(if you do not know the names so you can set them to nil)
<banisterfiend>
urbann: wtf
<urbann>
It is not so stupid as it sounds
<banisterfiend>
urbann: prove it hehehe, actually i dont think it's stupid i just dont undersatnd what u mean really
<urbann>
I want to be able to put system commands in my rails application template
fcoury [fcoury!u2238@gateway/web/irccloud.com/x-upkxtbhowdxhtgcs] has joined #ruby
<urbann>
all the thor actions I then need to ignore
<urbann>
I don't want to set all to nil because maybe I want to define new later
<urbann>
does that make sense?
<banisterfiend>
urbann: i dont think it makes sense, you should forget programming and go black water rafting instead (like white water rafting but inside caves, it's qutie extraordinary really)
SeanTAllen [SeanTAllen!u4855@gateway/web/irccloud.com/x-mssjmdsmyidydhif] has joined #ruby
<urbann>
why does it not make sense? how should you solve the problem then ?
j3r0m3 [j3r0m3!~j3r0m3@50-0-128-97.dsl.dynamic.sonic.net] has quit ["Leaving"]
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
esparkman [esparkman!~esparkman@unaffiliated/esparkman] has joined #ruby
<urbann>
basically I want to be able to write my rails app in one file, starting with rvm gem versions, rails app name, rails g model and so on ..
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby
<ryanf>
urbann: I have no idea what you're talking about but rescue can swallow NoMethodError if you want it to
<ryanf>
that sounds a lot more like a shell script though
Che-Anarch [Che-Anarch!~leonmcnie@81.68.63.71] has joined #ruby
mikeric [mikeric!~mike@96.49.104.11] has joined #ruby
tayy [tayy!~tayy@208.59.93.230] has joined #ruby
<urbann>
ryanf thanks
Che-Anarc [Che-Anarc!~leonmcnie@81.68.63.71] has joined #ruby
stringoO [stringoO!~JLstring@bas1-toronto42-1279599516.dsl.bell.ca] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.235.207] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-smfurxggkwbucwhm] has joined #ruby
cesario [cesario!u2444@gateway/web/irccloud.com/x-elavijdvmbtiqcjc] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
kwoodson [kwoodson!kvirc@nat/redhat/x-dqgardvwjeolazlg] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
Elfix [Elfix!elfix@wikipedia/pdpc.21for7.elfix] has joined #ruby
discypher [discypher!~Adium@71-212-144-159.hlrn.qwest.net] has quit [#ruby]
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-sddpdmthgrwzcfcv] has joined #ruby
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-tlalfwmtaigilatb] has joined #ruby
eldariof [eldariof!~CLD@PPPoE-78-29-105-72.san.ru] has joined #ruby
stand1357 [stand1357!~worker@l49-155-122.cn.ru] has joined #ruby
nari_ [nari_!~nari@p86be1c.totrnt01.ap.so-net.ne.jp] has joined #ruby
siko_way [siko_way!~putra_arr@103.3.20.74] has joined #ruby
siko_way [siko_way!~putra_arr@103.3.20.74] has quit [#ruby]
ciopte7_ [ciopte7_!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
ciopte7 [ciopte7!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-35-225-92.dsl.pltn13.sbcglobal.net] has joined #ruby
tk [tk!~tk@p252193.doubleroute.jp] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
priteshjain_ [priteshjain_!~priteshja@113.193.43.127] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.120.60.40] has joined #ruby
tuppy [tuppy!~quassel@ip68-231-151-143.tc.ph.cox.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
thone_ [thone_!~thone@g225086243.adsl.alicedsl.de] has joined #ruby
looopy [looopy!~looopy@pool-141-156-50-228.washdc.btas.verizon.net] has joined #ruby
aces1up [aces1up!~aces1up@ip70-173-232-11.lv.lv.cox.net] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
<aces1up>
is there anything anyone can see with generating a uuid via Time.now.to_i + rand(999999) ???
<aces1up>
a problem with that?
seb_ [seb_!~seb@lns-bzn-33-82-252-6-170.adsl.proxad.net] has joined #ruby
ziggles [ziggles!~ziggles@c-24-6-247-92.hsd1.ca.comcast.net] has joined #ruby
Marco [Marco!~marco@Marco-2.Kiewit.dartmouth.edu] has joined #ruby
codespectator [codespectator!~codespect@host-78-144-246-252.as13285.net] has joined #ruby
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
ben_alman [ben_alman!~cowboy@awesome.benalman.com] has joined #ruby
neo_ [neo_!Andromeda@2001:4ba0:cafe:4d8::1] has joined #ruby
<neo_>
hi
igaiga [igaiga!~igaiga@w0109-49-134-239-21.uqwimax.jp] has joined #ruby
araujo [araujo!~araujo@190.73.44.29] has joined #ruby
araujo [araujo!~araujo@gentoo/developer/araujo] has joined #ruby
Sliker [Sliker!~ponies@87.115.38.58] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
markruby [markruby!~markruby@75-25-138-103.lightspeed.plalca.sbcglobal.net] has joined #ruby
Andromeda [Andromeda!Andromeda@unaffiliated/darkc0met] has joined #ruby
krzkrzkrz [krzkrzkrz!~foobar@182.16.234.9] has joined #ruby
krzkrzkrz [krzkrzkrz!~foobar@unaffiliated/krz] has joined #ruby
yxhuvud [yxhuvud!mongo@h-209-13.a212.priv.bahnhof.se] has joined #ruby
Andromeda [Andromeda!Andromeda@unaffiliated/darkc0met] has quit [#ruby]
emanu [emanu!~emanu@c-98-234-234-224.hsd1.ca.comcast.net] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
andreime [andreime!~andrei@188.24.81.232] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
fayimora [fayimora!~fayimora@109.175.187.177] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
shevy [shevy!~shevy@178-191-189-9.adsl.highway.telekom.at] has joined #ruby
pietro [pietro!~pietro@2-227-162-47.ip187.fastwebnet.it] has joined #ruby
daglees [daglees!~belvedere@unaffiliated/daglees] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
Guedes [Guedes!~guedes@unaffiliated/guedes] has joined #ruby
yojimbo [yojimbo!~yojimbo@p4086-ipbf2303marunouchi.tokyo.ocn.ne.jp] has joined #ruby
<yojimbo>
hi
<yojimbo>
I've been struggling installing ror-e
<yojimbo>
because of some gem installation
<yojimbo>
Gem::InstallError: linecache19 requires Ruby version >= 1.9.2.
<yojimbo>
any idea why there is such a conflict? :o
yuni [yuni!~reny@112.215.63.65] has joined #ruby
eldariof [eldariof!~CLD@PPPoE-78-29-67-216.san.ru] has joined #ruby
Asher [Asher!~asher@98.158.127.150] has joined #ruby
kloeri [kloeri!~kloeri@freenode/staff/exherbo.kloeri] has joined #ruby
cyri_ [cyri_!~cyri_@jem75-1-87-88-118-80.dsl.sta.abo.bbox.fr] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
rpowell [rpowell!~rpowell@CPE-124-184-229-113.lns11.cht.bigpond.net.au] has joined #ruby
<ewag>
yojimbp: i do not know why you are having trouble. You can try 'which ruby' to see which one you are using. Or you can try RVM and set up specific rubies and gemsets for your scripts.
ly- [ly-!~ly-@unaffiliated/ly-] has joined #ruby
emanu [emanu!~emanu@c-98-234-234-224.hsd1.ca.comcast.net] has quit [#ruby]
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
axarob [axarob!~johnjohn@41.59.0.166] has joined #ruby
Helius [Helius!~Adium@93-35-252-4.ip57.fastwebnet.it] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
shlim [shlim!~mark@c-98-210-64-10.hsd1.ca.comcast.net] has joined #ruby
shlim [shlim!~mark@c-98-210-64-10.hsd1.ca.comcast.net] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
rpowell [rpowell!~rpowell@CPE-124-184-229-113.lns11.cht.bigpond.net.au] has joined #ruby
kakashi__ [kakashi__!~kakashi_@nltk/kakashi] has joined #ruby
faber [faber!~faber@adsl-ull-163-211.50-151.net24.it] has joined #ruby
punkrawkR [punkrawkR!~freddiebo@h-9-122.a328.priv.bahnhof.se] has joined #ruby
jbpros [jbpros!~jbpros@29-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
MetaCosm [MetaCosm!u514@gateway/web/irccloud.com/x-aoqezotxqnzsrhjm] has joined #ruby
danishman [danishman!~kvirc@0x5da0ec2a.cpe.ge-0-1-0-1104.ronnqu1.customer.tele.dk] has joined #ruby
Staal_Burger [Staal_Burger!~johan@196-210-200-161.dynamic.isadsl.co.za] has joined #ruby
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-ccccgbkbrcbzvzqb] has joined #ruby
fcoury [fcoury!u2238@gateway/web/irccloud.com/x-lyeiqofmmakmwdul] has joined #ruby
cesario [cesario!u2444@gateway/web/irccloud.com/x-cynwwgfvcjojsjmu] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
palcu [palcu!~alex@89.122.187.223] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
SeanTAllen [SeanTAllen!u4855@gateway/web/irccloud.com/x-itxntfhybdfccqwd] has joined #ruby
patricksroberts [patricksroberts!u3278@gateway/web/irccloud.com/x-cagesjztaqrxsflt] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
manizzle [manizzle!~manizzle@pcp046660pcs.pcv.reshall.calpoly.edu] has joined #ruby
zxiest [zxiest!~zxiest@213.204.65.207] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-091-096-124-204.ewe-ip-backbone.de] has joined #ruby
antonsk [antonsk!~Adium@85-131-179-94.pool.ukrtel.net] has joined #ruby
punkrawkR [punkrawkR!~freddiebo@h-9-122.a328.priv.bahnhof.se] has joined #ruby
zxiest[a] [zxiest[a]!~zxiest@213.204.65.207] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
atmosx [atmosx!~atmosx@191.116.broadband5.iol.cz] has joined #ruby
pantsman [pantsman!~pantsman@2.27.111.111] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
affix [affix!~affix@184.164.138.250] has joined #ruby
fixl [fixl!~fixl@124-170-21-28.dyn.iinet.net.au] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.241.229.177] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-35-225-92.dsl.pltn13.sbcglobal.net] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-35-225-92.dsl.pltn13.sbcglobal.net] has joined #ruby
pen [pen!~pen@140.112.30.144] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
Locke23rus [Locke23rus!~quassel@128-70-111-50.broadband.corbina.ru] has joined #ruby
affix_ [affix_!~affix@184.164.138.250] has joined #ruby
stringoO [stringoO!~JLstring@bas1-toronto42-1279598844.dsl.bell.ca] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
quest88 [quest88!~quest88@c-98-207-205-137.hsd1.ca.comcast.net] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.241.229.177] has joined #ruby
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
p0y [p0y!~p0y@121.97.55.232] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
stand13571 [stand13571!~worker@l49-155-122.cn.ru] has joined #ruby
josemota [josemota!~josemota@bl18-119-107.dsl.telepac.pt] has joined #ruby
stand1357 [stand1357!~worker@l49-155-122.cn.ru] has joined #ruby
axarob [axarob!~johnjohn@41.59.0.166] has quit ["Leaving"]
stand1357 [stand1357!~worker@l49-155-122.cn.ru] has quit [#ruby]
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
Sliker [Sliker!~ponies@87.115.38.58] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
Russell^^ [Russell^^!~Russell^^@88.97.51.87] has joined #ruby
elliot_ [elliot_!~elliot@IGLD-84-229-168-250.inter.net.il] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
priteshjain [priteshjain!~priteshja@113.193.47.245] has joined #ruby
Affix [Affix!~affix@fedora/Affix] has joined #ruby
nd___ [nd___!~nd@mnhm-590e4561.pool.mediaWays.net] has joined #ruby
hron84 [hron84!~hron@catv-80-99-178-192.catv.broadband.hu] has joined #ruby
trivol [trivol!~aurelien@81.57.175.21] has joined #ruby
<hron84>
Hi! I trying use xmlrpc/client library, and i ran into some strange issue. Every 2nd call is failing. I trying create xmlrpc client with new2 method based on a URL, and I creating a proxy from it. I tried do it without proxy, but the result is same. The exception what i got is EOFError.
<hron84>
What can be a problem?
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
<hron84>
Doh, it was a timeout problem
<hron84>
nope
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
nicoulaj [nicoulaj!~nicoulaj@pas38-5-82-244-59-208.fbx.proxad.net] has joined #ruby
QaDeS [QaDeS!~mklaus@frbg-5f7326a2.pool.mediaWays.net] has joined #ruby
Sliker [Sliker!~ponies@87.115.38.58] has joined #ruby
priteshjain [priteshjain!~priteshja@113.193.47.245] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
Doppp [Doppp!~Doppp@unaffiliated/doppp] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
Natch| [Natch|!~natch@178.73.216.32] has joined #ruby
double_t [double_t!~trey@c-67-160-134-243.hsd1.wa.comcast.net] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
<double_t>
I'm having a problem with irb that is driving me absolutely bonkers, if I anyone could steer me in the right direction it would be greatly appreciated:
<double_t>
I installed ruby-1.9.3-p0 from source on my Fedora 16 system. Everything works alright for the most part, but when I'm using irb I can't clear the screen with ctrl-L like I should be able to.
priteshjain [priteshjain!~priteshja@113.193.47.245] has joined #ruby
<UdontKnow>
double_t: what kind of terminal are you using? can you clear your screen in shell with the same ctrl-l?
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
<double_t>
I'm using the standard GNOME terminal
<double_t>
yes I can
niklasb [niklasb!~codeslay0@p5B311B2A.dip0.t-ipconnect.de] has joined #ruby
<UdontKnow>
double_t: did you build it with readline support?
<UdontKnow>
double_t: try irb --readline
<UdontKnow>
double_t: (did you have the devel files for readline installed when you built it?:)
<double_t>
perhaps I did not.
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
<double_t>
irb --readline brings me into the irb terminal as normal.
lkba [lkba!~AndChat@bpa160.neoplus.adsl.tpnet.pl] has joined #ruby
<UdontKnow>
double_t: it should, anyways
oponder [oponder!~oponder@145-118-116-102.fttx.bbned.nl] has joined #ruby
<UdontKnow>
double_t: --readline tries to force the use of readline. can you ctrl-l from there?
<double_t>
nope
<UdontKnow>
double_t: but if it wasnt built with readline support, maybe you need to rebuild it
<double_t>
ahh crap. let me just rebuild it first from root again and ask more later.
<double_t>
thank you.
<double_t>
UdontKnow: pardon my weak irc ettiquette.
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
<UdontKnow>
double_t: readline support relies on libraries and headers present on your system, they are not part of ruby :)
<UdontKnow>
double_t: ruby uses it if you tell it to, otherwise it just works another way :)
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
araujo [araujo!~araujo@gentoo/developer/araujo] has joined #ruby
p0y_ [p0y_!~p0y@112.210.48.90] has joined #ruby
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
tilde` [tilde`!~tilde@host43-198-dynamic.12-79-r.retail.telecomitalia.it] has joined #ruby
p0y [p0y!~p0y@121.96.188.176] has joined #ruby
<double_t>
UdontKnow: I installed an earlier version of ruby through yum on an identical system, and ctrl-l works perfectly fine. This would me think that the libraries and headers are present on this system as well.
Behi [Behi!~Behi@CPE-120-144-47-154.lnse5.win.bigpond.net.au] has joined #ruby
PragCypher [PragCypher!~kapone@208.157.149.45] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
virunga [virunga!~virunga@151.64.47.191] has joined #ruby
<UdontKnow>
double_t: headers are only needed to build, not to run
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
jbpros [jbpros!~jbpros@29-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
double_t [double_t!~trey@c-67-160-134-243.hsd1.wa.comcast.net] has joined #ruby
<Keva161>
im readig a few tutorials and its talking about ARGV.. ive search online, tyried typing RI.. into my terminal and consulted a few books but I can't seem to find an explantion :/ can anyone help?
vmatiyko [vmatiyko!~vmatiyko@178.120.60.40] has joined #ruby
<banisterfiend>
Keva161: == command line arguments
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
<Keva161>
ahh ok
<Keva161>
thanks!
dekroning_ [dekroning_!~dekroning@541B931D.cm-5-4c.dynamic.ziggo.nl] has joined #ruby
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
awesome [awesome!~awesome@91.76.9.46.customer.cdi.no] has joined #ruby
canton7 [canton7!~canton7@87-194-161-58.bethere.co.uk] has joined #ruby
amacgregor_ [amacgregor_!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
kapowaz [kapowaz!u546@gateway/web/irccloud.com/x-rplewznczzlgjsxq] has joined #ruby
wenbert [wenbert!~wenbert@120.28.198.188] has joined #ruby
codespectator [codespectator!~codespect@host-84-13-33-220.opaltelecom.net] has joined #ruby
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
strevat_ [strevat_!~strevat@c-24-128-190-16.hsd1.ma.comcast.net] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
iamjarvo [iamjarvo!~Adium@c-71-230-13-201.hsd1.nj.comcast.net] has joined #ruby
clockwize [clockwize!~clockwize@5ac85c0d.bb.sky.com] has joined #ruby
td123 [td123!~tom@archlinux/trusteduser/td123] has joined #ruby
p0y [p0y!~p0y@121.97.55.232] has joined #ruby
btanaka [btanaka!~textual@173-228-34-51.dsl.dynamic.sonic.net] has joined #ruby
`brendan [`brendan!~b@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
kloeri [kloeri!~kloeri@freenode/staff/exherbo.kloeri] has joined #ruby
colint [colint!~ColinT@187.146.208.69] has joined #ruby
desireco_ [desireco_!~textual@108-217-153-195.lightspeed.cicril.sbcglobal.net] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-35-225-92.dsl.pltn13.sbcglobal.net] has joined #ruby
priteshjain [priteshjain!~priteshja@113.193.47.245] has joined #ruby
Nies [Nies!~Nies@225.Red-79-158-41.staticIP.rima-tde.net] has joined #ruby
ChampS666 [ChampS666!~ChampS@p579C5744.dip.t-dialin.net] has joined #ruby
antonsk [antonsk!~Adium@85-131-179-94.pool.ukrtel.net] has joined #ruby
double_t [double_t!~trey@c-67-160-134-243.hsd1.wa.comcast.net] has quit [#ruby]
double_t [double_t!~trey@c-67-160-134-243.hsd1.wa.comcast.net] has joined #ruby
palcu [palcu!~alex@89.122.187.223] has joined #ruby
paissad [paissad!~paissad@89-92-16-151.hfc.dyn.abo.bbox.fr] has joined #ruby
pietro [pietro!~pietro@2-227-162-47.ip187.fastwebnet.it] has joined #ruby
tomzx [tomzx!~tomzx@70.52.27.16] has joined #ruby
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.120.60.40] has joined #ruby
RomD [RomD!~Roman@nrbg-4d076bd7.pool.mediaWays.net] has joined #ruby
TomJ_ [TomJ_!~TomJ@unaffiliated/tomj] has joined #ruby
jmunro_ [jmunro_!~jmunro@71-211-167-81.hlrn.qwest.net] has joined #ruby
jmunro_ [jmunro_!~jmunro@71-211-167-81.hlrn.qwest.net] has quit [#ruby]
waxjar [waxjar!~waxjar@82-170-1-70.ip.telfort.nl] has joined #ruby
elliot_ [elliot_!~elliot@IGLD-84-229-168-250.inter.net.il] has joined #ruby
elliot98 [elliot98!~elliot@unaffiliated/elliot98] has joined #ruby
antonsk [antonsk!~Adium@85-131-179-94.pool.ukrtel.net] has joined #ruby
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
kwoodson [kwoodson!kvirc@nat/redhat/x-aybtokwgmtbqycnp] has joined #ruby
Che-Anarc [Che-Anarc!~leonmcnie@095-097-133-226.static.chello.nl] has joined #ruby
_|christian|_ [_|christian|_!~christian@190.233.236.252] has joined #ruby
Targen [Targen!~iguana@190.39.181.108] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-53-87.singnet.com.sg] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] 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
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
ale` [ale`!~user@dynamic-adsl-84-221-139-23.clienti.tiscali.it] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
philcrissman_ [philcrissman_!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
moeSeth [moeSeth!u1029@gateway/web/irccloud.com/x-wmqkeaegmwgituxt] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-15-43.cable.teksavvy.com] has joined #ruby
iamjarvo [iamjarvo!~Adium@c-71-230-13-201.hsd1.nj.comcast.net] has joined #ruby
leoncamel [leoncamel!~user@KD175129170046.ppp-bb.dion.ne.jp] has joined #ruby
gener1c [gener1c!~gener1c@unaffiliated/gener1c] has joined #ruby
<gener1c>
does anybody know how to do a shift on a nokogiri set?
BoF [BoF!~netcat@unaffiliated/bof] has joined #ruby
sh3llbac [sh3llbac!sh3llbac@209.59.81.12] has joined #ruby
<shevy>
a few things
<shevy>
when you use case
<iamjarvo>
i think i can try up the references to the data because some of them are the same like this condition = @xml["weather"][0]["current_conditions"][0]
<shevy>
I would align the when right at where the case is
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
mxweas [mxweas!~max@mobile-198-228-199-234.mycingular.net] has joined #ruby
<shevy>
iamjarvo yes. also you are less likely to mess up indenting or miss an "end"
<shevy>
those three methods
<shevy>
if they use the data of @location anyway
<shevy>
you can omit it, and set that as the default value
<shevy>
def current(i = @location)
<shevy>
and then just call current() without @location
<iamjarvo>
ahh interesting
<shevy>
btw your indents are not always consistent
<shevy>
I would recommend to consistently use two spaces
<shevy>
also you can use
<shevy>
if __FILE__ == $PROGRAM_NAME
<shevy>
before weather = Weather.new
<shevy>
then you can use that class lateron in any larger project you use
<shevy>
without it instantly running
<shevy>
otherwise it seems ok
<shevy>
I myself prefer to do stuff like
<shevy>
loop {
<shevy>
fetch_user_input
<shevy>
check_against_menu
<shevy>
}
adamjleonard [adamjleonard!~adamjleon@pool-108-9-169-222.tampfl.fios.verizon.net] has joined #ruby
<iamjarvo>
is program_name set to something or is that something from command line
<iamjarvo>
shevy: ^
<shevy>
it is a global variable
<shevy>
I think it is an alias to $0 or something
<shevy>
if __FILE__ == $0
<shevy>
it is always available in all of ruby iamjarvo
<iamjarvo>
o ok
<iamjarvo>
shevy: so you would loop and break out of it so then you wouldnt have to check twice for quit as i do with the while
<shevy>
well if it works in your program it is fine
<shevy>
I dont like "while" myself
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
<iamjarvo>
ive seen other ppl say they dont like while
altivec [altivec!~altivec@95.105.17.144.dynamic.ufanet.ru] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
<iamjarvo>
shevy: do you think its worth cleaning up the current method
<shevy>
iamjarvo you need to find your own style, then you need to make those decisions on your own. If I see code that does not fit my style, and I have to work it, then I always rework the style as much as possible to fit to my style
<iamjarvo>
good idea
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
robert_ [robert_!~hellspawn@static-96-254-212-18.tampfl.fios.verizon.net] has joined #ruby
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
<josefig>
hello, do you know what is the name of the package openssl-ruby1.8 on CentOS 6 ? I installed Ruby1.8.7 via rvm
jergason [jergason!~jergason@c-67-182-209-164.hsd1.ut.comcast.net] has joined #ruby
fayimora [fayimora!~fayimora@109.175.187.177] has joined #ruby
tomzx [tomzx!~tomzx@70.52.27.16] has joined #ruby
dankest [dankest!~dankest@ip184-187-165-135.sb.sd.cox.net] has joined #ruby
bluOxigen [bluOxigen!~noreply@unaffiliated/bluOxigen] has joined #ruby
nicoulaj [nicoulaj!~nicoulaj@pas38-5-82-244-59-208.fbx.proxad.net] has joined #ruby
pietro [pietro!~pietro@2-227-162-47.ip187.fastwebnet.it] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-83-100-189-243.karoo.KCOM.COM] has joined #ruby
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
Darren [Darren!~textual@41-132-236-253.dsl.mweb.co.za] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-117-93.albq.qwest.net] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
stringoO [stringoO!~JLstring@bas1-toronto42-1279598844.dsl.bell.ca] has joined #ruby
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
<Mon_Ouie>
If you use rvm, you should use it to install components of stdlib too
<Mon_Ouie>
If the openssl ext wasn't built, it's probably because you didn't have the OpenSSL C lib (and headers) installed when you built ruby
<Mon_Ouie>
So you have to install those and rebuild Ruby
Darren [Darren!~textual@41-132-236-253.dsl.mweb.co.za] has quit ["Textual IRC Client: http://www.textualapp.com/"]
geekbri [geekbri!~geekbri@pool-108-49-79-18.bstnma.fios.verizon.net] has joined #ruby
roadze [roadze!~roadze@119.224.137.97] has joined #ruby
banister`sleep [banister`sleep!~baniseter@118.82.185.158] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has joined #ruby
inteq [inteq!~justin.si@adsl-74-232-96-126.asm.bellsouth.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has quit [#ruby]
frist44 [frist44!~Adium@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
charlenopires [charlenopires!~quassel@186.194.13.186] has joined #ruby
salamandyr [salamandyr!~jaxon@cpe-76-171-224-188.socal.res.rr.com] has joined #ruby
tshauck [tshauck!~tshauck@cpe-69-76-176-108.kc.res.rr.com] has joined #ruby
altivec [altivec!~altivec@136.169.207.44] has joined #ruby
<salamandyr>
i've moved a RoR app to a new server, and after rebuilding an old version of ruby / sqlite / rails there i'm getting errors when trying to start
<salamandyr>
not sure how to interpret: http://pastebin.com/mB4abwj4 and nothing is being written into the log, sadly.
<salamandyr>
before i rebuilt the ruby instance i was getting sqlite errors, but now i'm not getting that far
jbpros [jbpros!~jbpros@29-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
BrianE [BrianE!~brian@188-220-10-235.zone11.bethere.co.uk] has joined #ruby
trvr [trvr!~ITechJunk@ip68-229-217-226.ok.ok.cox.net] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
<trvr>
It's a couple simple lines of code and I can't figure out why I'm getting the specified result.
nobitanobi [nobitanobi!~novito@103.Red-213-96-26.staticIP.rima-tde.net] has joined #ruby
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby
looopy [looopy!~looopy@pool-141-156-50-228.washdc.btas.verizon.net] has joined #ruby
dankest [dankest!~dankest@ip184-187-165-135.sb.sd.cox.net] has joined #ruby
<trvr>
sorry, disregard that last msg. It's something to do with the way I duplicated the array.
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
Hanmac [Hanmac!~hanmac@p50844264.dip0.t-ipconnect.de] has joined #ruby
momo- [momo-!~momo@2.60.138.210.bn.2iij.net] has joined #ruby
<Hanmac>
for what did ruby use inside something like this: T_ZOMBIE ?
bastilian [bastilian!~bastilian@chello062178156107.9.14.vie.surfer.at] has joined #ruby
hinogi [hinogi!~Stefan@mnsr-d9bf41c3.pool.mediaWays.net] has joined #ruby
hinogi [hinogi!~Stefan@facade/contributor/hinogi] has joined #ruby
<burgestrand>
Hanmac: I asked the exact same question like two months ago (or so), I even managed to find the answer but I forget what it was… it was something related to the GC
`brendan [`brendan!~b@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
<burgestrand>
Hanmac: might be the type for objects that have been deemed unreachable and will be collected on the next sweep
jbpros_ [jbpros_!~jbpros@46-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.120.60.40] has joined #ruby
nd______ [nd______!~nd@mnhm-5f74d3ae.pool.mediaWays.net] has joined #ruby
<Hanmac>
hm okay .. :P but it is a little bit funny ... i manage to trick the GC, so it deletes the objects only if the underlying C-Ptr is deleted :P ...
Evixion [Evixion!Evixion@67.235.68.96] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.120.60.40] has quit [#ruby]
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
<burgestrand>
Hanmac: don’t trust me fully though, I’m not sure, just a remote and old memory
jbpros [jbpros!~jbpros@43-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
blueadept [blueadept!~blueadept@pool-96-251-83-184.lsanca.dsl-w.verizon.net] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
Russell^^ [Russell^^!~Russell^^@88.97.51.87] has joined #ruby
<salamandyr>
hmm? reinstalled ruby and now i'm getting json errors re undefined symbol "rb_intern2".. googling isn't shedding any light.. anyone know this error?
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
mxweas [mxweas!~max@mobile-198-228-199-234.mycingular.net] has joined #ruby
<burgestrand>
salamandyr: which version of ruby?
<salamandyr>
1.8.7 no
<salamandyr>
now
Amirh [Amirh!~amir@89.144.178.137] has joined #ruby
<robert_>
sup burgestrand
<burgestrand>
salamandyr: and before?
<salamandyr>
updating gems (including json) to see if that helps
<burgestrand>
robert_: \o,
s0ber [s0ber!~s0ber@114-36-234-3.dynamic.hinet.net] has joined #ruby
<salamandyr>
bergerstrand: never a working one on this machine.
<robert_>
sup? :D
<burgestrand>
salamandyr: sounds like a good idea, “gem pristine” might help you as well
<salamandyr>
1.8.7 on the machine this app was previously
y3llow [y3llow!~y3llow@114-36-234-3.dynamic.hinet.net] has joined #ruby
<robert_>
burgestrand: I FIXED IT. :D
<burgestrand>
robert_: watching a bit of tv; fixed what? :d
banister`sleep [banister`sleep!~baniseter@118.82.185.158] has joined #ruby
achiu [achiu!~Adium@ip68-5-18-17.oc.oc.cox.net] has joined #ruby
<robert_>
my issues with Padrino. I finally got a fastcgi server to work. :D
<burgestrand>
oh :)
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
<Amirh>
I can install gems, do I need to learn more about rubygems?
nicoulaj_ [nicoulaj_!~nicoulaj@pas38-5-82-244-59-208.fbx.proxad.net] has joined #ruby
y3llow [y3llow!~y3llow@114-36-234-3.dynamic.hinet.net] has joined #ruby
<burgestrand>
Amirh: do you need to do anything more than that?
<Hanmac>
not realy ... look at gem --help
<burgestrand>
if not I’d be pragmatic and say no, but it’s always fun to know a bit more on how things work
<Amirh>
burgestrand: not at this very time.
<burgestrand>
I have horrible knowledge of the rubygems ecosystem, I just use it from time to time
<Amirh>
I got it.
<burgestrand>
robert_: ah, I remember you now, you had the issue with parsing strange windows-looking paths :p
<Hanmac>
or do you want to learn to write your own gems?
<robert_>
the INI file :p
<robert_>
I don't need that now. :p
<burgestrand>
you don’t need to know much about rubygems for that either, pretty much all you need is to know what the different directives in the gemspec mean :d
y3llow [y3llow!~y3llow@114-36-234-3.dynamic.hinet.net] has joined #ruby
fayimora [fayimora!~fayimora@2a01:388:201:3721:7cda:5924:86c8:50dd] has joined #ruby
relix [relix!u2146@gateway/web/irccloud.com/x-mzyhmzjbiixenhto] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
ZenoArrow [ZenoArrow!~tom@host109-148-26-156.range109-148.btcentralplus.com] has joined #ruby
philcrissman_ [philcrissman_!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@184.151.127.234] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-83-100-189-243.karoo.KCOM.COM] has joined #ruby
<ZenoArrow>
Hi all, I'm having trouble setting up a Ruby environment with debugging. I've tried many things, all I want is to be able to examine variable values mid script execution. What's the simplest solution to do this? I'm running Linux if that helps.
<salamandyr>
anyone give me a clue? i'm a bit lost :D
chessguy [chessguy!~chessguy@pool-96-231-167-66.washdc.fios.verizon.net] has joined #ruby
techhelp [techhelp!~Dan@ip70-162-10-229.ph.ph.cox.net] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
<burgestrand>
salamandyr: what constant?
<burgestrand>
salamandyr: your error message is about a missing method
<salamandyr>
i had to rename appliction.rb to application_controller.rb
<burgestrand>
salamandyr: ah, yes, rails assumes a certain naming convention :)
<salamandyr>
but now i'm getting errors abotu method_missing (new_search) in searchlogic
<salamandyr>
sigh
<salamandyr>
this is annoying.. worked fine on the old server :)
<burgestrand>
salamandyr: you using the same gem versions for everything?
<burgestrand>
salamandyr: as on the old server, I mean
<salamandyr>
i think so
<salamandyr>
not 100% sure at this point
<burgestrand>
salamandyr: that’d be the first thing to check I guess
palcu [palcu!~alex@89.122.187.223] has joined #ruby
<salamandyr>
just a simple sqlite database search/pagination app.. think i might abandon ruby/rails an rewrite it in something else
<salamandyr>
since i didn't write it the first time and these errors are compounding
<burgestrand>
salamandyr: ah, new_search is from searchlogic 1.x, you’re using 2.x
<salamandyr>
well that explains that..
<salamandyr>
guess this app is toast
<burgestrand>
salamandyr: I assume it’s an old rails application? bundler should protect you from this kind of issue
<salamandyr>
yup
<salamandyr>
i didnt write it, so..
<burgestrand>
salamandyr: there’s usually a rake task for installing gems on old rails versions, but even that is plain hell to deal with most of the time
<salamandyr>
think i will either start over with newer RoR stuff or prob just rewrite in php
<salamandyr>
this app always causes problems .. migrating to a modern server means the problems are insurmountable or at least not worth it :)
jasdeepjaitla [jasdeepjaitla!~jasdeepja@c-98-207-73-250.hsd1.ca.comcast.net] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
KitsuneDrag0n [KitsuneDrag0n!~hats@unaffiliated/kitsunedrag0n] has joined #ruby
<salamandyr>
any RoR app frameworks out there that I can just give a database format to and it will create a searchable/paginating site for me? i'm savvy with databases.. not so much with ruby/rails
<salamandyr>
e.g. something like Hobo but lighter weight, maybe
<burgestrand>
I’d consider that to be an application in itself, but I don’t know of many ready-made applications, if any
alse [alse!~Alex@108.162.180.72] has joined #ruby
Carmivore [Carmivore!~carmivmor@ec2-174-129-189-6.compute-1.amazonaws.com] has joined #ruby
<salamandyr>
ya.. i should prob stop looking for shortcuts. that's what got me into this mess in the first place
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
salamandyr [salamandyr!~jaxon@cpe-76-171-224-188.socal.res.rr.com] has quit ["Leaving"]
Carmivore [Carmivore!~carmivmor@ec2-107-20-33-211.compute-1.amazonaws.com] has joined #ruby
tuppy_ [tuppy_!~quassel@ip68-231-151-143.tc.ph.cox.net] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has joined #ruby
skinnymuch [skinnymuch!~skinnymuc@c-68-36-123-133.hsd1.nj.comcast.net] has quit [#ruby]
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
<nobitanobi>
If I want to do more than one "action" in a rescue, how do I specify when the rescue is finished? End is not working
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
graft [graft!~graft@c-67-188-208-157.hsd1.ca.comcast.net] has joined #ruby
i8igmac [i8igmac!~bigmac@c-67-185-190-112.hsd1.wa.comcast.net] has joined #ruby
<i8igmac>
Im working on a proxy server, im having trouble with stripping the Host:
<i8igmac>
from the header
<i8igmac>
host = header.to_a[1].chomp[6..-1]
<i8igmac>
this works but not all the time
<i8igmac>
maybe some one could help me with http protocol...
<i8igmac>
when the client submits (GET/ HTTP.1.1\n Host: yahoo.com) the proxy works fine and the host is chomped from the header string
<i8igmac>
but when the client submits (GET/ HTTP.1.1\n Host: www.yahoo.com) then the host cant chomp when string is nil
_obiJuan [_obiJuan!~ysiad1@24.39.125.227] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
Che-Anarc [Che-Anarc!~leonmcnie@81.68.63.71] has joined #ruby
<i8igmac>
there is something wierd going on, im looking at the get request each time and i can see the Host: every time, but why does it give me error of nil
ckrailo [ckrailo!~ckrailo@pool-71-97-77-8.dfw.dsl-w.verizon.net] has joined #ruby
geekbri [geekbri!~geekbri@pool-108-49-79-18.bstnma.fios.verizon.net] has joined #ruby
<i8igmac>
maybe some one can look at these get request
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
toy_battery [toy_battery!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
desireco_ [desireco_!~textual@108-217-153-195.lightspeed.cicril.sbcglobal.net] has joined #ruby
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby
uatecuk [uatecuk!~uatecuk@host-78-146-202-19.as13285.net] has joined #ruby
PragCypher [PragCypher!~kapone@208.157.149.45] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
andrewhl [andrewhl!~andrew@69-165-217-17.dsl.teksavvy.com] has joined #ruby
colint [colint!~ColinT@189.164.99.172] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
Jake232 [Jake232!~textual@5e04f412.bb.sky.com] has joined #ruby
tokumine [tokumine!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
pietro [pietro!~pietro@2-227-162-47.ip187.fastwebnet.it] has joined #ruby
xoklolsld [xoklolsld!~test@178.175.104.211] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
banister_ [banister_!~baniseter@115.189.59.24] has joined #ruby
Carmivore [Carmivore!~carmivmor@ec2-50-17-25-180.compute-1.amazonaws.com] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
kemet [kemet!~wizfunk@cpe-173-095-149-009.nc.res.rr.com] has joined #ruby
kemet [kemet!~wizfunk@cpe-173-095-149-009.nc.res.rr.com] has quit [#ruby]
kemet [kemet!~wizfunk@cpe-173-095-149-009.nc.res.rr.com] has joined #ruby
desireco_ [desireco_!~textual@108-217-153-195.lightspeed.cicril.sbcglobal.net] has joined #ruby
Keva161 [Keva161!~Keva161@78.32.156.143] has joined #ruby
zenergi [zenergi!~zenergi@69.80.98.130] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
jbhewitt [jbhewitt!~jbhewitt@ppp59-167-157-127.static.internode.on.net] has joined #ruby
otakutomo [otakutomo!~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #ruby
newbie|3 [newbie|3!~kvirc@5ED0AB8E.cm-7-1c.dynamic.ziggo.nl] has joined #ruby
Synthead [Synthead!~max@c-71-204-121-215.hsd1.ga.comcast.net] has joined #ruby
<newbie|3>
good evening all
newbie|3 [newbie|3!~kvirc@5ED0AB8E.cm-7-1c.dynamic.ziggo.nl] has quit ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
Marco [Marco!~marco@vtelinet-216-66-104-3.vermontel.net] has joined #ruby
andrewhl [andrewhl!~andrew@out-pq-187.wireless.telus.com] has joined #ruby
jbpros [jbpros!~jbpros@43-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
minijupe [minijupe!~benlieb@adsl-74-243-178-125.ard.bellsouth.net] has joined #ruby
beilabs [beilabs!~jonathan@ppp59-167-171-134.static.internode.on.net] has joined #ruby
Kiall [Kiall!~Kiall@kohana/developer/kiall] has joined #ruby
ryh [ryh!~ryh@174.45.125.160] has joined #ruby
tekknolagi [tekknolagi!~tekknolag@c-67-180-21-25.hsd1.ca.comcast.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
Newbs [Newbs!~textual@host-78-147-55-216.as13285.net] has joined #ruby
Kiall [Kiall!~Kiall@kohana/developer/kiall] has joined #ruby
mxweas [mxweas!~max@mobile-198-228-199-234.mycingular.net] has joined #ruby
tekknolagi [tekknolagi!~tekknolag@c-67-180-21-25.hsd1.ca.comcast.net] has joined #ruby
notbrent [notbrent!~notbrent@142.179.34.62] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
adamjleonard [adamjleonard!~adamjleon@pool-108-9-169-222.tampfl.fios.verizon.net] has joined #ruby
ylluminate [ylluminate!~ylluminat@rrcs-24-123-53-166.central.biz.rr.com] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
RomD` [RomD`!~Roman@nrbg-4d077e0c.pool.mediaWays.net] has joined #ruby
durre [durre!~kvirc@217-212-242-4.customer.telia.com] has joined #ruby
banister`sleep [banister`sleep!~baniseter@115.189.59.24] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
otakutom_ [otakutom_!~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #ruby
RubyPanther [RubyPanther!~paris@c-24-22-48-80.hsd1.or.comcast.net] has joined #ruby
andrewhl_ [andrewhl_!~andrew@199-7-156-34.eng.wind.ca] has joined #ruby
tomzx [tomzx!~tomzx@dsl-143-5.aei.ca] has joined #ruby
wallerdev [wallerdev!~wallerdev@c-68-43-58-191.hsd1.mi.comcast.net] has joined #ruby
tokumine_ [tokumine_!~kunio@82-69-174-54.dsl.in-addr.zen.co.uk] has joined #ruby
pattex [pattex!~pattex@kleinerdrei.net] has joined #ruby
charlenopires [charlenopires!~quassel@186.194.13.186] has joined #ruby
toy_battery_ [toy_battery_!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
colint [colint!~ColinT@189.164.99.172] has joined #ruby
toy_battery__ [toy_battery__!~choldbroo@c-67-164-29-115.hsd1.ca.comcast.net] has joined #ruby
banister`sleep [banister`sleep!~baniseter@118.82.185.158] has joined #ruby
tshauck [tshauck!~tshauck@69.76.176.108] has joined #ruby