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/
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
rugok [rugok!~Rugok@gateway/tor-sasl/rugok] has joined #ruby
<apeiros_>
__null: uh, I'm not aware of too many that require recompiling of ruby - the more common ones I know are readline and openssl - which ones are you talking about?
<__null>
readline
<__null>
i already did openssl
<__null>
are those the only two common ones?
<banister`sleep>
and zlib
<atmosx>
did anyone ever managed to get rvm working with fcron?
<atmosx>
apparently it's a very tricky task
<apeiros_>
fcron?
<apeiros_>
cron?
<atmosx>
yeah, it's a cron replacement. however, i might have finally done it right.
<apeiros_>
use a wrapper
<atmosx>
I did
<atmosx>
didn't work either
<apeiros_>
rvm help wrapper
<apeiros_>
well, works fine with cron here.
<apeiros_>
and theoretically should work with about anything
<atmosx>
__null: actually I should have gone with debian. I'm fairly familiar with Gentoo as it was my default OS for 4 years back in 2001-2005 and have used it in several occasions
<atmosx>
however, these days ruby support sucks big time
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
<atmosx>
under gentoo
<atmosx>
crontab had permissions messed up, I lost like 3 hours trying to fix them… it was a mess so I just switched cron…
<atmosx>
anyway :-) ended well
trapni [trapni!~trapni@gentoo/developer/trapni] has joined #ruby
* trapni
waves
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
maletor [maletor!~maletor@c-69-181-24-86.hsd1.ca.comcast.net] has joined #ruby
<trapni>
I am having a complex regexp. is it possible to split my /reg exp/ over multiple lines, being able to use spaces for more readability and comments inside my regexp?
<apeiros_>
trapni: read about the x flag
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
<apeiros_>
trapni: also you can build a regex from other regexen
<atmosx>
apeiros_: what editor r you using for ruby?
<apeiros_>
e.g. a = /a/; b = /b/; c = /#{a}|#{b}/
<apeiros_>
atmosx: bbedit and currently giving sublime a try
<atmosx>
oh hmm bbedit, can you run code directly from bbedit ? like cmd+R with textmate?
<apeiros_>
I think so. but that's not a concern of mine.
<atmosx>
I see
<atmosx>
okay back to sherlock :D
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-080-228-199-043.ewe-ip-backbone.de] has joined #ruby
<trapni>
apeiros_: "regexen"?
<trapni>
apeiros_: thanks for the /x hint though :)
<apeiros_>
trapni: one regex, many regexen. may not be a correct plural :)
<apeiros_>
trapni: see the code example I gave
<trapni>
apeiros_: ah, cool. yeah :)
<Okasu>
apeiros_: many regexes
<shevy>
many reguxes
GreaseMonkey [GreaseMonkey!~gm@121-74-73-110.telstraclear.net] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
niklasb_ [niklasb_!~codeslay0@p5B311084.dip0.t-ipconnect.de] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
<apeiros_>
Okasu: given that regex is short for regular expression, neither plural is correct.
nimms [nimms!~user@ppp59-167-154-152.static.internode.on.net] has joined #ruby
radic [radic!~radic@dslb-094-216-249-149.pools.arcor-ip.net] has joined #ruby
dnyy [dnyy!u2106@gateway/web/irccloud.com/x-shqjqgulisxdinbr] has joined #ruby
<Okasu>
yep and short for regular expressions - regexes
<apeiros_>
magically appearing 'e' :-p
<apeiros_>
regexns :D
<apeiros_>
(not that I mind what whomever uses as plural)
Tinuk [Tinuk!~fox@178-26-92-180-dynip.superkabel.de] has joined #ruby
mikeycgto_ [mikeycgto_!~mikeycgto@ool-4571cba8.dyn.optonline.net] has joined #ruby
<shevy>
hmm
<shevy>
we are coining new words
tesmar [tesmar!~tesmar@cpe-024-163-059-067.nc.res.rr.com] has joined #ruby
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
dhruvasagar [dhruvasagar!~dhruvasag@65.98.79.137] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby
thomasdebenning [thomasdebenning!~thomasdeb@68.167.178.121] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
Tazdrumm3r [Tazdrumm3r!~Tazdrumm3@d47-69-87-122.try.wideopenwest.com] has joined #ruby
SeanTAllen_ [SeanTAllen_!u4855@gateway/web/irccloud.com/x-ypvpcjuofehffhsz] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
cylence [cylence!~cylence@108-71-93-34.lightspeed.sntcca.sbcglobal.net] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
h4mz1d [h4mz1d!~hamfz@99-0-57-199.lightspeed.tsclal.sbcglobal.net] has joined #ruby
b26 [b26!~b@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
daidoji70 [daidoji70!~123fakema@108-206-96-25.lightspeed.okldca.sbcglobal.net] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
Nisstyre [Nisstyre!~yours@c-208-90-102-250.netflash.net] has joined #ruby
goodieboy [goodieboy!~goodieboy@c-68-57-35-79.hsd1.va.comcast.net] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@163.47.23.221] has joined #ruby
<shevy>
wheeeee
<shevy>
method chaining like that also works!
<shevy>
"foo".chomp"o".chomp"f"
<shevy>
though it's ugly as hell
waazzuup [waazzuup!~TheBoss@c-76-102-198-138.hsd1.ca.comcast.net] has joined #ruby
<shevy>
or perhaps not
<shevy>
:(
<shevy>
ok, does not really work ...
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.240.0.227] has joined #ruby
carlyle [carlyle!~carlyle@2602:306:37ff:180:e6ce:8fff:fe27:d2a4] has joined #ruby
AndChat- [AndChat-!~AndChat@118.82.185.158] has joined #ruby
AndChat- [AndChat-!~AndChat@118.82.185.158] has joined #ruby
josefig [josefig!~josefig@unaffiliated/josefig] has joined #ruby
ozy_work [ozy_work!~chapinj@chapinj-3.its-is.uni.edu] has joined #ruby
<AndChat->
Shevy what do you think about Anschluss?
<shevy>
AndChat- man you are like the ultimate cheerleader troll
Targen [Targen!~iguana@190.39.181.108] has joined #ruby
<AndChat->
Shevy whats your opinion on it
<shevy>
AndChat- if these were legit questions I'd sure answer it but you've shown on multiple occasions to just wish to master trolling
<AndChat->
Eyre
Tazdrumm3r [Tazdrumm3r!~Tazdrumm3@d47-69-87-122.try.wideopenwest.com] has quit ["Leaving"]
quest88 [quest88!~quest88@c-98-207-205-137.hsd1.ca.comcast.net] has joined #ruby
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
seejohnrun [seejohnrun!~john@pool-173-70-58-4.nwrknj.fios.verizon.net] has joined #ruby
josefig [josefig!~joseph@unaffiliated/josefig] has joined #ruby
anoNxeRo [anoNxeRo!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<hkhalid>
hello
<hkhalid>
AndChat- sup
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
seejohnrun [seejohnrun!~john@pool-173-70-58-4.nwrknj.fios.verizon.net] has joined #ruby
ozy_work [ozy_work!~chapinj@chapinj-3.its-is.uni.edu] has joined #ruby
stringoO [stringoO!~JLstring@bas1-toronto42-1279598844.dsl.bell.ca] has joined #ruby
rb2k [rb2k!~rb2k@HSI-KBW-078-042-219-156.hsi3.kabel-badenwuerttemberg.de] has joined #ruby
priteshjain [priteshjain!~priteshja@113.193.59.213] has joined #ruby
Avi_ [Avi_!~chumphre@c-98-207-237-171.hsd1.ca.comcast.net] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
goodieboy [goodieboy!~goodieboy@c-68-57-35-79.hsd1.va.comcast.net] has joined #ruby
rugok [rugok!~Rugok@gateway/tor-sasl/rugok] has joined #ruby
goodieboy [goodieboy!~goodieboy@c-68-57-35-79.hsd1.va.comcast.net] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.46] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
mickn [mickn!~mickn@unaffiliated/mickn] has joined #ruby
AndChat- [AndChat-!~AndChat@222.153.223.41] has joined #ruby
kaneda_ [kaneda_!~kaneda@5adcef2c.bb.sky.com] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@163.47.23.221] has joined #ruby
nonotza_ [nonotza_!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
akem [akem!~akem@222.144.120.78.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-53-87.singnet.com.sg] has joined #ruby
brngardner [brngardner!~brngardne@c-98-192-3-166.hsd1.ga.comcast.net] has joined #ruby
dch4pm4n [dch4pm4n!~d@gateway/tor-sasl/dchapman1988] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@118.82.185.158] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@118.82.185.158] has joined #ruby
seejohnrun [seejohnrun!~john@pool-173-70-58-4.nwrknj.fios.verizon.net] has quit ["Leaving"]
charlenopires [charlenopires!~quassel@186.194.13.186] has joined #ruby
<hkhalid>
anyone alive
<shevy>
hkhalid we are dead
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
AndChat- [AndChat-!~AndChat@222.153.223.43] has joined #ruby
* hkhalid
does shang tsung revival on shevy
<shevy>
hkhalid RAYDEN LIGHTNING BOLT!!!
Karmaon [Karmaon!~john@gateway/tor-sasl/karmaon] has joined #ruby
ryanf [ryanf!~revfitz@adsl-67-122-210-85.dsl.snfc21.pacbell.net] has joined #ruby
* Okasu
smash shang and raiden with shao khan battle stuff
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] 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
<hkhalid>
shevy what do you use ruby for
<shevy>
hkhalid pretty much everything
<Okasu>
he wash his haur with ruby
<Okasu>
hair*
<shevy>
you have a problem, you solve it in ruby
<Okasu>
oh no, i have dirty dishes!
<Okasu>
mr ruby help me
<hkhalid>
openvb
<hkhalid>
opencv
<Okasu>
today i wrote html2rss parser in ruby for example
<Okasu>
pretty handy lang
iamjarvo [iamjarvo!~Adium@c-71-230-13-201.hsd1.nj.comcast.net] has joined #ruby
<Okasu>
shevy: what do you had wrote today in ruby?
<Okasu>
or has?
<Okasu>
oh you english, i cant into you
nonotza_ [nonotza_!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
<Okasu>
James while John had had had had had had had had had had had a better effect on the teacher
<shevy>
Okasu hmm... a few modifications on my web framework and a class that solves something related to MUDs
<Okasu>
oh you like MUDs, it's great
<Okasu>
you have write your of web framework?
<shevy>
I once wanted to build a MUD similar to LPC
darkx [darkx!~Jimmy@50-32-1-138.drr01.hrbg.pa.frontiernet.net] has joined #ruby
<darkx>
hello :)
<shevy>
since I reckoned in ruby you can get away by like writing only 1/5 the size
<Okasu>
nc hellmoo.org 7777 nice new one
<darkx>
how is everyone doing
<shevy>
yeah Okasu but I did not write any documentation so far :/
fixl [fixl!~fixl@124-148-147-209.dyn.iinet.net.au] has joined #ruby
<Okasu>
darkx: just another day in our life
<darkx>
i see. i'm a newbie looking to get into learning Ruby, but I'm having a hard time as a beginner finding where to start that doesn't assume previous knowledge on programming
tesmar [tesmar!~tesmar@cpe-024-163-059-067.nc.res.rr.com] has joined #ruby
<darkx>
wow guys thanks, i'm glad i came here
<Okasu>
yw
<Okasu>
darkx: have you got a hair on your face? if not after SICP you will got it
* Okasu
reading programming in ruby by matz and some guy
<Okasu>
2011
<Okasu>
nice book
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<shevy>
darkx dont listen to them. work through the link I gave you, then start writing your first script
<shevy>
the sooner you write your own code the better
<darkx>
what's wrong with their advice
<RubyPanther>
Okasu: is that different than his 2008 book?
<Okasu>
noou, you can't write good code without theory
<daidoji70>
yeah you can Okasu
<Okasu>
or super programmer backgound
<daidoji70>
its just much harder :p
<waeyn>
yeah it's called copying
centipedefarmer [centipedefarmer!~centipede@75-170-156-239.desm.qwest.net] has joined #ruby
<daidoji70>
if it was good enough for Mark Zuckerberg its good enough for me!!
<RubyPanther>
poignant guide has you writing code fast, too. you even get to fight a dragon.
<Okasu>
RubyPanther: he write a lot about 1.9
<Okasu>
RubyPanther: i think so
<daidoji70>
and he's teh youngest billionaire on teh planet
<Okasu>
daidoji70: nah, another one phptard
Targen_ [Targen_!~iguana@190.39.181.108] has joined #ruby
<hkhalid>
I want to make money off Ruby
<daidoji70>
hkhalid, sell it to stupid people??
<Okasu>
hkhalid: forget about that, make fun off ruby
<hkhalid>
sell what though
<Okasu>
and then you get the money
<hkhalid>
nah
<daidoji70>
hkhalid, its pretty easy to make money if you can make things for other people
cylence [cylence!~cylence@108-71-93-34.lightspeed.sntcca.sbcglobal.net] has joined #ruby
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby
<hkhalid>
im not a good programmer
<hkhalid>
maybe its not for me
<daidoji70>
well then it'll be hard to make money from Ruby
<daidoji70>
have you considered pimping?
<daidoji70>
or selling drugs?
<hkhalid>
yes
<daidoji70>
those aren't very hard professions
<Okasu>
hkhalid: maybe, but if you have fun with tuby it's for you
<daidoji70>
and you make a lot of money from it
<hkhalid>
im at a point in life
<RubyPanther>
you might be surprised
<hkhalid>
where I will have to get a crappy job
<hkhalid>
you know where you feel like your sould is dead and you cant be creative and you get paid 1/2 what you are worth
<Okasu>
hkhalid: go to odesk and find somthing if you ready
janissary [janissary!~user@adsl-98-85-0-232.mco.bellsouth.net] has joined #ruby
<Okasu>
hkhalid: or go wild and steal banks
<hkhalid>
you want me to die
<RubyPanther>
you don't need to be good at programming to make money at it
<daidoji70>
RubyPanther is right
<RubyPanther>
like any profession, you only have to be minimally competent and dedicated
<Okasu>
hkhalid: zuckerberg with php did it and you can do it
<daidoji70>
there are LOADS of dudes who make 80k a year who write terrible code all day
<hkhalid>
im in a bad mood because im on a windows computer and I dont like to use this for programming
<shevy>
hehehehe
<daidoji70>
Zuckerberg did it with php AND mysql!!
<hkhalid>
thanks guys
<RubyPanther>
dedication is worth more than competence right up into 6 digits
<daidoji70>
talk about a doublehandicap
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.44] has joined #ruby
<Asher>
you don't even have to be competent or dedicated
<Asher>
just able to convince people you look like you are
p0y [p0y!~p0y@182.18.249.103] has joined #ruby
<daidoji70>
its funny cause its true :-(
<daidoji70>
there's more snake oil in this industry than I even like to think about...
carlyle [carlyle!~carlyle@2602:306:37ff:180:e6ce:8fff:fe27:d2a4] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
banister`sleep [banister`sleep!~baniseter@118.82.185.158] has joined #ruby
emocakes [emocakes!~om@189-11-46-97.mganm703.dsl.brasiltelecom.net.br] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<Okasu>
huh, make money with progamming
<shevy>
a myth
<Okasu>
!STALLMAN WAY
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.44] has joined #ruby
zenergi_ [zenergi_!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
d2dchat [d2dchat!~d2dchat@c-98-209-18-197.hsd1.mi.comcast.net] has joined #ruby
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby
Brandonn [Brandonn!~brandon@cpe-174-097-242-015.nc.res.rr.com] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
nonotza_ [nonotza_!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
DFectuoso [DFectuoso!~DFectuoso@fixed-203-141-49.iusacell.net] has joined #ruby
josefig [josefig!~joseph@unaffiliated/josefig] has joined #ruby
Clordio [Clordio!~textual@c-174-52-72-79.hsd1.ut.comcast.net] has joined #ruby
p0y [p0y!~p0y@182.18.249.103] has joined #ruby
cylence [cylence!~cylence@68.25.78.77] has joined #ruby
tesmar [tesmar!~tesmar@cpe-024-163-059-067.nc.res.rr.com] has joined #ruby
p1d_ [p1d_!~p1d@dslb-088-064-130-210.pools.arcor-ip.net] has joined #ruby
thomasdebenning [thomasdebenning!~thomasdeb@c-69-181-139-137.hsd1.ca.comcast.net] has joined #ruby
fixl [fixl!~fixl@124-148-147-209.dyn.iinet.net.au] has joined #ruby
blueadept [blueadept!~blueadept@72.21.137.199] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
ziggles [ziggles!~ziggles@c-24-6-247-92.hsd1.ca.comcast.net] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby
bobss8 [bobss8!4a48c6db@gateway/web/freenode/ip.74.72.198.219] has joined #ruby
nonotza_ [nonotza_!~nonotza@50-57-234-249.static.cloud-ips.com] has joined #ruby
kennethepperly [kennethepperly!~cinch@boxand.lnk.telstra.net] has joined #ruby
Clooth [Clooth!~Clooth@GGGYMXXII.gprs.sl-laajakaista.fi] has joined #ruby
Barbaren [Barbaren!~Barbaren@c83-251-28-114.bredband.comhem.se] has joined #ruby
<Barbaren>
hi
<Barbaren>
quick question about arrays
<Barbaren>
as you all know if a = [1,2,3] and b = [3,4,5] then a | b is [1,2,3,4,5] and a & b is [3], now, is there any way to do a take b which would be, the array [1,2] e.g., a less the elements in b? which operation should i use?
<Barbaren>
ehm, just realized i can do "-" :D
<Barbaren>
sorry
thomasdebenning [thomasdebenning!~thomasdeb@c-69-181-139-137.hsd1.ca.comcast.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<dagnachewa>
I have issue installing rvm
nonotza [nonotza!~nonotza@50-57-234-249.static.cloud-ips.com] has joined #ruby
<banister`sleep>
dagnachewa: why
<dagnachewa>
is rvm manadatory if all I want is rails + nginx + passenger ?
<bobss8>
no dagnachew
<Barbaren>
you have issues with dependencies?
<Barbaren>
rvm makes your life easier
<Barbaren>
once you installed it
<Barbaren>
sometimes you get issues with dependencies
<Barbaren>
but there's scripts included to compile them easily
<Barbaren>
just get all the dependencies and compile them in your rvm dir
<Barbaren>
with the scripts provided
<Barbaren>
zlib, openssl etc
<dagnachewa>
banister`sleep, bobss8 so far I did with my distro package mamanger pacman -R ruby ; then I wanted to install rvm but I got this http://pastie.org/3187572
<banister`sleep>
dagnachewa: ask your brother to help you
fixl [fixl!~fixl@124-148-147-209.dyn.iinet.net.au] has joined #ruby
<dagnachewa>
Barbaren, banister`sleep what is the best way to have a prodcution rails setup "all dress" ??? :)
<dagnachewa>
banister`sleep, brother ?
<Barbaren>
i use rvm on my production machine
<Barbaren>
i even run arch production :P
<Barbaren>
which is supposedly stupid
<banister`sleep>
dagnachewa: yeah, it can be a good way to spend family time
<Barbaren>
but i hate debian
<dagnachewa>
banister`sleep, brother family ???
<Barbaren>
well, just go through the guides
<Barbaren>
it's the easiest way
<dagnachewa>
Barbaren, your using arch ?
<Barbaren>
yes
<Barbaren>
arch linux
kawa_xxx [kawa_xxx!~kawa_xxx@163.47.23.221] has joined #ruby
<dagnachewa>
Barbaren, I did pacman -S ruby
<Barbaren>
yes
<dagnachewa>
Barbaren, then install rvm with gem ?
<Barbaren>
you need some ruby to install rvm
<Barbaren>
no
<Barbaren>
install it ith the bash script
<Barbaren>
that he provides
<Barbaren>
on the website
<Barbaren>
just install it in your home dir
<dagnachewa>
yep
<dagnachewa>
then what
<dagnachewa>
rvm-install
MarcWeber [MarcWeber!~marc@li142-245.members.linode.com] has joined #ruby
<Barbaren>
maybe you can install it from yaourt or something
<Barbaren>
but i haven't tried
<MarcWeber>
I'd like to start a small web project which in the worst case should be compiled to a windows executable.
<dagnachewa>
rvm 1.10.1 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]
* rugok
happy that have formated the arch server and have lucid now up and running in 24 hrs ;)
<dagnachewa>
Barbaren, for production server I install all the gems with gem install capistrano or rvm install capistrano ? I had previously installed all the best gems with gem install app but know am following the archlinux perfect rails setup and it's using rvm
<rugok>
i guess arch is not for beginners nor for programmers, more like for sys admins that doesn't have fuck all to do
<MarcWeber>
Barbaren Do you know whether sinatra supports sending Exceptions by mail without much patching?
<MarcWeber>
prbobly you can just wrap every get handler in your own begin .. rescue block.
<bobss8>
dagnachew: looks like permission problems
rugok [rugok!~Rugok@gateway/tor-sasl/rugok] has joined #ruby
<bobss8>
are you logged in as the dagnachew user?
<rugok>
dagnachewa, when i see you, i see me.I'm also a beginner and i've been trough this couple of weeks ago.Trust me, go for the ubuntu lucid 10.04 lts server.It is stable, solid and reliable.More important:it's EASY.just install vagrant and chef, it's all ready for you.
<rugok>
i respect arch, but is not for beginners that want a server up and running , trust me.I've been there.
<rugok>
i had problems with nginx
<rugok>
i had problems with unicorn
<rugok>
i had problems everywhere
<rugok>
even to update arch i had problems
<rugok>
it is a PITA
QaDeS [QaDeS!~mklaus@frbg-4d0296e4.pool.mediaWays.net] has joined #ruby
<rugok>
of course, you make your own mind.But don't expect this kinda of help from arch users, they know the PITA it's and they make sure you go trough every bit of it.
<rugok>
go here #ubuntu , and feel at home
<dagnachewa>
rvm is a mess
idiocrash [idiocrash!~idiocrash@040.139-78-65.ftth.swbr.surewest.net] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
hse-hoens [hse-hoens!~test@129.74.115.11] has joined #ruby
<nooodl>
what i wanted to do is get Treetop to just read my grammar from DATA, but the syntax is Treetop.load(filename) instead of a file object
mk03 [mk03!~mk03@61.245.119.34.er.eaccess.ne.jp] has joined #ruby
<apeiros_>
nooodl: I'm pretty sure treetop allows reading syntax from a string too
<apeiros_>
so something like Treetop.load_string(ScriptFile.read(path)) would work
<apeiros_>
(I made the name `load_string` up - just in case that wasn't clear)
<nooodl>
oh, it's `load_from_string`
<nooodl>
i had to look for it in the code myself, the documentation doesn't really handle it :/
_srp [_srp!~quassel@115.99.249.237] has joined #ruby
nobitanobi [nobitanobi!~novito@103.Red-213-96-26.staticIP.rima-tde.net] has joined #ruby
trivol [trivol!~aurelien@81.57.175.21] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-53-87.singnet.com.sg] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
kakaskin [kakaskin!~CLDG@87.252.227.117] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
cousine [cousine!~cousine@196.221.61.52] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
segora [segora!~marc@p5793CAB9.dip.t-dialin.net] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
Nss [Nss!~nss@host127-217-dynamic.55-79-r.retail.telecomitalia.it] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
zalesz [zalesz!~zalesz@user-46-112-214-108.play-internet.pl] has joined #ruby
b52 [b52!~b52@unaffiliated/b52] has joined #ruby
<b52>
hey fellas, what does "gemnae ~> ver" mean? what is this weird ~> ?
rb2k [rb2k!~rb2k@HSI-KBW-078-042-219-156.hsi3.kabel-badenwuerttemberg.de] has joined #ruby
lmolr [lmolr!~quassel@host128-246-dynamic.11-87-r.retail.telecomitalia.it] has joined #ruby
<Hunner>
b52: ~> is the notify/subscribe arrow
<Hunner>
Whoops, wrong channel
crodas [crodas!~crodas@git.crodas.org] has joined #ruby
<MarcWeber>
Is anybody interested in coaching me about ror or a realted web based framework? I need to get a job done till tomorrow. Its about 3 tables and maybe 5 forms. I'd be willing to pay for it. I'm from Germay.
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
josemota [josemota!~josemota@bl15-108-6.dsl.telepac.pt] has joined #ruby
rb2k [rb2k!~rb2k@2001:6f8:1334:0:bd2d:b5fa:44e5:52e5] has joined #ruby
josesaldana [josesaldana!~josesalda@186.73.99.124] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
b52 [b52!~b52@unaffiliated/b52] has quit ["WeeChat 0.3.6"]
palcu [palcu!~alex@89.122.187.223] has joined #ruby
<nooodl>
make $tape and $ptr belong to the parser object, or so?
<Mon_Ouie>
Pass an argument to your run method
<Mon_Ouie>
e.g. a Brainfuck::State object
<nooodl>
oh, and return a new state?
<Mon_Ouie>
That or make the State object mutable
sterNiX [sterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
Pip [Pip!~Pip@176.214.4.186] has joined #ruby
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
and [and!~and@dslb-088-068-210-168.pools.arcor-ip.net] 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"]
cousine [cousine!~cousine@196.221.61.52] has joined #ruby
Locke23rus [Locke23rus!~quassel@128-70-1-227.broadband.corbina.ru] has joined #ruby
`brendan [`brendan!~b@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
lennyks_ [lennyks_!~lennyks@host31-52-213-104.range31-52.btcentralplus.com] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
kvyn [kvyn!~kvyn@w0109-49-133-90-244.uqwimax.jp] has joined #ruby
ggnore77 [ggnore77!~boogieman@109-92-41-254.dynamic.isp.telekom.rs] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
skaczor [skaczor!~quassel@mail.prognosoft.biz] has joined #ruby
niklasb_ [niklasb_!~codeslay0@p5B310005.dip0.t-ipconnect.de] has joined #ruby
BrianE [BrianE!~brian@87.112.149.96] has joined #ruby
raincole_ [raincole_!~raincole@2001:288:5239:1:224:2bff:fe75:2f60] has joined #ruby
alem0lars [alem0lars!~alem0lars@host128-246-dynamic.11-87-r.retail.telecomitalia.it] has joined #ruby
ggnore77 [ggnore77!~boogieman@109-92-41-254.dynamic.isp.telekom.rs] has quit [#ruby]
probst [probst!~probst@bumblebee.cl.cam.ac.uk] has joined #ruby
nobitanobi [nobitanobi!~novito@103.Red-213-96-26.staticIP.rima-tde.net] has joined #ruby
Jake232 [Jake232!~textual@5e0e608a.bb.sky.com] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-53-87.singnet.com.sg] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-53-87.singnet.com.sg] has joined #ruby
josemota [josemota!~josemota@bl15-108-6.dsl.telepac.pt] has joined #ruby
ChampS666 [ChampS666!~ChampS@p579C53DD.dip.t-dialin.net] has joined #ruby
iamjarvo [iamjarvo!~Adium@c-71-230-13-201.hsd1.nj.comcast.net] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby
<S1kx>
is there something like String#dump which removes all nonprinting characters and escapes it safely for output, but without the quotes it puts around the string?
<rippa>
S1kx: string.dump[1..-2]
kvyn_ [kvyn_!~kvyn@w0109-49-133-90-244.uqwimax.jp] has joined #ruby
emocakes [emocakes!~om@189-11-46-97.mganm703.dsl.brasiltelecom.net.br] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@nmd.sbx11041.miamifl.wayport.net] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
<S1kx>
rippa: yes, obviously, was just wondering if there is nothing more appropriate built in for output
xmt [xmt!~xmt@unaffiliated/xmt] has joined #ruby
<xmt>
whens' ruby 2 coming out !?!?
<xmt>
:P
* xmt
been waiting since 05 hehe
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
xmt [xmt!~xmt@unaffiliated/xmt] has joined #ruby
becom33 [becom33!~becom33@112.135.222.164] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
<becom33>
stuck *
carlyle [carlyle!~carlyle@99-127-240-24.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
<becom33>
nevermind got it done
ph^_ [ph^_!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
<josemota>
hi everyone, I'm trying to build a rack app with Rack::Builder but the docs suggest I create a new instance of it. How can I define my own Server class and use it? Can I say something like: class Server < Rack::Builder; map '/' do; end; end?
<xmt>
burgestrand, i guess you're mine now
<xmt>
burgestrand, i would love to see 2 examples. example 1: parent view is alpha .5, red, and has a blue child view. example 2: parent view has a background layer with .5 alpha and red, with a blue child view
<xmt>
would be cool to see how css literally does the layering/alpha/color/etc
<burgestrand>
xmt: as for your requested examples, all you need to do is to copy the background color from the .root element and put it on all the p elements and change the color
<burgestrand>
(in the CSS, that is)
<xmt>
what's rgba?
<xmt>
oh
<xmt>
alpha
<burgestrand>
xmt: if you have any more questions you can take them with the asshole in #css
<xmt>
ohhh
<xmt>
so there is a background object with properties
<rippa>
{"s" => 1 , "id" => 3}.reverse_each {|_, v| break v} #for value only
<xmt>
burgestrand?
<hkhalid>
anyone here do any ruby work involving visual stuff
<becom33>
burgestrand: Im still stuck with the last script u gave me . I just want the list paramater id changed . how can I get the last parameter id from string like http://exampl.com/?id=1&s=1
<becom33>
paramter key * not id
<burgestrand>
becom33: what’s wrong with the gsub implementation?
<becom33>
burgestrand: we specified the paramter key right ? but I want the last parameter key to change
<burgestrand>
becom33: so, not just id, but the very last one?
virunga [virunga!~virunga@151.64.23.62] has joined #ruby
<becom33>
burgestrand: yes only the very last one .
n3m [n3m!~bla@88-117-25-50.adsl.highway.telekom.at] has joined #ruby
<burgestrand>
becom33: can the URL have a hash portion attached to it?
<becom33>
for a example : example.com/index.php?id=1&s=3 // I need s=3 to change . .. if lolmyself.com/?sub=page&pid=111 // I need p=111 to change
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
<becom33>
burgestrand: I have no idea how to do . soo ur free will
nobitanobi [nobitanobi!~novito@103.Red-213-96-26.staticIP.rima-tde.net] has joined #ruby
DFectuoso [DFectuoso!~DFectuoso@fixed-203-141-49.iusacell.net] has joined #ruby
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby
Jake232 [Jake232!~textual@5e0e608a.bb.sky.com] has joined #ruby
zakwilson_ [zakwilson_!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
n3m [n3m!~bla@88-117-25-50.adsl.highway.telekom.at] has joined #ruby
lmolr [lmolr!~quassel@host128-246-dynamic.11-87-r.retail.telecomitalia.it] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
wallerdev [wallerdev!~wallerdev@72.44.102.30] has joined #ruby
palcu [palcu!~alex@89.122.187.223] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
nobitanobi [nobitanobi!~novito@103.Red-213-96-26.staticIP.rima-tde.net] has joined #ruby
adamkittelson [adamkittelson!~adamkitte@c-24-23-252-19.hsd1.ca.comcast.net] has joined #ruby
enikar [enikar!~gil@2a01:240:fe00:8b::2] has joined #ruby
burgestrand1 [burgestrand1!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby
bier [bier!~bier@p57999244.dip.t-dialin.net] has joined #ruby
pantsman [pantsman!~pantsman@pdpc/supporter/active/pantsman] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
dkannan [dkannan!u480@gateway/web/irccloud.com/x-yrdgnjslatjqbgzg] has joined #ruby
thecreators [thecreators!~rskagy@cpe-65-27-201-150.cinci.res.rr.com] has joined #ruby
paissad [paissad!~paissad@89-92-16-151.hfc.dyn.abo.bbox.fr] has joined #ruby
carlyle [carlyle!~carlyle@2602:306:37ff:180:e6ce:8fff:fe27:d2a4] has joined #ruby
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
Aufwind [Aufwind!~Aufwind@ip-88-153-50-212.unitymediagroup.de] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
closedbracket [closedbracket!~closedbra@cpe-098-024-125-117.carolina.res.rr.com] has joined #ruby
<Aufwind>
My very first step with ruby: I checked out the ruby_koans from github and I am trying to go through the tests. As suggested in the readme I installed (on my Ubuntu machine) ruby (1.9.2p290) and rake (0.9.2.2). And when I started rake I got this output. http://pastie.org/private/j9d3lx0b0m5xwxou5zwwaq Glad to hear ans suggestions to solve this. Thanks!
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.45] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
maletor [maletor!~maletor@12.130.118.39] has joined #ruby
<burgestrand1>
Aufwind: hm
<burgestrand1>
Aufwind: use "rake gen"
RomD [RomD!~Roman@nrbg-4dbe2594.pool.mediaWays.net] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has quit [#ruby]
quest88 [quest88!~quest88@c-98-207-205-137.hsd1.ca.comcast.net] has joined #ruby
al3xnull [al3xnull!~al3xnull@cpe-76-188-178-7.neo.res.rr.com] has joined #ruby
ryanf [ryanf!~revfitz@adsl-67-122-210-85.dsl.snfc21.pacbell.net] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
thomasdebenning [thomasdebenning!~thomasdeb@c-69-181-139-137.hsd1.ca.comcast.net] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
Nss [Nss!~nss@host127-217-dynamic.55-79-r.retail.telecomitalia.it] has joined #ruby
cousine [cousine!~cousine@196.221.61.52] has joined #ruby
marigoLd [marigoLd!~sebastian@176.92-242-81.adsl-dyn.isp.belgacom.be] has joined #ruby
<marigoLd>
-promotions.each do |promo|
<marigoLd>
-if promo.status == 'bookable'
<marigoLd>
can i put this on one line?
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
<apeiros_>
sure
<apeiros_>
hm
<apeiros_>
might trip of haml's auto-closing/end-insertion
<apeiros_>
*trip off
<marigoLd>
i actually did not mean it literally, but maybe that there was a better way to write it it ? :)
<apeiros_>
only that slice - I wouldn't know. more context can help, though
<marigoLd>
thx anyway
yakko [yakko!~quassel@201.86.191.125.dynamic.adsl.gvt.net.br] has joined #ruby
vraa [vraa!~vraa@c-76-30-144-32.hsd1.tx.comcast.net] has joined #ruby
DFectuoso [DFectuoso!~DFectuoso@fixed-203-141-49.iusacell.net] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
centipedefarmer [centipedefarmer!~centipede@71-34-161-120.desm.qwest.net] has joined #ruby
Tick-Tock [Tick-Tock!~Tick-Tock@lunari.us] has joined #ruby
tar_ [tar_!~tar@209-6-37-203.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #ruby
redwinter [redwinter!~mike@host-168-214-107-208.midco.net] has joined #ruby
nd__ [nd__!~nd@mnhm-4d0065fd.pool.mediaWays.net] has joined #ruby
<marigoLd>
-promotions.select(|promo| promo.status == 'bookable').each do |promo|
<apeiros_>
that's what I meant by "more context". that only works if there's no else/elsif and that's impossible to know from the given code…
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
<apeiros_>
depending on how you get promotions (e.g. a db), you could change the db request.
<marigoLd>
ah yep ic, anyway thx for help
n3m [n3m!~bla@91-115-255-166.adsl.highway.telekom.at] has joined #ruby
josh___ [josh___!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
dotnull [dotnull!~dot_null@173-31-158-182.client.mchsi.com] has joined #ruby
zastaph [zastaph!zastaph@unaffiliated/zastaph] has joined #ruby
azbarcea [azbarcea!~quassel@79.114.17.159] has joined #ruby
codebeaker [codebeaker!~codebeake@31-18-121-137-dynip.superkabel.de] has joined #ruby
josesaldana [josesaldana!~josesalda@186.73.99.124] has joined #ruby
yakko [yakko!~quassel@201.86.191.125.dynamic.adsl.gvt.net.br] has joined #ruby
wallerdev [wallerdev!~wallerdev@72.44.102.30] has joined #ruby
Tick-Tock [Tick-Tock!~Tick-Tock@lunari.us] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@205.233.80.139] has joined #ruby
iamjarvo [iamjarvo!~Adium@c-69-253-161-14.hsd1.pa.comcast.net] has joined #ruby
LMolr [LMolr!~quassel@host128-246-dynamic.11-87-r.retail.telecomitalia.it] has joined #ruby
audy [audy!~audy@heyaudy.com] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
Planet_EN [Planet_EN!~nkhan@87.200.52.125] has joined #ruby
<Planet_EN>
I have a variable in called Aa with value like: Aa = [true, true, false, false], why do I keep getting dynamic constant assignment error, it works fine on irb
<Planet_EN>
??
urbann [urbann!~urbann@c-2ec25cd3-74736162.cust.telenor.se] has joined #ruby
<urbann>
jornetre
atmosx [atmosx!~atmosx@kovo.d-net.cz] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
<rippa>
Planet_EN: because it's a constant, not a variable
<rippa>
first letter capital - a constant
atmosx [atmosx!~atmosx@kovo.d-net.cz] has joined #ruby
<Planet_EN>
wtf, thats a stupid rule
frequency9 [frequency9!~frequency@pool-96-235-227-171.altnpa.east.verizon.net] has joined #ruby
ChampS666 [ChampS666!~ChampS@p54B4D99E.dip.t-dialin.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<Planet_EN>
it shouldnt work in irb as well then.. end
<wallerdev>
lol
<wallerdev>
it's not that stupid of a rule
mr-green [mr-green!~mr-green@122.164.183.37] has joined #ruby
<wallerdev>
most programming languages have a style guide you should follow in terms of how to name things
niklasb_ [niklasb_!~codeslay0@p5B310005.dip0.t-ipconnect.de] has joined #ruby
<wallerdev>
ruby just uses that to enforce a few things so you don't have to type const or another keyword like that
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
<urbann>
hi all
<urbann>
I want to extend the default thor actions for generating applications
<urbann>
I just wondering if this is something that is planed for a upcoming rails version or if you know about some similar project?
<urbann>
do not want to reinvent something !
<urbann>
: )
* atmosx
is listening to Within Temptation - Stand My Ground, from the album Silent Force [4:28 mins] [320 kbps MPEG audio file] [10,27 MB] [played 7 times]
<atmosx>
I know you were all dying to know
<wallerdev>
lol
<wallerdev>
urbann: might have better luck in #rubyonrails
<urbann>
wallerdev shit! wrong channel sorry!
<wallerdev>
its okay, i mix up channels a lot too
<urbann>
thanks
urbann [urbann!~urbann@c-2ec25cd3-74736162.cust.telenor.se] has quit [#ruby]
urbann [urbann!~urbann@c-2ec25cd3-74736162.cust.telenor.se] has joined #ruby
urbann [urbann!~urbann@c-2ec25cd3-74736162.cust.telenor.se] has quit [#ruby]
sethetter [sethetter!~sethetter@ip98-186-171-21.ks.ks.cox.net] has joined #ruby
nd______ [nd______!~nd@mnhm-5f74f893.pool.mediaWays.net] has joined #ruby
<Planet_EN>
thanks wallerdev
<sethetter>
I'm running into a NoMethodError in my stack somewhere with Sinatra and Rack, here's my output: http://pastie.org/3190867 .. Anyone have any idea what's happening?
zakwilson_ [zakwilson_!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
michael_mbp [michael_mbp!~Marin@149.147.202.45] has joined #ruby
<wallerdev>
sethetter: you can check that file (flash.rb line 11) to see if that helps
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
<wallerdev>
probably trying to write to some stream and it doesn't exist? hard to say
urbann [urbann!~urbann@c-2ec25cd3-74736162.cust.telenor.se] has joined #ruby
urbann [urbann!~urbann@c-2ec25cd3-74736162.cust.telenor.se] has quit [#ruby]
<Planet_EN>
is there anything in ruby like virtualenv, which is not as bad as sandbox and not as weird as rip?
<sethetter>
wallerdev: From what I've gathered, my App isn't being passed around correctly. The method getting the error is << and should be from my App I believe. SO I switched my app to modular style thinking that would help it get passed around, but same error still.
bastilian [bastilian!~bastilian@chello062178156107.9.14.vie.surfer.at] has joined #ruby
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby
RichGuk [RichGuk!~RichGuk@carina.27smiles.com] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
frequency9 [frequency9!~frequency@pool-96-235-227-171.altnpa.east.verizon.net] has joined #ruby
pietro [pietro!~pietro@2-227-162-47.ip187.fastwebnet.it] has joined #ruby
jesteracer [jesteracer!~textual@178.215.115.18] has joined #ruby
becom33 [becom33!~becom33@112.135.222.164] has quit [#ruby]
audy [audy!~audy@heyaudy.com] has joined #ruby
Planet_EN [Planet_EN!~nkhan@87.200.52.125] has quit [#ruby]
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
mdel [mdel!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby
<sethetter>
I think I'm seeing some issues between Sinatra and Rack in my library stack right now. Could someone take a look at -- http://pastie.org/3190867 ??
<waxjar>
sethetter, just saw you post in #sinatra.
<waxjar>
i had the problem as well, my solution was to use sinatra/flash
<waxjar>
instead of rack-flash
<waxjar>
*your
<sethetter>
waxjar: Awesome thanks I'll give that a shot. Are flash messages still set the same way? ex - flash[:notice] = 'Hello!'
<waxjar>
yea, the syntax is pretty much identical
<sethetter>
waxjar: That worked, awesome thank you. Now for some reason it looks a couple js resources aren't loading >_<
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
TomJ [TomJ!~TomJ@host-78-147-101-223.as13285.net] has joined #ruby
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
jbpros [jbpros!~jbpros@135-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
sleepwalker_ [sleepwalker_!~sleepwalk@178.176.136.234] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
charlenopires [charlenopires!~quassel@186.194.13.186] has joined #ruby
CreativeEmbassy [CreativeEmbassy!~CreativeE@pool-71-162-37-136.altnpa.east.verizon.net] has joined #ruby
sleepwalker__ [sleepwalker__!~sleepwalk@178.176.136.234] has joined #ruby
emocakes [emocakes!~om@189-11-46-97.mganm703.dsl.brasiltelecom.net.br] has joined #ruby
josh____ [josh____!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
sixpoint8 [sixpoint8!~jaykub@ip68-12-204-131.ok.ok.cox.net] has joined #ruby
misc-- [misc--!~misc@ip-202.4.79.66.sta.onestream.com.au] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
mikepack [mikepack!~mikepack@c-174-51-77-22.hsd1.co.comcast.net] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
achiu [achiu!~Adium@ip68-5-18-17.oc.oc.cox.net] has joined #ruby
atmosx [atmosx!~atmosx@191.116.broadband5.iol.cz] has joined #ruby
cesario [cesario!u2444@gateway/web/irccloud.com/x-grwhlyurjiohalnd] has quit [#ruby]
mr-green [mr-green!~mr-green@122.164.183.37] has joined #ruby
max_ [max_!~max@c-71-204-121-215.hsd1.ga.comcast.net] has joined #ruby
kvyn [kvyn!~kvyn@w0109-49-133-90-244.uqwimax.jp] has joined #ruby
Synthead [Synthead!~max@c-71-204-121-215.hsd1.ga.comcast.net] has joined #ruby
philcrissman [philcrissman!~philcriss@c-174-53-217-149.hsd1.mn.comcast.net] has joined #ruby
IanV [IanV!~chatzilla@host86-177-25-164.range86-177.btcentralplus.com] has joined #ruby
audy [audy!~audy@heyaudy.com] has joined #ruby
mxweas_ [mxweas_!~max@c-24-7-45-147.hsd1.ca.comcast.net] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
brngardner [brngardner!~brngardne@c-98-192-3-166.hsd1.ga.comcast.net] has joined #ruby
<IanV>
where does the rspec example block get methods like #get and #visit from?
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
pietro [pietro!~pietro@2-227-162-47.ip187.fastwebnet.it] has joined #ruby
trapni [trapni!~trapni@h1969975.stratoserver.net] has joined #ruby
cousine [cousine!~cousine@196.221.61.52] has joined #ruby
mxweas_ [mxweas_!~max@c-24-7-45-147.hsd1.ca.comcast.net] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
shadoi [shadoi!~Adium@c-71-202-122-8.hsd1.ca.comcast.net] has joined #ruby
CreativeEmbassy [CreativeEmbassy!~CreativeE@pool-71-162-37-136.altnpa.east.verizon.net] has joined #ruby
carlyle [carlyle!~carlyle@99-127-240-24.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
<IanV>
@IanV d
<IanV>
IanV: d
* IanV
e
al3xnull [al3xnull!~al3xnull@cpe-76-188-178-7.neo.res.rr.com] has joined #ruby
virunga [virunga!~virunga@151.64.7.123] has joined #ruby
canton7 [canton7!~canton7@87-194-161-58.bethere.co.uk] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
al3xnull [al3xnull!~al3xnull@cpe-76-188-178-7.neo.res.rr.com] has joined #ruby
centipedefarmer [centipedefarmer!~centipede@71-34-161-120.desm.qwest.net] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
philips [philips!~philips@shell.ifup.org] has joined #ruby
redwinter [redwinter!~mike@host-168-214-107-208.midco.net] has joined #ruby
audy [audy!~audy@heyaudy.com] has joined #ruby
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
yakko [yakko!~quassel@201.86.191.125.dynamic.adsl.gvt.net.br] has joined #ruby
misc-- [misc--!~misc@ip-202.4.79.66.sta.onestream.com.au] has joined #ruby
stringoO [stringoO!~JLstring@bas1-toronto42-1279599774.dsl.bell.ca] has joined #ruby
idoru [idoru!idoru@freenode/utility-bot/ex-server/idoru] has joined #ruby
atmosx [atmosx!~atmosx@kovo.d-net.cz] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
TomJ [TomJ!~TomJ@host-78-147-101-223.as13285.net] has joined #ruby
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
emocakes [emocakes!~om@189-11-46-97.mganm703.dsl.brasiltelecom.net.br] has joined #ruby
closedbracket [closedbracket!~closedbra@cpe-174-096-207-064.carolina.res.rr.com] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
mickn [mickn!~mickn@unaffiliated/mickn] has joined #ruby
tomku [tomku!~tom_irc@24-196-153-152.dhcp.fdul.wi.charter.com] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
al3xnull [al3xnull!~al3xnull@rrcs-24-123-245-226.central.biz.rr.com] has joined #ruby
al3xnull_ [al3xnull_!~al3xnull@ec2-50-19-33-225.compute-1.amazonaws.com] has joined #ruby
txdv [txdv!~unreal@78.60.233.29] has joined #ruby
[RHQme]stringo0 [[RHQme]stringo0!~JLstring@bas1-toronto42-1279599167.dsl.bell.ca] has joined #ruby
Behi [Behi!~Behi@203-206-227-95.perm.iinet.net.au] has joined #ruby
mickn [mickn!~mickn@unaffiliated/mickn] has joined #ruby
CreativeEmbassy [CreativeEmbassy!~CreativeE@pool-71-162-37-136.altnpa.east.verizon.net] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
badabim [badabim!~badabim@c-98-207-235-20.hsd1.ca.comcast.net] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
brngardner [brngardner!~brngardne@c-98-192-3-166.hsd1.ga.comcast.net] has joined #ruby
d3b4g [d3b4g!~d3b4g@123.176.25.98] has joined #ruby
CreativeEmbassy [CreativeEmbassy!~CreativeE@pool-71-162-37-136.altnpa.east.verizon.net] has joined #ruby
nonotza_ [nonotza_!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-117-93.albq.qwest.net] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
djr [djr!~djr@dsl-208-196.madisontelco.com] has joined #ruby
vjacob [vjacob!~vjacob@94-195-174-165.zone9.bethere.co.uk] has joined #ruby
<dagnachewa>
is it possible to on single user installation of rvm to tell it to install in /usr ?
d-snp [d-snp!~d-snp@smurfer.student.utwente.nl] has joined #ruby
<dagnachewa>
$rvm_path (/home/dagnachew/.rvm) does not exist.bash: __rvm_teardown: command not found
bradleymeck [bradleymeck!~bradleyme@216-188-224-223.dyn.grandenetworks.net] has joined #ruby
<bradleymeck>
what would be a good book for a beginning programmer to learn ruby?
bobss8 [bobss8!4a48c6db@gateway/web/freenode/ip.74.72.198.219] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
<dagnachewa>
never mind it seem to work after 2 days of hassle
davidpk [davidpk!~r00t@5e0a2c17.bb.sky.com] has joined #ruby
dankest [dankest!~dankest@ip184-187-165-135.sb.sd.cox.net] has joined #ruby
dankest [dankest!~dankest@ip184-187-165-135.sb.sd.cox.net] has joined #ruby
cooper [cooper!~mitchell@unaffiliated/furryfishy] has joined #ruby
davidpk [davidpk!~r00t@5e0a2c17.bb.sky.com] has joined #ruby
regismesquita_ [regismesquita_!~regismesq@187.45.255.64] has joined #ruby
misc-- [misc--!~misc@ip-202.4.79.66.sta.onestream.com.au] has joined #ruby
dankest [dankest!~dankest@ip184-187-165-135.sb.sd.cox.net] has joined #ruby
apucacao [apucacao!~apucacao@S0106602ad075859e.vc.shawcable.net] has joined #ruby
c0rn [c0rn!~c0rn@adsl-69-110-7-189.dsl.pltn13.pacbell.net] has joined #ruby
Karmaon [Karmaon!~john@gateway/tor-sasl/karmaon] has joined #ruby
baroquebobcat [baroquebobcat!~nick@161.98.13.100] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
kvyn [kvyn!~kvyn@w0109-49-133-90-244.uqwimax.jp] has joined #ruby
<shevy>
bradleymeck learn to program - start here http://pine.fm/LearnToProgram/?Chapter=01 work through it then immediately start writing ruby scripts on your for any problem domain you can think of
<Okasu>
OPs, maybe it will be better if you include some FAQ answers in topic?
orangejuice [orangejuice!~orangejui@66.96.251.117] has joined #ruby
<Okasu>
bradleymeck: rubykoans another option
<Okasu>
or programming ruby 2011
<robert_>
hiii shevy :D
<shevy>
hey robert_ writing any ruby code?
<robert_>
yup
<robert_>
padrino rocks
TomJ [TomJ!~TomJ@host-78-147-101-223.as13285.net] has joined #ruby
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
rickmast [rickmast!~rickmasta@pool-71-183-247-164.nycmny.fios.verizon.net] has joined #ruby
<notbrent>
robert_: i was thinking about using it for a project yesterday, but their site, presumably built on padrino, was throwing some nasty passenger errors.. and even now they just have a drop-in static index, the rest isn't functional :O
<robert_>
eh?
GreaseMonkey [GreaseMonkey!~gm@121-74-73-110.telstraclear.net] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
robotmay [robotmay!~robotmay@5ad8f1da.bb.sky.com] has joined #ruby
<notbrent>
at the very least, mongo is great at sending you coffee mugs for completing their browser repl crash course
<robert_>
sleepwalker__: ouch.
<jlogsdon>
they are also great at talking about it and how great it is
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
<ampex>
I've had fairly good luck with mongo
<ampex>
granted I haven't thrown massive workloads at it
<ampex>
using it more for ease of use than some sort of massive scalability
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
peterhellberg [peterhellberg!~peterhell@c-dad4e455.01-84-73746f2.cust.bredbandsbolaget.se] has joined #ruby
RomD` [RomD`!~Roman@nrbg-4d077090.pool.mediaWays.net] has joined #ruby
<jlogsdon>
ampex: we had lots of issues with our setup at my last company. Sharding was not working correctly (finally got that fixed), and mongos would have to be constantly monitored and restarted at least once a day as configs would get out of sync somehow
<zalesz>
hey, could someone help me with gems c-extension function ?
<jlogsdon>
We also had it randomly delete all of our data after a failed transfer from... mysql? to mongo. it was half-way through and took 3 days to run :(
<jlogsdon>
(there were no deletes in our script, but im not sure of the specifics of the issue. but i think it had to do with the safe-write settings)
<Okasu>
are you sirius about padrino?
<Okasu>
if i knew about nanoc earlier, i'd never touch sinatra shit
<Okasu>
sinatra generate html over and over again, eats a lot mamory and pretends to be simple light framework
<Okasu>
nonsens
<jlogsdon>
Okasu: static generators are only good for, well, static sites!
<jlogsdon>
and practically everything i need/want a framework is not static
<jlogsdon>
great for a blog, I guess?
<notbrent>
hehe exactly
<Okasu>
jlogsdon: thanks KO
<Okasu>
but sinatra generates html for each request
<jlogsdon>
then use caching, its not hard.
<Okasu>
for what
<Okasu>
maybe just not to use sinatra?
<jlogsdon>
okay, or i can use what i enjoy and works well for me :)
al3xnull [al3xnull!~al3xnull@ec2-50-19-33-225.compute-1.amazonaws.com] has joined #ruby
<Okasu>
have tried nanoc?
<jlogsdon>
i've no issues with it generating content on the fly... if it's a higher-traffic site, i can cache output just fine. but that doesn't work well for highly dynamic sites
<jlogsdon>
no, i have no use for it. it's not for dynamic sites
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
dennda [dennda!~dennda@ubuntu/member/dennda] has quit [#ruby]
<Okasu>
jlogsdon: you mean server side caching?
<jlogsdon>
yeah
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
<jlogsdon>
also, effective use of HTTP caching
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<jlogsdon>
and honestly, the time it takes to generate the html is usually not a problem. I prefer to just cache the result of expensive queries, the database is, more often than not, the bottleneck
misc-- [misc--!~misc@ip-202.4.79.66.sta.onestream.com.au] has joined #ruby
centipedefarmer [centipedefarmer!~centipede@71-34-161-120.desm.qwest.net] has joined #ruby
peterhellberg [peterhellberg!~peterhell@c-dad4e455.01-84-73746f2.cust.bredbandsbolaget.se] has joined #ruby
zakwilson [zakwilson!~quassel@72.158.101.205] has joined #ruby
ap3mantus [ap3mantus!~ap3mantus@c-98-217-179-108.hsd1.ma.comcast.net] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
TheTFEF [TheTFEF!JS@unaffiliated/thetfef] has joined #ruby
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
raincole__ [raincole__!~raincole@2001:288:5239:1:224:2bff:fe75:2f60] has joined #ruby
jbhewitt [jbhewitt!~jbhewitt@eth3258.qld.adsl.internode.on.net] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
Guest35121 [Guest35121!~ponies@87.114.82.184] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
Hellojere [Hellojere!~Hellojere@89.7.90.160] has joined #ruby
Targen [Targen!~iguana@190.39.181.108] has joined #ruby
djr_ [djr_!~djr@dsl-208-196.madisontelco.com] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
_|christian|_ [_|christian|_!~christian@190.236.233.82] has joined #ruby
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
djr_ [djr_!~djr@dsl-208-196.madisontelco.com] has joined #ruby
brngardner [brngardner!~brngardne@c-98-192-3-166.hsd1.ga.comcast.net] has joined #ruby
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
brngardner [brngardner!~brngardne@c-98-192-3-166.hsd1.ga.comcast.net] has joined #ruby