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/
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<heftig>
happy new year
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
<ryanf>
Wroathe: it's really not that big a deal. if that somehow ends up being a performance bottleneck you could try writing your own helper using index repeatedly with the offset parameter
<ryanf>
I'm not at all sure it would be faster though
<ryanf>
worrying about micro-optimizations like that is silly
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
Beoran_ [Beoran_!~beoran@ip-213-49-94-24.dsl.scarlet.be] has joined #ruby
twock [twock!~twock@rrcs-24-227-222-61.sw.biz.rr.com] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
netytan [netytan!~user@83-244-220-243.cust-83.exponential-e.net] has joined #ruby
mcpierce [mcpierce!~mcpierce@99-178-171-244.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
Wroathe [Wroathe!~Wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
td123 [td123!~tom@archlinux/trusteduser/td123] has joined #ruby
jthomas_ [jthomas_!~jthomas@c-98-222-28-137.hsd1.il.comcast.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
<td123>
for "#@git".match /^#@(git|svn) I get an error that points to the first left parenthesis and prints syntax error, unexpected $undefined
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
<td123>
err, the line I have is "#@git".match /^#@(git|svn)/
<davidcelis>
try escaping some shit
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
<td123>
still got the same error
<td123>
"#@git".match /^#@\(git|svn\)/
<davidcelis>
when i escape the hash symbol, no errors
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
<td123>
ok, thanks, I'm still learning ruby and forgot about that part of string interpolation :P
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.46] has joined #ruby
Spockz [Spockz!~Spockz@ip12-101-208-87.adsl2.static.versatel.nl] has joined #ruby
Milossh [Milossh!~milos@109-92-107-48.dynamic.isp.telekom.rs] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby
<Milossh>
hello. I have compiled passenger module for apache2, but it looks like apache can't serve django. Can someone help?
fismo [fismo!~fismo@cpe-24-193-156-28.nyc.res.rr.com] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
tayy [tayy!~tayy@208.59.93.230] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby
<davidcelis>
um dude
<davidcelis>
django has nothing to do with ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
<shevy>
hehe
notbrent [notbrent!~notbrent@sunstone105.s.subnet.rcn.com] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has quit [#ruby]
skmidry [skmidry!~skmidry@c-50-132-95-135.hsd1.wa.comcast.net] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
Skaag [Skaag!~Skaag@207-172-174-232.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com] has joined #ruby
tnk1 [tnk1!~tnk@ip72-195-134-180.ri.ri.cox.net] has joined #ruby
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
sinuc [sinuc!~sinuc@unaffiliated/sinuc] has joined #ruby
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
yakko [yakko!~quassel@189-10-123-190.bsace702.dsl.brasiltelecom.net.br] has joined #ruby
Marco [Marco!~marco@c-76-109-184-162.hsd1.fl.comcast.net] has joined #ruby
aetaric [aetaric!~aetaric@74-130-83-237.dhcp.insightbb.com] has joined #ruby
Wroathe [Wroathe!~Wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
ciopte7_ [ciopte7_!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
flashuni [flashuni!~textual@69.105.92.146] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
gen0cide_ [gen0cide_!~TigerBloo@c-76-126-176-33.hsd1.ca.comcast.net] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
otakutomo [otakutomo!~otakutomo@zaq771a4b1b.zaq.ne.jp] has joined #ruby
flashuni [flashuni!~textual@69.105.92.146] has joined #ruby
dcarper_ [dcarper_!~dcarper@173-87-162-66.dr01.mrtn.wv.frontiernet.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
Spockz [Spockz!~Spockz@ip12-101-208-87.adsl2.static.versatel.nl] has joined #ruby
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
Fezzler [Fezzler!~anonymous@cpe-075-190-168-034.carolina.res.rr.com] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@173-160-19-241-Sacramento.hfc.comcastbusiness.net] has joined #ruby
<ryan_marsh>
If I change a module name from Thisthat to ThisThat is there a reason why I would get NameError: uninitialized constant errors for the new capitalization?
Seisatsu [Seisatsu!~seisatsu@2001:5c0:1000:a::461] has joined #ruby
<ryan_marsh>
Is this information cached somewhere?
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
akem [akem!~akem@164.15.85.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
<Milossh>
hey; can someone help me set up passenger module for apache?
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
_catch [_catch!~AndChat@2600:1004:b007:53c2:be12:76b7:3c37:f88b] has joined #ruby
syamajala [syamajala!~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #ruby
Skaag [Skaag!~Skaag@207-172-174-232.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
tomzx_ [tomzx_!~tomzx@dsl-129-27.aei.ca] has joined #ruby
<Wroathe>
Milossh it's not that hard...
<Wroathe>
They literally give you step by step instructions
<Milossh>
Wroathe, I just removed what I installed(passenger-install-apache2-mod)
<Wroathe>
What part are you stuck on?
<Milossh>
and installed my distro's lib: ubutu, libapache2-mod-passenger
<Wroathe>
it should be as simple as gem install passenger; passenger-install-apache2-module;
<Milossh>
Wroathe, I's stuck on getting some errors that PassengerRoot is not correct as it couldn't find spawn server, then I created symbolic links to files I found, and then it didn't complain about anything, but didn't work, eirher
<Wroathe>
Reinstall your gem
<Wroathe>
Do those two commands again
<Wroathe>
What linux distro are you using?
<Milossh>
Wroathe, ubuntu
<Wroathe>
Natty Narwhal?
<Milossh>
yep
<Wroathe>
Are you using RVM?
<shevy>
Nutty Nutwhale
statarb3 [statarb3!~CoreD@546A56AA.cm-12-3b.dynamic.ziggo.nl] has joined #ruby
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<Wroathe>
Milossh?
<Milossh>
Wroathe, installing, hence not answering
<Milossh>
nope, I'm not
<Milossh>
I actually don't need this for ruby
<Wroathe>
and do you have these reqs installed?
<Wroathe>
libcurl4-openssl-dev, apache2-prefork-dev, libapr1-dev, and libaprutil1-dev
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
<Milossh>
Wroathe, I do have all those installed, and I have just reinstalled gem, and installed apache module, restarted, and I don't get the page, but dir structure instead
<Milossh>
and yes, I do have passenger_wsgi.py in there
rpowell [rpowell!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
<Wroathe>
Did you include the correct Modules in your apache config?
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
rpowell_ [rpowell_!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
<Milossh>
Wroathe, so, any idea?
<Wroathe>
What's the error you're getting?
<Wroathe>
Sorry I had to step out. Haven't been paying attention.
<Milossh>
Wroathe, I don't get any errors
<Wroathe>
So what's the problem now?
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
<Milossh>
Wroathe, no worries. So, I basically have apache saying it has loaded passenger module, and I have a vhost pointing to a directory where I have passenger_wsgi.py set up, but it's not showing my website, but directory with files
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
dagnachew [dagnachew!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<Wroathe>
Can you paste your apache config?
shadykhan [shadykhan!~shaDy@c-67-184-85-179.hsd1.il.comcast.net] has joined #ruby
<shadykhan>
should i learn ruby or python?
<Wroathe>
shadykhan: What do you plan on using it for?
<shadykhan>
i honestly dont know i want to learn a new language i want to know the pros and cons of those
<Wroathe>
And do you have the appropriate entry in your /etc/hosts file?
Witide [Witide!~Exar@adsl-184-32-228-159.mia.bellsouth.net] has quit ["Leaving"]
daniel_hinojosa [daniel_hinojosa!~danno@67-0-103-21.albq.qwest.net] has joined #ruby
indstry [indstry!~indstry@2001:470:1f11:1ec:dd8a:c20b:d977:9cd3] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
<Milossh>
Wroathe, I figured it :)
<Wroathe>
What was your problem?
<Milossh>
I should've put my document root one level after passenger_wsgi.py
<Milossh>
:)
<Wroathe>
That would do it :)
<Milossh>
thanks mate
rhett_ [rhett_!~rhett@cpe-70-124-81-93.austin.res.rr.com] has joined #ruby
<rhett_>
i'm not able to reqire ruby-debug19 with ruby 1.9.2 and rvm
<Wroathe>
Are you able to require it?
<rhett_>
no
<rhett_>
gem list shows it: ruby-debug19 (0.11.6)
<rhett_>
t/dependencies.rb:240:in `require': no such file to load -- ruby-debug (LoadError)
<Wroathe>
And can you paste your require line
<Wroathe>
Also do you have your gems in path?
<Wroathe>
do echo $PATH
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
<Wroathe>
in .bash_profile add a line similar to export PATH=$PATH:"path/to/rvm/gems"
possibilities [possibilities!~possibili@cpe-67-253-79-39.maine.res.rr.com] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
ciopte7 [ciopte7!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
flashuni [flashuni!~textual@69.105.92.146] has joined #ruby
tayy [tayy!~tayy@208.59.93.230] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.176.204] has joined #ruby
ciopte7 [ciopte7!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
Wroathe [Wroathe!~Wroathe@173-17-249-11.client.mchsi.com] has quit [#ruby]
<possibilities>
i'd like to alter a method in a standalone ruby app (jammit), is there some way i can monkeypatch it without needing my own fork?
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby
PragCypher [PragCypher!~kapone@208.157.149.45] has joined #ruby
<baniseterfiend`>
possibilities: just redefine it
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
<possibilities>
but when i run jammit, how does it find my patched file?
<possibilities>
it's installed via bundler
<Radar>
possibilities: require it
<Radar>
possibilities: Call it jammit_patch.rb and require it?
<baniseterfiend`>
possibilities: i assume jammit has an executable that you run?
hSATAC [hSATAC!~cat@221.169.252.14] has joined #ruby
<possibilities>
yeah, but i don't want to fork it...
<possibilities>
is there some way to require the patch on the command line?
<baniseterfiend`>
possibilities: you could find where the executable is stored and require your patch in there
<possibilities>
yeah but then everyone on the team would have to do that, and it would have to happen wherever the app is deployed
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
Kamoi [Kamoi!Kamoi@71-10-80-225.dhcp.roch.mn.charter.com] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
ghosTM55 [ghosTM55!~user@li279-245.members.linode.com] has joined #ruby
watkyn [watkyn!~Adium@184-158-69-193.dyn.centurytel.net] has joined #ruby
<ghosTM55>
Happy new year to all!
indstry [indstry!~indstry@2001:470:1f11:1ec:dd8a:c20b:d977:9cd3] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
indstry [indstry!~indstry@2001:470:1f11:1ec:dd8a:c20b:d977:9cd3] has joined #ruby
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
indstry [indstry!~indstry@2001:470:1f11:1ec:dd8a:c20b:d977:9cd3] has joined #ruby
indstry_ [indstry_!~indstry@2001:470:1f11:1ec:d019:dc99:99e:b67e] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@adsl-98-85-31-238.mco.bellsouth.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@64.134.236.49] has joined #ruby
watkyn [watkyn!~Adium@184-158-69-193.dyn.centurytel.net] has quit [#ruby]
j3r0m3 [j3r0m3!~j3r0m3@64.134.236.49] has quit [#ruby]
j3r0m3 [j3r0m3!~j3r0m3@64.134.236.49] has joined #ruby
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
ciopte7 [ciopte7!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
Guest12725 [Guest12725!~chatzilla@pool-72-87-100-57.prvdri.east.verizon.net] has joined #ruby
ciopte7 [ciopte7!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@64.134.236.49] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.240.113.215] has joined #ruby
kennethreitz [kennethreitz!~kennethre@c-24-127-96-129.hsd1.va.comcast.net] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
looopy [looopy!~looopy@pool-141-156-51-124.washdc.btas.verizon.net] has joined #ruby
fungoat [fungoat!~fungoat@230.163.91.184.cfl.res.rr.com] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
kakashi_ [kakashi_!~kakashi_@nltk/kakashi] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@118.82.176.204] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@adsl-98-85-31-238.mco.bellsouth.net] has joined #ruby
fungoat [fungoat!~fungoat@184.91.163.230] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
jessemc [jessemc!~jessemc@S010678cd8e6f175f.ed.shawcable.net] has joined #ruby
ryan_marsh [ryan_marsh!~ryan_mars@99-160-193-138.lightspeed.hstntx.sbcglobal.net] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
Theravadan [Theravadan!~brett@c-50-131-42-92.hsd1.ca.comcast.net] has joined #ruby
thone_ [thone_!~thone@g230186102.adsl.alicedsl.de] has joined #ruby
otakutomo [otakutomo!~otakutomo@zaq771a4b1b.zaq.ne.jp] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
peterhil [peterhil!~peterhil@xdsl-77-86-196-131.nebulazone.fi] has joined #ruby
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
rippa [rippa!~rippa@109-161-68-156.pppoe.yaroslavl.ru] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
thone__ [thone__!~thone@g226035086.adsl.alicedsl.de] has joined #ruby
thone___ [thone___!~thone@g226035086.adsl.alicedsl.de] has joined #ruby
eldariof [eldariof!~CLD@79.126.69.218] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
replore_ [replore_!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@adsl-98-85-31-238.mco.bellsouth.net] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has quit ["Leaving"]
gen0cide_ [gen0cide_!~TigerBloo@c-76-126-176-33.hsd1.ca.comcast.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
rippa [rippa!~rippa@109-161-68-156.pppoe.yaroslavl.ru] has joined #ruby
CodeZombie [CodeZombie!~CodeZombi@65.19.245.153] has joined #ruby
replore [replore!~replore@ntkngw298122.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #ruby
<CodeZombie>
hey guys, so I've been trying to learn more ruby, not just rails... and coming from a php background, I'm more inclined to automatically lean towards blocks, and loops. Here's an example, would there be a way to refactory this down more? I know it's already pretty simple, but I'm mostly just curious.
<CodeZombie>
s/refactory/refactor/
gen0cide_ [gen0cide_!~TigerBloo@c-76-126-176-33.hsd1.ca.comcast.net] has joined #ruby
Skaag [Skaag!~Skaag@207-172-174-232.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com] has joined #ruby
shevy [shevy!~shevy@213-33-21-94.adsl.highway.telekom.at] has joined #ruby
tilde` [tilde`!~tilde@adsl-ull-221-117.42-151.net24.it] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@118.82.176.204] has joined #ruby
<ly->
CodeZombie: what snippet are you talking about?
PragCypher [PragCypher!~kapone@208.157.149.45] has joined #ruby
Jackneill_ [Jackneill_!~Jackneill@87-97-127-70.pool.invitel.hu] has joined #ruby
<ly->
CodeZombie: I think that code is ok, it's short and understandable
<ly->
however, you might want to look into the Array.map function
<ly->
and I wouldn't use /\n/ when "\n" is enough
<CodeZombie>
ly-, thanks for taking a look
<CodeZombie>
and a happy doomsday year to you
<ly->
ha please, they just didn't have time to finish the calendar ;)
<rippa>
more like
<CodeZombie>
I remember nye y2k... that was fun stuff
<rippa>
it's one cycle of calendar
rtyler [rtyler!~tyler@63-246-20-94.contegix.com] has quit [#ruby]
<rippa>
it just restarts
<CodeZombie>
I have a kid being born this year. We're referring to it as the "doombringer"
spender_ [spender_!~spender@94.79.106.251] has joined #ruby
spender_ [spender_!~spender@94.79.106.251] has quit [#ruby]
<ly->
charming :D hm 9am, time to bed
<ly->
happy new year CodeZombie
<CodeZombie>
:D
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.176.204] has joined #ruby
Synthead [Synthead!~max@c-71-204-121-215.hsd1.ga.comcast.net] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
trend_ [trend_!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
tnk1 [tnk1!~crackhead@ip72-195-134-180.ri.ri.cox.net] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
tilde`_ [tilde`_!~tilde@adsl-ull-221-117.42-151.net24.it] has joined #ruby
freenodiz [freenodiz!~IceChat77@unaffiliated/freenodiz] has joined #ruby
<freenodiz>
when installing rvm on ubuntu lucid,what's the difference between:if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi AND user$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile ?
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
v0n [v0n!~v4n@bas1-montreal19-1177820429.dsl.bell.ca] has joined #ruby
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
<freenodiz>
got it,one is the bash command the other the result of that command
dcarper__ [dcarper__!~dcarper@173-87-162-66.dr01.mrtn.wv.frontiernet.net] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby
vikramverma [vikramverma!~vikramver@110.92.102.47] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
Thomas [Thomas!~ghosTM55@li279-245.members.linode.com] has joined #ruby
Schmidt [Schmidt!~lsc@h-11-69.a254.priv.bahnhof.se] has joined #ruby
pantsman [pantsman!~pantsman@2.27.111.48] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
* tnk1
is away: Gone away for now
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.176.204] has joined #ruby
goganchic [goganchic!~ebaranov@95.79.83.119] has joined #ruby
<goganchic>
hi2all
<Gekz>
so
<Gekz>
does ruby have a good cocoa wrapper?
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
Synthead [Synthead!~max@c-71-204-121-215.hsd1.ga.comcast.net] has joined #ruby
ubuntufreak [ubuntufreak!~ubuntufre@122.174.24.157] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@adsl-99-60-6-112.dsl.pltn13.sbcglobal.net] has joined #ruby
rlinfati [rlinfati!~rlinfati@adsl-ull-72-191.42-151.net24.it] has joined #ruby
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-085-016-199-006.ewe-ip-backbone.de] has joined #ruby
smgt [smgt!~simon@76.156.216.81.static.m-dp.siw.siwnet.net] has joined #ruby
tvo [tvo!~tvo@5354CF57.cm-6-5d.dynamic.ziggo.nl] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.176.204] has joined #ruby
smgt [smgt!~simon@out.flattr.net] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
danblack [danblack!~dragonhea@gentoo/developer/dragonheart] has joined #ruby
hukl [hukl!~hukl@pdpc/supporter/professional/hukl] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
Cervajz_ [Cervajz_!~Cervajz@93.99.93.150] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@187.64.90.129] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
Aristone [Aristone!~Aristone@net77-43-72-10.mclink.it] has joined #ruby
Aristone [Aristone!~Aristone@net77-43-72-10.mclink.it] has quit [#ruby]
jbpros [jbpros!~jbpros@246-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
elliot98 [elliot98!~elliot@IGLD-84-229-15-130.inter.net.il] has joined #ruby
burgestrand1 [burgestrand1!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
elliot98 [elliot98!~elliot@unaffiliated/elliot98] has joined #ruby
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
_raffivar_ [_raffivar_!~raffivar@77.125.244.236] has joined #ruby
pseud0cod3r [pseud0cod3r!pseudocode@gateway/shell/anapnea.net/x-jtkevxvvxnmlmaln] has quit ["WeeChat 0.3.6"]
statarb3 [statarb3!~CoreD@546A56AA.cm-12-3b.dynamic.ziggo.nl] has joined #ruby
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
<_raffivar_>
hey, is anyone here?
robertjpayne [robertjpayne!~robertjpa@122.58.169.214] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
djayb9 [djayb9!56d8ef46@gateway/web/freenode/ip.86.216.239.70] has joined #ruby
<djayb9>
hello
<LowKey>
happy new year , ( i'm late )
<djayb9>
do what do what is going on with rubygems ?
<djayb9>
wow sorry
<djayb9>
do you know what is going on with rubygems ? *
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
<shevy>
it is down
palcu [palcu!~alex@89.122.187.223] has joined #ruby
<S0lign0c>
hi, i'm trying to do ruby -e "a = '/tmp'; `ls #{a}`" but I can't find the good way to send a parameter to ls
eldariof [eldariof!~CLD@95.84.42.186] has joined #ruby
<S0lign0c>
I will use FileUtils module
<burgestrand1>
S0lign0c: output of `` is returned, you do not have a print statement in your code
<burgestrand1>
S0lign0c: it’s also a bad idea to interpolate arguments like that, use Shellwords to escape them (I believe it has a shell escape method) or use multiple arguments to a command like system(command, arg, arg, arg)
<S0lign0c>
burgestrand1: I will use FileUtils.mv 'file1' 'file2' (FileUtils module)
<S0lign0c>
not not unix command directly
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
<shevy>
yeah
<shevy>
use ruby when possible
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
eldariof [eldariof!~CLD@79.126.85.72] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
lkba [lkba!~AndChat@aaqn46.neoplus.adsl.tpnet.pl] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
Manhose [Manhose!~Manhose@bl17-17-151.dsl.telepac.pt] has joined #ruby
hoornet [hoornet!hoornet@93.103.24.156] has joined #ruby
akem [akem!~akem@164.15.85.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<shevy>
S0lign0c, `rename': No such file or directory - (How I Met Your Mother - 4x02 - The Best Burger in New York.HDTV.DOT.en.srt, How.I.Met.Your.Mother.S04E02.srt/Ho
<shevy>
(1) check if it exists via "File.exist?" first
hoornet [hoornet!hoornet@93.103.24.156] has joined #ruby
<shevy>
(2) I think perhaps the ' ' in the file name are messing things up
<lypanov>
does ruby gems have a mirror?
<shevy>
test in irb first
* lypanov
needs to work!
<shevy>
rubygems is down down down dead dead dead
<shevy>
enter 2012!
* lypanov
debates a strong drink
<S0lign0c>
shevy: okay
<S0lign0c>
shevy: is weird the "(" before 'How' no ?
* lypanov
gives up and uses something other than ruby
lypanov [lypanov!~lypanov@212-123-138-132.ip.telfort.nl] has quit [#ruby]
<S0lign0c>
\o/ glob return an array so I just have to add [0]
Hoornet [Hoornet!~Hoornet@93.103.24.156] has joined #ruby
jimmyy111 [jimmyy111!jimmy@112.238.26.196] has joined #ruby
zastaph [zastaph!zastaph@unaffiliated/zastaph] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
luchetto [luchetto!~luca@ppp-88-186.29-151.libero.it] has joined #ruby
<luchetto>
a
<luchetto>
qualcuno puo aiutarmni a scaricare i film?
luchetto [luchetto!~luca@ppp-88-186.29-151.libero.it] has joined #ruby
<luchetto>
i soliti idioti
<shevy>
pizza pizza
lypanov [lypanov!~lypanov@212-123-138-132.ip.telfort.nl] has joined #ruby
<lypanov>
if whoever fixed ruby gems is around: THANK YOU!!!!
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
sapht [sapht!~sapht@83.233.30.24] has quit [#ruby]
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
marcol [marcol!~marcol@ppp-99-46.26-151.libero.it] has joined #ruby
RomD [RomD!~Roman@nrbg-4d076cd4.pool.mediaWays.net] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@adsl-98-85-31-238.mco.bellsouth.net] has joined #ruby
rtdp [rtdp!~rtdp@122.179.143.41] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
jmeeuwen [jmeeuwen!~kanarip@white.kolabsys.com] has joined #ruby
Yingjie_Cui [Yingjie_Cui!~chatzilla@124.126.184.27] has joined #ruby
yakko [yakko!~quassel@189-11-232-221.bsace702.dsl.brasiltelecom.net.br] has joined #ruby
jwmann [jwmann!~Adium@modemcable242.110-201-24.mc.videotron.ca] has joined #ruby
`brendan [`brendan!~b@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
<`brendan>
happy new year
dcarper_ [dcarper_!~dcarper@173-87-162-66.dr01.mrtn.wv.frontiernet.net] has joined #ruby
Doppp [Doppp!~Doppp@unaffiliated/doppp] has joined #ruby
otakutomo [otakutomo!~otakutomo@zaq771a4b1b.zaq.ne.jp] has joined #ruby
dch4pm4n [dch4pm4n!~d@gateway/tor-sasl/dchapman1988] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
otakutomo [otakutomo!~otakutomo@zaq771a4b1b.zaq.ne.jp] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
tomaw [tomaw!tom@freenode/staff/tomaw] has joined #ruby
Doppp [Doppp!~Doppp@unaffiliated/doppp] has joined #ruby
Jakee` [Jakee`!~Jakee`@195.59.12.239] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
albedoa [albedoa!~albedoa@ip68-108-106-30.lv.lv.cox.net] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
Doppp [Doppp!~Doppp@unaffiliated/doppp] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
mcpierce [mcpierce!~mcpierce@99-178-171-244.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
Guest60951 [Guest60951!sie@shells.mycrosoft.us] has quit ["WeeChat 0.3.6-dev"]
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
Sliker [Sliker!~ponies@117.93.112.87.dyn.plus.net] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
ikaros [ikaros!~ikaros@dslb-188-107-221-154.pools.arcor-ip.net] has joined #ruby
Schmidt [Schmidt!~lsc@h-11-69.a254.priv.bahnhof.se] has joined #ruby
QaDeS [QaDeS!~mklaus@frbg-4d028f48.pool.mediaWays.net] has joined #ruby
nvez [nvez!~textual@modemcable196.193-178-173.mc.videotron.ca] has joined #ruby
nvez [nvez!~textual@unaffiliated/nvez] has joined #ruby
omry [omry!~omry@DSL212-235-83-63.bb.netvision.net.il] has joined #ruby
flashuni [flashuni!~textual@69.105.92.146] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
adman65 [adman65!~adman65@cs181188119.pp.htv.fi] has joined #ruby
Jake232 [Jake232!~textual@5e020e10.bb.sky.com] has joined #ruby
deanh [deanh!~deanh@p-67-158-178-155.dsl1.rtr.chat.fpma.frpt.net] has joined #ruby
thomascioppettin [thomascioppettin!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
thomascioppettin [thomascioppettin!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
jessemc [jessemc!~jessemc@S010678cd8e6f175f.ed.shawcable.net] has joined #ruby
nd___ [nd___!~nd@mnhm-4d019cc7.pool.mediaWays.net] has joined #ruby
<nd___>
Aloha, I'm trying to grep a multiline pattern but it seems that doesn't work. Is that the case?
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
zastaph [zastaph!zastaph@unaffiliated/zastaph] has joined #ruby
azbarcea [azbarcea!~quassel@79.114.14.2] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
lolsuper_ [lolsuper_!~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has joined #ruby
lolsuper_ [lolsuper_!~super_@unaffiliated/lolsuper-/x-9881387] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby
nerdy_ [nerdy_!~textual@66-44-118-195.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@187.64.90.129] has joined #ruby
vitoravelino [vitoravelino!~rockhampt@unaffiliated/vtr] has joined #ruby
cousine [cousine!~cousine@196.218.42.9] has joined #ruby
colint_ [colint_!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
demian`_ [demian`_!~demian_@62-47-192-237.adsl.highway.telekom.at] has joined #ruby
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby
jl_2 [jl_2!~jl_2@184-96-250-167.hlrn.qwest.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
Spockz_ [Spockz_!~Spockz@21pc198.sshunet.nl] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
_dink [_dink!~anonymous@c-68-52-194-205.hsd1.tn.comcast.net] has joined #ruby
bier [bier!~bier@p54A59657.dip.t-dialin.net] has joined #ruby
hacim [hacim!~micah@debian/developer/micah] has joined #ruby
Jake232 [Jake232!~textual@5e020e10.bb.sky.com] has joined #ruby
<hacim>
i have array[0] = ["Select,Update"] and I want to turn that into an array of two elements, I thought I could do array[0].split(",") to do that and it works in irb, but when I run it I get: private method `split' called for ["Select,Update"]:Array
<hacim>
how can i do that?
<thomascioppettin>
split is a method on strings and you are calling it on an array
mimay [mimay!~apa@109.128.9.63] has joined #ruby
<Milossh>
thomascioppettin, isn't array[0] a string?
<Milossh>
its representing value, that is
<mimay>
sorry for the question: any body any idea where is the #machomebrew channel?
<mimay>
dissapeared?
demian`__ [demian`__!~demian_@62-47-192-237.adsl.highway.telekom.at] has joined #ruby
<Milossh>
also, it's "Select,Update", not "Select", "Update"
<heftig>
hacim: array[0] is an array containing a string
<heftig>
so array[0][0].split(",")
THE_GFR|WORK [THE_GFR|WORK!~THE_GFR_W@76.164.19.2] has joined #ruby
<THE_GFR|WORK>
hey everyone
<THE_GFR|WORK>
I have an issue a little bit
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
<THE_GFR|WORK>
I have a RoR application that is a web frontend for my pregresql database. What I want to know is, since it generates PDF files how hard would it be to modify the application to allow a digital signature pad attached to a computer connecting to the web application, so I can have people digitally sign the paperwork off?
<THE_GFR|WORK>
before the PDF is generated I mean
thomascioppettin [thomascioppettin!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
cpruitt [cpruitt!~cpruitt@190-186.126-70.tampabay.res.rr.com] has joined #ruby
orospakr [orospakr!~orospakr@mobotropolis.orospakr.ca] has joined #ruby
azbarcea__ [azbarcea__!~quassel@79.114.14.2] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
demian`_ [demian`_!~demian_@62-47-192-237.adsl.highway.telekom.at] has joined #ruby
tayy [tayy!~tayy@208.59.93.230] has joined #ruby
freenodiz [freenodiz!~IceChat77@unaffiliated/freenodiz] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
d-snp [d-snp!~d-snp@smurfer.student.utwente.nl] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
fridim_ [fridim_!~fridim@2a01:e35:2ece:f2d0:223:4eff:fe6c:c754] has joined #ruby
surrealLogic [surrealLogic!~surreal@173-19-78-42.client.mchsi.com] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@adsl-98-85-31-238.mco.bellsouth.net] has joined #ruby
d-snp [d-snp!~d-snp@smurfer.student.utwente.nl] has joined #ruby
tomzx [tomzx!~tomzx@dsl-216-221-39-59.aei.ca] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-15-43.cable.teksavvy.com] has joined #ruby
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
Jakee` [Jakee`!~Jakee`@5ad317fe.bb.sky.com] has joined #ruby
demian`_ [demian`_!~demian_@62-47-192-237.adsl.highway.telekom.at] has joined #ruby
<hacim>
i've got an array with elements that have a leading colon (eg. [":Select", ":Update"]) and I have another array without those leading colons (eg. ["Select", "Insert"])
<hacim>
I wanted to do array subtraction ignoring those colons
<rippa>
convert it first
<hacim>
arg
<rippa>
with #map and #to_s
<rippa>
or
<hacim>
hm
d-snp [d-snp!~d-snp@smurfer.student.utwente.nl] has joined #ruby
<rippa>
nope, no or
<rippa>
convert
<hacim>
how do you mean with #map and #to_s?
<hacim>
(i'm pretty much newb here)
<rippa>
arr.map(&:to_s)
_mayo [_mayo!~user@75-23-196-107.lightspeed.wotnoh.sbcglobal.net] has joined #ruby
_mayo [_mayo!~user@75-23-196-107.lightspeed.wotnoh.sbcglobal.net] has quit [#ruby]
<hacim>
ah ok, i see! thanks
d-snp [d-snp!~d-snp@smurfer.student.utwente.nl] has joined #ruby
_mayo [_mayo!~user@75-23-196-107.lightspeed.wotnoh.sbcglobal.net] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
chrisja [chrisja!~chris@5ac7d92c.bb.sky.com] has joined #ruby
_|christian|_ [_|christian|_!~christian@201.240.192.232] has joined #ruby
jbpros [jbpros!~jbpros@246-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
Silker [Silker!~ponies@87.112.131.115] has joined #ruby
Martz [Martz!~Martz@unaffiliated/martz] has quit [#ruby]
Sliker_ [Sliker_!~ponies@87.112.214.116] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
crayfishx [crayfishx!~craig@78.129.240.7] has joined #ruby
<hacim>
rippa: can I add a downcase to that? Or do I need to do that separately?
<rippa>
arr.map {|i| i.to_s.downcase}
<rippa>
previous was a short form
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
* tnk1
is back.
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
Sliker [Sliker!~ponies@87.114.215.196] has joined #ruby
td123 [td123!~tom@archlinux/trusteduser/td123] has joined #ruby
freenodiz [freenodiz!~IceChat77@unaffiliated/freenodiz] has joined #ruby
bvandyke [bvandyke!~bvandyke@98.157.11.35] has joined #ruby
<td123>
is there a way to suppress output from stderr when running a command with `<cmd here>`
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
Jake232 [Jake232!~textual@5e04f569.bb.sky.com] has joined #ruby
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby
S1kx [S1kx!~S1kx@ip-95-223-80-198.unitymediagroup.de] has joined #ruby
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
chilversc_ [chilversc_!~chris@about/csharp/regular/KeeperOfTheSoul] has joined #ruby
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-yguknwsrjtejysso] has joined #ruby
lokkju [lokkju!~lokkju@unaffiliated/lokkju] has joined #ruby
cesario [cesario!u2444@gateway/web/irccloud.com/x-hwiokzuuomlkegzb] has joined #ruby
jay_zawrotny [jay_zawrotny!~Jay@c-68-43-28-43.hsd1.mi.comcast.net] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
akemrir [akemrir!~akemrir@cpe-109-197-96-47.docsis.tczew.net.pl] has joined #ruby
ezkl [ezkl!ezkl@ezkl.net] has joined #ruby
robbinn [robbinn!~robbinn@pob78-1-82-238-158-69.fbx.proxad.net] has joined #ruby
eldariof [eldariof!~CLD@79.126.66.58] has joined #ruby
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby
crayfishx [crayfishx!~craig@78.129.240.7] has joined #ruby
Knodi [Knodi!~Knodi@c-68-43-246-216.hsd1.mi.comcast.net] has joined #ruby
Kamoi_ [Kamoi_!~Kamoi@24-197-194-117.dhcp.roch.mn.charter.com] has joined #ruby
ngng [ngng!~ng@c-98-210-117-31.hsd1.ca.comcast.net] has joined #ruby
JohnBat26 [JohnBat26!~Eugene@80.251.120.55] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
BrianE [BrianE!~brian@87.115.115.247] has joined #ruby
yakko [yakko!~quassel@189-11-232-221.bsace702.dsl.brasiltelecom.net.br] has joined #ruby
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@184.151.127.196] has joined #ruby
yakko [yakko!~quassel@189-11-232-221.bsace702.dsl.brasiltelecom.net.br] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
_|christian|_ [_|christian|_!~christian@201.240.192.232] has joined #ruby
thomascioppettin [thomascioppettin!~thomascio@cpe-071-071-047-213.triad.res.rr.com] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
<hacim>
heftig: earlier you said I could do array[0][0].split(",") when I have an array whose first element was something like ["update,insert"] and I wanted to turn that into ["update", "insert"]
<hacim>
but when i try that I get:
<hacim>
NoMethodError: private method `split' called for 117:Fixnum
<waxjar>
why do you store that string in an array?
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
<hacim>
waxjar: its what is given to me
<waxjar>
the element in the array you are calling #split on is a Fixnum though, says the error.
* hacim
is confused
jessemc [jessemc!~jessemc@S01060018396a08f6.ed.shawcable.net] has joined #ruby
<waxjar>
the first element of array[0] is a Fixnum, not a String.
<waxjar>
and you can't call split on a Fixnum
<hacim>
i guess it became a Fixnum when I did: privs = privs.map {|i| i.to_s.downcase }
<hacim>
?
<ly->
hacim: i highly doubt so, can we see some code?
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<waxjar>
are you sure the array looks like ["update,insert"]? i think there lies your problem.
<hacim>
ly-: its only:
<hacim>
privs=[:"update,Insert"]
<hacim>
privs = privs.map {|i| i.to_s.downcase }
<hacim>
privs[0][0].split(",")
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby]
<hacim>
waxjar: once it is downcased, it does look that way
<rippa>
privs.map! {|i| i.to_s.downcase }
<rippa>
no need to assign
<rippa>
privs[0].split(",")
flip_digits [flip_digits!~textual@c-71-199-243-97.hsd1.fl.comcast.net] has joined #ruby
<robyurkowski>
what's happening is that when you just assign it to a single array, you're accessing a particular character by using a second index
<robyurkowski>
i.e. so privs[0] returns "update,insert", but privs[0][0] returns "u", or perhaps a character code
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby
<robyurkowski>
that's why you're getting a fixnum
<robyurkowski>
you need to make sure that you're using an appropriate number of indexes for your test data
<hacim>
rippa: do I need to assign for the 'privs[0].split(",")' ?
<waxjar>
rippa is right, what you're doing now is calling [0] on the first element of of privs.
<rippa>
yes
<rippa>
if it returns a fixnum
<rippa>
it's 1.8
<jessemc>
Hey, wondering if anyone can tell me a good way to make require calls work on windows and posix? I've just been doing "require 'lib/blah.rb" and of course it doesn't work on windows
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
<ly->
jessemc: something like "require File.expand_path('../lib/blah.rb', __FILE__)"
<waxjar>
i usually just run ruby with the -I flag.
<jessemc>
ah I noticed that in some repos its platform independent?
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
<ly->
and if it doesn't work, use the ugly File.join method
snearch [snearch!~snearch@e178055069.adsl.alicedsl.de] has joined #ruby
<jessemc>
ok using 1.9.3 mucking with it on my windows box now
<jessemc>
thanks :)
rook_flood [rook_flood!~textual@c-68-50-111-251.hsd1.dc.comcast.net] has joined #ruby
Spockz [Spockz!~Spockz@84.245.46.110] has joined #ruby
johanhsfy [johanhsfy!~johan@90-231-150-29-no160.tbcn.telia.com] has joined #ruby
IanV_ [IanV_!~chatzilla@host86-148-155-255.range86-148.btcentralplus.com] has joined #ruby
<hacim>
hopefully my last array question... is there a way to sort an array so it orders its elements in the same order as another array? eg. if I have ["insert", "select"] and another array which is [ "select", "insert", "update", "delete" ]. Can I sort that first array to have the same order as the second
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
mk03 [mk03!~mk03@112.136.24.138.er.eaccess.ne.jp] has joined #ruby
<Okasu>
insane
<hacim>
:D
<Okasu>
try .sort both arrays
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
<heftig>
hacim: a = %w[c d f a g b e h]; %w[a b c d e f g h].sort_by { |x| a.index(x) || Float::INFINITY }
<heftig>
not insane at all
<heftig>
maybe a bit expensive
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
PragCypher [PragCypher!~kapone@208.157.149.45] has joined #ruby
Natch| [Natch|!~natch@178.73.216.55] has joined #ruby
Spockz [Spockz!~Spockz@84.245.46.110] has joined #ruby
Marco [Marco!~marco@c-98-254-52-240.hsd1.fl.comcast.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
IanV [IanV!~chatzilla@host109-158-96-62.range109-158.btcentralplus.com] has joined #ruby
Spockz [Spockz!~Spockz@84.245.46.110] has joined #ruby
syamajala [syamajala!~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #ruby
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby
palcu [palcu!~alex@89.122.187.223] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
<hacim>
Float::INFINITY heh
<heftig>
used to make sure anything not in the other array is sorted to the end
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
indeterminate [indeterminate!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.176.204] has joined #ruby
Pip_ [Pip_!~Pip@unaffiliated/pip] has joined #ruby
Raydiation [Raydiation!~bernhard@194-208-147-142.tele.net] has joined #ruby
<Raydiation>
does ruby use something like prototyped based programming too? for example the ability to extend classes directly
seii [seii!~sei@user-3c2h3m6.cable.mindspring.com] has joined #ruby
Jarred [Jarred!~Jarred@c-71-198-139-210.hsd1.ca.comcast.net] has joined #ruby
<Jarred>
Is 'event' a reserved word?
Silker [Silker!~ponies@194.28.113.87.dyn.plus.net] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<Jarred>
brownies, thanks
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
gen0cide_ [gen0cide_!~TigerBloo@c-76-126-176-33.hsd1.ca.comcast.net] has joined #ruby
Kamoi [Kamoi!Kamoi@71-10-80-225.dhcp.roch.mn.charter.com] has joined #ruby
Lord-Harlot [Lord-Harlot!~Serenity@adsl-87-102-40-242.karoo.KCOM.COM] has joined #ruby
* tnk1
is away: Gone away for now
aantix [aantix!~jjones@99.13.242.166] has joined #ruby
Asher1 [Asher1!~asher@98.158.127.150] has joined #ruby
Raydiation [Raydiation!~bernhard@194-208-147-142.tele.net] has quit [#ruby]
hoofman_ [hoofman_!~jamie@96-28-1-111.dhcp.insightbb.com] has quit [#ruby]
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has joined #ruby
vmatiyko [vmatiyko!~vmatiyko@178.121.154.149] has quit [#ruby]
adnan [adnan!~king@108-215-232-154.lightspeed.hstntx.sbcglobal.net] has joined #ruby
andrewhl [andrewhl!~andrew@CPE78cd8e6671d8-CM78cd8e6671d5.cpe.net.cable.rogers.com] has joined #ruby
_|christian|_ [_|christian|_!~christian@201.240.192.232] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
madsgraphics [madsgraphics!~madsgraph@labs.madsgraphics.com] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
NorrinRadd [NorrinRadd!~Norrin@unaffiliated/norrinradd] has joined #ruby
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
rockets [rockets!a6f80df6@gateway/web/freenode/ip.166.248.13.246] has joined #ruby
<rockets>
Here's a silly question, why is it that I can use gets.chomp to set the value of a variable, e.g. blah = gets.chomp, but if i start a file with ARGV = one, two, three, it breaks gets.chomp later and I have to use STDIN.gets or something like that. I realize that gets is now "referencing" argv in some way, but I don't really know what that means or why
<rockets>
(im just learning ruby now)
BrianE [BrianE!~brian@87.115.115.247] has joined #ruby
mikeric [mikeric!~mike@modemcable144.119-37-24.mc.videotron.ca] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
sczizzo [sczizzo!~sczizzo@99-94-128-224.lightspeed.mmphtn.sbcglobal.net] has joined #ruby
mpabst [mpabst!~mpabst@50-81-140-212.client.mchsi.com] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-164-72-158.lns1.ken.bigpond.net.au] has joined #ruby
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
Jarred [Jarred!~Jarred@c-71-198-139-210.hsd1.ca.comcast.net] has joined #ruby
looopy_ [looopy_!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
shad0wy [shad0wy!shad0w@99-31-186-153.lightspeed.edndil.sbcglobal.net] has joined #ruby
<shad0wy>
howdy folks
<shad0wy>
busy crowd
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<shad0wy>
anyone here ever poked around with ruby's cgi module? (I'm not talking about rails)
<shad0wy>
trying to figure out a problem with td data in a table
shad0wy [shad0wy!shad0w@99-31-186-153.lightspeed.edndil.sbcglobal.net] has joined #ruby
Cervajz_ [Cervajz_!~Cervajz@93.99.93.150] has joined #ruby
sczizzo [sczizzo!~sczizzo@99-94-128-224.lightspeed.mmphtn.sbcglobal.net] has quit [#ruby]
fungoat [fungoat!~fungoat@230.163.91.184.cfl.res.rr.com] has joined #ruby
nekid [nekid!~nekid@c-24-6-170-1.hsd1.ca.comcast.net] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
shadykhan [shadykhan!~shaDy@c-67-184-85-179.hsd1.il.comcast.net] has joined #ruby
Schmidt [Schmidt!~lsc@h-11-69.a254.priv.bahnhof.se] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
confounds [confounds!~confounds@208.113.46.214] has joined #ruby
<shadykhan>
what is the best place to start learning ruby
<td123>
shadykhan: I started by reading 'the ruby programming language', I think starting with a more beginner friendly book would have been easier, like the pickaxe
doxtor [doxtor!~doxtor@unaffiliated/mitja] has joined #ruby
doxtor [doxtor!~doxtor@unaffiliated/mitja] has quit [#ruby]
<td123>
also, TRPL doens't have any exercises, which is kinda bad for beginner's, but I made my own up
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
<td123>
my question is, I just uploaded my first gem to https://rubygems.org/gems/tagurit and when I do gem install tagurit, it returns with ERROR: Could not find a valid gem 'tagurit' (>= 0) in any repository
<td123>
and it lists it on the site, but locally, gem search -r tagurit also returns nothing
<Okasu>
do you know any good book with excercises in ruby?(except rubyquiz)
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
<confounds>
Okasu there's the Ruby Koans online
<Okasu>
confounds: solved
<confounds>
Okasu don't know then. you probably don't need more exercises :)
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
D[4]ni [D[4]ni!dani@2001:470:1f14:1ba3::2] has joined #ruby
<D[4]ni>
hi, i'm having problems installing rake 0.8.7
<shevy>
good
<D[4]ni>
wait a sec, debian archives also still have 0.8.7?
<D[4]ni>
then i'm having problems using it
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby
<shevy>
debian is slower than a snail
<D[4]ni>
i need 0.8.7 anyway
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
<UdontKnow>
D[4]ni: debian has 2 branches you can choose from: stale and unstable :)
<D[4]ni>
in this case it's more of a question to the redmine devs, sorry
<Okasu>
>stale
<Okasu>
lol
<Okasu>
right you are
<UdontKnow>
Okasu: the sad truth is, I've been running this joke since before they released potato
<UdontKnow>
what was the name of that release? hmmm
<D[4]ni>
anyway, if i try and install rake using "gem install rake -v=0.8.7", trying to use it will result in "/usr/bin/rake: file or directory not found"
<UdontKnow>
Okasu: actually, I said that when hamm was the release, in 98
<shevy>
D[4]ni, that's the disadvantage on being a slave to the distribution
fismo [fismo!~fismo@cpe-24-193-156-28.nyc.res.rr.com] has joined #ruby
<shevy>
you can look if the gem was installed though, it should reside at /usr/lib/ruby/gems/1.8/cache/
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.46] has joined #ruby
<D[4]ni>
ah, after removing the gem, re-opening the ssh session and installing it again, the error changed to "rake: command not found"
robertjpayne [robertjpayne!~robertjpa@122.58.169.214] has joined #ruby
<D[4]ni>
apart from that, there is no /usr/lib/ruby/gems/1.8/cache/
<D[4]ni>
i just found /usr/lib/ruby/1.8/
<shevy>
no idea what debian does but my source install keeps the gems cached there
<D[4]ni>
my gems seem to be in /var/lib/gems/1.8/
multi_io [multi_io!~olaf@office.sofd.eu] has joined #ruby
<multi_io>
hm, my r1.8 script contains a block {|(x,)| ...} to capture the first element af the first argument to the block (which must be an array)
<multi_io>
this syntax is no longer supported in 1.9?
looopy [looopy!~looopy@static-71-166-232-66.washdc.east.verizon.net] has joined #ruby
<multi_io>
prints 1\n2 on 1.8, syntax error on 1.9
<multi_io>
*simpler
RomD` [RomD`!~Roman@nrbg-4d076620.pool.mediaWays.net] has joined #ruby
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
<td123>
can someone check if gem search -r tagurit outputs anything for you? for me it doesn't, but I uploaded a package like 10 minutes ago with that name, and it shows up on the rubygems website
andrewhl [andrewhl!~andrew@CPE78cd8e6671d8-CM78cd8e6671d5.cpe.net.cable.rogers.com] has joined #ruby
amacgregor_osx [amacgregor_osx!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby
amacgregor [amacgregor!~amacgrego@CPE00222dcb0a53-CM00222dcb0a4f.cpe.net.cable.rogers.com] has joined #ruby