<bean>
it was when i was messing with something else
Davey has quit [Quit: Computer has gone to sleep.]
<farsonic>
cool..
<farsonic>
that seems to work
jbueza1 has quit [Quit: Leaving.]
<farsonic>
will this work for stdin from the console?
<farsonic>
seems to only like file input
<bean>
should I think. you might want to put a method_missing in there too.
icosahedral has joined #ruby
<bean>
obvs you'll also want to pass a to the function
<lewix>
there's no difference between (if blah == true) and ( if blah) correct? because im having different response when i do testing just by changing that
<lewix>
unless rails changed the meaning of == in controllers?
<bean>
lewix, yes, that is correct.
<bean>
i doubt it.
tvw has quit []
<lewix>
bean: i just put == and my test fail
dmiller has quit [Ping timeout: 272 seconds]
<lewix>
i remove it and it succeeds
marr has quit [Ping timeout: 276 seconds]
<farsonic>
doesn't work from STDIN though
<farsonic>
;(
<icy`>
is blah a string?
<bean>
how are you invoking it
freerobby has joined #ruby
<lewix>
icy`: an instance variable
<farsonic>
i've called the script test.rb
<farsonic>
./test.rb
<bean>
ah, no, you'd have to redirect some sort of stdin pipe to it
<lewix>
bean: it's normal behavior. are you pointing out something i dont see?
jnoob22 has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
<bean>
lewix, sry, i was thinking incorrectly about checking for nil
ttt has joined #ruby
rethunk has quit [Ping timeout: 246 seconds]
<icy`>
if blah will be true if blah is not nil
<icy`>
if blah==true is a bit different
pskosinski has joined #ruby
timkohrumel has joined #ruby
rethunk has joined #ruby
Davey has joined #ruby
<lewix>
it's not a bit different. it is different
<lewix>
it's like comparing two different objects
<lewix>
it will always return false unless blah is the object true itself
headius has quit [Quit: headius]
d2dchat has joined #ruby
ttt has quit [Ping timeout: 256 seconds]
* icy`
is confused
<icy`>
so you're no longer asking a question?
jamescarr has joined #ruby
ccooke has quit [Ping timeout: 246 seconds]
timkohrumel has quit [Ping timeout: 264 seconds]
dougireton has joined #ruby
<lewix>
icy`: easy scroll up and fix your confusion =)
yshh has joined #ruby
kinginky has quit [Ping timeout: 256 seconds]
kofno has joined #ruby
aryatosh has joined #ruby
sambao21 has joined #ruby
zastern has quit [Remote host closed the connection]
ariedler has joined #ruby
tommyvyo has quit [Quit:]
love_color_text has quit [Ping timeout: 272 seconds]
robscomputer has quit [Remote host closed the connection]
zastern has joined #ruby
_nitti has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
dougireton has quit [Quit: Leaving.]
love_color_text has joined #ruby
Michael__ has quit [Remote host closed the connection]
ccooke has joined #ruby
Proshot has quit [Quit: Leaving]
zastern has quit [Remote host closed the connection]
aryatosh_ has joined #ruby
newtonianb has quit [Read error: Connection reset by peer]
kinginky has joined #ruby
newtonianb has joined #ruby
aryatosh has quit [Ping timeout: 256 seconds]
aryatosh has joined #ruby
atothek has joined #ruby
forced_request has joined #ruby
bradhe has joined #ruby
Regis_ has quit [Ping timeout: 255 seconds]
atothek has left #ruby [#ruby]
headius has joined #ruby
aryatosh_ has quit [Ping timeout: 255 seconds]
_huoxito has joined #ruby
rburton- has quit [Quit: Leaving...]
freerobby has joined #ruby
brennanMKE has joined #ruby
nari has joined #ruby
mockra has quit [Remote host closed the connection]
xue has quit [Quit: Leaving...]
d11wtq has joined #ruby
idkazuma has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
forced_request has quit [Read error: Connection reset by peer]
splittingred has joined #ruby
mercwithamouth has joined #ruby
headius has quit [Quit: headius]
jarin_ has quit [Quit: WeeChat 0.4.0]
forced_request has joined #ruby
antiparticle has joined #ruby
CalebMingle has quit [Quit: CalebMingle]
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
aryatosh_ has joined #ruby
aryatosh has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
__alpaca has joined #ruby
ttt has joined #ruby
nezumi has joined #ruby
aryatosh has joined #ruby
xardas has quit [Ping timeout: 272 seconds]
Domon has joined #ruby
chrishough has quit [Quit: chrishough]
netto has quit [Quit: netto]
aryatosh_ has quit [Ping timeout: 264 seconds]
__alpaca has quit [Ping timeout: 252 seconds]
Gooder``` has quit [Ping timeout: 276 seconds]
sleetdrop has joined #ruby
hamakn has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
jduan1981 has joined #ruby
mercwith1mouth has joined #ruby
mootpointer has joined #ruby
myapleguy has joined #ruby
johnkary has joined #ruby
symme7ry has quit [Ping timeout: 268 seconds]
zastern has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
timkohrumel has joined #ruby
rickmasta has joined #ruby
myapleguy has left #ruby [#ruby]
myapleguy has joined #ruby
johnmilton has quit [Quit: Leaving]
_cheney3 has joined #ruby
chimmy has joined #ruby
<chimmy>
Wats da best way to intialize an Array?
<chimmy>
Arr
<chimmy>
arr = [] ?
<skyjumper>
sure, why not
<chimmy>
Just to make sure
timkohrumel has quit [Remote host closed the connection]
marcdel has quit [Quit: marcdel]
johnnyfuchs has joined #ruby
bhaarat has joined #ruby
<chimmy>
Does anyone know wats the max number of pool for mysql?
_huoxito has quit [Quit: Leaving]
jamesfung14 has quit [Ping timeout: 272 seconds]
zastern has quit [Ping timeout: 245 seconds]
mixel has quit [Quit: mixel]
<bhaarat>
Can ruby be used to write a script that runs on newly spawned VM's to install certain things? Java/Tomcat/MySQL among the few. Would I just write a plain old ruby class or is there a framework I can follow which most ppl use?
guitsaru has quit [Remote host closed the connection]
brennanMKE has joined #ruby
miso1337 has quit [Quit: afk]
mucker has joined #ruby
ntzrmtthihu777 has joined #ruby
freakazoid0223 has quit [Ping timeout: 272 seconds]
<ntzrmtthihu777>
hello, bit of help getting wxruby working with rvm and ruby 1.9.3?
__alpaca has joined #ruby
girija has joined #ruby
aedornm has joined #ruby
mootpointer has joined #ruby
miso1337 has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
kofno has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
stevechiagozie has joined #ruby
guitsaru has joined #ruby
guitsaru has quit [Read error: Connection reset by peer]
guitsaru has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
guitsaru has quit [Remote host closed the connection]
glacification11 has quit [Read error: Connection reset by peer]
jovy88 has quit [Read error: Connection reset by peer]
devyn has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
jovy88 has joined #ruby
dhruvasagar has joined #ruby
Domon has joined #ruby
devyn has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
M- has quit [Quit: Leaving]
stevechiagozie has quit [Ping timeout: 252 seconds]
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
brianpWins has joined #ruby
danslo has quit [Quit: danslo]
rickruby has quit [Remote host closed the connection]
glacification11 has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
yashshah_ has joined #ruby
dhruvasagar has joined #ruby
ddfreyne has quit [Ping timeout: 248 seconds]
nickchow has quit [Quit: Leaving...]
braoru has joined #ruby
piisalie_ has quit [Ping timeout: 276 seconds]
ananthakumaran has quit [Quit: Leaving.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
kinginky has quit [Read error: Operation timed out]
tagrudev has joined #ruby
jduan1981 has quit [Ping timeout: 248 seconds]
pietr0 has quit [Ping timeout: 252 seconds]
feedbackloop has quit [Ping timeout: 256 seconds]
aedornm has quit [Remote host closed the connection]
kinginky has joined #ruby
framling has joined #ruby
jojosiao has joined #ruby
aedornm has joined #ruby
aedornm1 has joined #ruby
vlad_starkov has joined #ruby
pietr0 has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
malcolmva has quit [Ping timeout: 264 seconds]
<framling>
I'm having trouble getting a ruby script to start at boot. Is there an accepted way of doing this on linux systems?
aryatosh has quit []
nomenkun has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
<nezumi>
call it in /etc/rc.local?
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
stevechiagozie has joined #ruby
ksinkar has joined #ruby
<ntzrmtthihu777>
wxruby?
glacification11 has quit [Ping timeout: 264 seconds]
rsahae has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
stevechiagozie has quit [Ping timeout: 252 seconds]
rh1n0 has joined #ruby
ananthakumaran has joined #ruby
rsahae has quit [Client Quit]
k611 has joined #ruby
rsahae has joined #ruby
rsahae has quit [Client Quit]
glacification11 has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
k611 has quit [Ping timeout: 276 seconds]
chandankumar has quit [Quit: Leaving]
chrishough has quit [Quit: chrishough]
sleetdrop has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
<Hanmac>
ntzrmtthihu777: can you show me whats wrong?
idkazuma has quit [Remote host closed the connection]
malcolmva has joined #ruby
<ntzrmtthihu777>
Hanmac: sup bro!
<ntzrmtthihu777>
well the gem I get from gem install wxruby crashes like hell, and when I try to rake the gem from source my version of swig is too new
sleetdrop has joined #ruby
ddfreyne has joined #ruby
<Hanmac>
let me guess ... when you install it from gem it does fail because of some "media" lib missing?
<ntzrmtthihu777>
no, it does not fail from gem install wxruby. bur running a wxruby program/sample crashes like hell all
<ntzrmtthihu777>
=_= its an existing rubyscript, and I quite frankly have no idear about converting it atm.
s00pcan has quit [Ping timeout: 252 seconds]
<ntzrmtthihu777>
and honestly I have no idea why it does not work anymore, I've used wxruby on this same machine before, no issue.
SCommette has quit [Client Quit]
<ntzrmtthihu777>
so unless you rwx syntax is the same as wxruby it won't work outta box XD
<Hanmac>
hm no ... because rwx is more rubylike then wxruby
noop_ has joined #ruby
jamescarr has quit [Quit: jamescarr]
jimg has joined #ruby
<Hanmac>
and rwx still miss some widgets ... ntzrmtthihu777 can you make me a list of Widgets and Events your programm use? so i can focus on them in rwx
kofno has joined #ruby
<ntzrmtthihu777>
izzat so? wxruby was rather wx-like than ruby-like, so this could be a good thing.
<ntzrmtthihu777>
I honestly don't know all the widgets and events used, as I said its an existing script, not my design.
Mon_Ouie has quit [Ping timeout: 252 seconds]
a_a_g has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
kofno has quit [Ping timeout: 255 seconds]
<Hanmac>
ntzrmtthihu777: is the Constants, like if you use an wxButton or wxBitmapButton ... and the events hm this are the evt_* methods ...
JimmyNeutron has joined #ruby
chandankumar has joined #ruby
skum has joined #ruby
<ntzrmtthihu777>
Yes, I know what you mean, but I don't know the answer. I did *not* write this, I merely used it some.
<Hanmac>
ntzrmtthihu777: hm didnt you also use wxRuby for your maker?
robscomputer has quit [Remote host closed the connection]
gstamp has joined #ruby
Hanmac has quit [Quit: Leaving.]
robscomputer has joined #ruby
guitsaru has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<ntzrmtthihu777>
I was intending to, the current reason for my installation of it. but if its gone to crap I
<ntzrmtthihu777>
ll use yours, likely
skum is now known as julskum
Niels___ has joined #ruby
rburton- has joined #ruby
julskum is now known as skumt
skumt has quit [Changing host]
skumt has joined #ruby
gstamp has quit [Client Quit]
skumt is now known as vainohelevete
rh1n0 has quit [Quit: -- I'm out --]
passerine has left #ruby ["失礼します"]
sayan has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
persand has joined #ruby
Nisstyre-laptop has joined #ruby
<ntzrmtthihu777>
dahell
vlad_starkov has joined #ruby
rton has joined #ruby
dr_bob has joined #ruby
nfk has joined #ruby
dr_bob has quit [Client Quit]
lewix_ has joined #ruby
dr_bob has joined #ruby
dr_bob has quit [Client Quit]
dr_bob has joined #ruby
guitsaru has quit [Remote host closed the connection]
miso1337 has quit [Ping timeout: 245 seconds]
lewix has quit [Ping timeout: 268 seconds]
bigkevmcd has quit [Quit: Ex-Chat]
celinedior has quit [Quit: celinedior]
aganov has joined #ruby
pduin has joined #ruby
Domon has quit [Remote host closed the connection]
yashshah_ has quit [Ping timeout: 264 seconds]
MrZYX|off is now known as MrZYX
Nisstyre-laptop is now known as Nisstyre
rippa has quit [Ping timeout: 240 seconds]
bigkevmcd has joined #ruby
dougireton has joined #ruby
ph^ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
MisterPostIT has joined #ruby
clocKwize has joined #ruby
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
miso1337 has joined #ruby
mootpointer has joined #ruby
tvw has joined #ruby
rawler has quit [Ping timeout: 245 seconds]
nveselinov has joined #ruby
skroon has joined #ruby
Domon has joined #ruby
<framling>
I tried calling my script in /etc/rc.local, and directly calling /etc/rc.local makes my script start up fine, but it won't start it after a reboot
Bry8Star has joined #ruby
krz has quit [Ping timeout: 245 seconds]
johnkary has quit [Quit: @johnkary]
filipe has joined #ruby
Hanmac has joined #ruby
teclator has quit [Ping timeout: 252 seconds]
mattbl has joined #ruby
tomzx_mac has quit [Ping timeout: 246 seconds]
locriani has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
nopolitica has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
chandankumar has quit [Remote host closed the connection]
<Flexa>
def interested in taking you up on your offer
visof has quit [Changing host]
visof has joined #ruby
niceguyjames has joined #ruby
<Spooner>
Ha, OK!
Gabri has quit [Remote host closed the connection]
PRabbit7569 has quit []
camilasan has joined #ruby
<Flexa>
:)
mmozuras has quit [Ping timeout: 256 seconds]
johchri has joined #ruby
dougireton has joined #ruby
Zai00 has joined #ruby
slainer68 has joined #ruby
zavier has quit [Quit: WeeChat 0.3.8]
rh1n0 has joined #ruby
tcsc has joined #ruby
rh1n0 has quit [Client Quit]
pietr0 has quit [Ping timeout: 248 seconds]
dougireton has quit [Ping timeout: 268 seconds]
pietr0 has joined #ruby
timmow has joined #ruby
soulofpeace has quit [Ping timeout: 245 seconds]
tvw has quit [Read error: Connection reset by peer]
zavier has joined #ruby
agarie has quit [Quit: Leaving...]
soulofpeace has joined #ruby
jimg has joined #ruby
marcdel has quit [Quit: marcdel]
camilasa_ has joined #ruby
aaronmcadam has joined #ruby
aaronmcadam has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
aaronmcadam has joined #ruby
marr has joined #ruby
marr has quit [Excess Flood]
camilasan has quit [Ping timeout: 252 seconds]
marr has joined #ruby
clocKwize has quit [Read error: No route to host]
slainer68 has quit [Read error: Connection reset by peer]
clocKwize has joined #ruby
slainer68 has joined #ruby
spider-mario has joined #ruby
tevio has joined #ruby
skattyadz has quit [Quit: skattyadz]
jimg has quit [Ping timeout: 246 seconds]
rubarlion has joined #ruby
LnL has quit [Quit: LnL]
blaxter_ has joined #ruby
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby
brianpWins has quit [Quit: brianpWins]
browndawg has joined #ruby
ttt has quit [Remote host closed the connection]
nomenkun has joined #ruby
ToApolytoXaos has joined #ruby
eka has joined #ruby
jbpros has quit [Quit: jbpros]
eka has quit [Client Quit]
timmow has quit [Remote host closed the connection]
Spitfire is now known as Niri1
timmow has joined #ruby
Niri1 is now known as Spitfire
bluOxigen has joined #ruby
TMM has quit [Ping timeout: 256 seconds]
cHarNe2_ is now known as cHarNe2
tevio has quit [Remote host closed the connection]
pskosinski has joined #ruby
nickchow has joined #ruby
gungor has joined #ruby
vlad_starkov has joined #ruby
farsonic has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
skattyadz has joined #ruby
workmad3 has joined #ruby
ferdev has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
rubarlion has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
farsonic has quit [Ping timeout: 264 seconds]
ferdev has joined #ruby
tevio has joined #ruby
<pagios>
trying to install sinatra i get Installing ri documentation for sinatra-1.4.2... and it sleeps for like 2h anad then exits with no error, when trying to include sinatra in my code i get /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- sinatra (LoadError) so it looks sinatra is not getting installed
Gabri has quit [Remote host closed the connection]
jbpros has joined #ruby
Astralum has quit [Ping timeout: 252 seconds]
GeissT__ has quit [Quit: MillBroChat AdIRC User]
GeissT__ has joined #ruby
beiter has quit [Quit: beiter]
netto has quit [Quit: netto]
alanp has quit [Ping timeout: 264 seconds]
kil0byte has quit [Remote host closed the connection]
GeissT__ has quit [Client Quit]
kil0byte has joined #ruby
GeissT has joined #ruby
orrganik has joined #ruby
tevio has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 256 seconds]
orrganik has quit [Client Quit]
kofno has joined #ruby
timmow is now known as tmower
tmower is now known as timmow
<emergion>
Heya, wondering if people do this (https://gist.github.com/emergion/5466564) often? For some reason I feel like assigning instance variables that way makes code a little tricky to read and test, especially as the class gets busier. What are your thoughts ?
assurbanipal has quit [Ping timeout: 252 seconds]
pagios has quit [Remote host closed the connection]
nari has quit [Ping timeout: 246 seconds]
<Hanmac>
emergion: i dont have a problem with that but if you have to much methods or duplicated code you should look at method_missing
pac1 has quit [Ping timeout: 272 seconds]
ikst has quit [Remote host closed the connection]
LnL has quit [Quit: LnL]
<tobiasvl>
emergion: i don't really understand what "this" is
<tobiasvl>
you say "assigning instance variables", but it's only assigned in the initialize method?
<tobiasvl>
that's fine
tesuki has joined #ruby
<emergion>
Hanmac, ok cool. For some reason I just don't see it done often in code bases I like, my instinct told me I could probably take a better approach
castalan has joined #ruby
<castalan>
Anyoone familiar with Net::SSH::Gateway and DataMapper
__alpaca has joined #ruby
<emergion>
tobiasvl, sorry, I guess I mean instantiating a class and assigning it to an instance variable in my initializer method.
knirhs has joined #ruby
<workmad3>
emergion: depends on who you talk to
Proshot has quit [Ping timeout: 245 seconds]
<emergion>
hehe, someone at work gave me the same answer.
<workmad3>
emergion: but there's certainly a danger of having a rigid, hard to test program when you do that too much, because you're creating dependencies explicitly inside classes, rather than decoupling dependency creation from dependency use
<tobiasvl>
i don't see any problems with that
<workmad3>
emergion: look up arguments for and against dependency injection ;)
swex has joined #ruby
noop_ has quit [Remote host closed the connection]
<workmad3>
emergion: and then remember that, at least in ruby, you could still separate something like that for testing purposes by stubbing out Something.new in a test and returning a mock or stub implementation for testing purposes
lkba has joined #ruby
chandankumar has joined #ruby
swex_ has quit [Ping timeout: 264 seconds]
mneorr has quit [Remote host closed the connection]
dkannan has quit [Quit: dkannan]
Shrink has quit [Ping timeout: 268 seconds]
Zai00 has quit [Quit: Zai00]
<emergion>
workmad3, I think that is the phrase I'm looking for "dependency injection". That's what I think I'm suspect of.
slainer68 has joined #ruby
<emergion>
I can already see it makes testing a little more complex.
<workmad3>
emergion: well, the simplest dependency injection just says 'instead of creating Something.new directly in initialize, instead we expect to be passed an instance to use'
castalan has left #ruby [#ruby]
<workmad3>
emergion: in the java world, there are whole frameworks built up to do dependency injection, providing DI containers and a whole host of inversion of control stuff, because java doesn't make it particularly easy to do DI (Spring, for example, is basically a framework for doing DI)
gyre007 has joined #ruby
<workmad3>
emergion: but in ruby, there are ways of stubbing out dependency graphs even in code not written for dependency injection
_if has quit [Ping timeout: 245 seconds]
<workmad3>
emergion: but as you say, it makes the tests a bit more complex and brittle :)
pietr0 has quit [Ping timeout: 272 seconds]
<workmad3>
emergion: and there's plenty of discussion about which way is more ruby-like
assurbanipal has joined #ruby
<emergion>
workmad3, awesome info thanks. IMO, if testing is easier and simple that's a win. At least for a smaller application like the one I'm creating.
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<emergion>
workmad3, So you were hinting at instantiating the class and then passing it into the initializer?
<workmad3>
emergion: yup
gagan0123 has quit [Read error: No route to host]
<emergion>
Ok cool, I did ask someone at work who suggested taking that approach. I think I like that a little better because of the decoupling effect.
<emergion>
Wow, that nickname must get a lot of attention.
<emergion>
thanks all for your help, workmad3 I will try that out. Cheers for the detailed info.
gerep has joined #ruby
sambao21 has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
tommyvyo has joined #ruby
cantonic has quit [Quit: cantonic]
postmodern has quit [Quit: Leaving]
emergion has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
baba has joined #ruby
cod3r has quit [Ping timeout: 260 seconds]
noxoc has joined #ruby
kil0byte_ has joined #ruby
ttt has quit [Remote host closed the connection]
mneorr has joined #ruby
tommyvyo has quit [Quit:]
pundit has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
kil0byte has quit [Ping timeout: 255 seconds]
angusiguess has joined #ruby
Uranio has joined #ruby
Macaveli has joined #ruby
adac has quit [Ping timeout: 264 seconds]
jamescarr has joined #ruby
vikhyat has joined #ruby
dustint has joined #ruby
mark_locklear has joined #ruby
dougireton has joined #ruby
gagan0123 has joined #ruby
emergion has joined #ruby
OODavo has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
OODavo has left #ruby [#ruby]
jcrawford has quit [Ping timeout: 264 seconds]
whowantstolivefo has quit [Quit: who wants to live forever ?]
nickchow has joined #ruby
jcrawford has joined #ruby
charliesome has quit [Remote host closed the connection]
dougireton has quit [Ping timeout: 255 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
MrZYX is now known as MrZYX|off
niceguyjames has quit [Ping timeout: 252 seconds]
Uranio has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
niceguyjames has joined #ruby
mneorr has joined #ruby
divout has quit [Quit: Leaving.]
spider-mario has quit [Remote host closed the connection]
mneorr has quit [Read error: No route to host]
sambao21 has quit [Quit: Computer has gone to sleep.]
klaas_ is now known as klaas
r0bby has quit [Ping timeout: 245 seconds]
jnoob22 has quit [Remote host closed the connection]
jnoob22 has joined #ruby
adac has joined #ruby
gungor has joined #ruby
jnoob22 has quit [Read error: Connection reset by peer]
jnoob22 has joined #ruby
tommyvyo has joined #ruby
Uranio has joined #ruby
gungor_ has quit [Ping timeout: 248 seconds]
jkamenik has joined #ruby
codecaster has quit [Quit: Leaving.]
persand has quit [Quit: persand]
geekbri has joined #ruby
gungor has quit [Ping timeout: 245 seconds]
kil0byte has joined #ruby
theRoUS has quit [Ping timeout: 264 seconds]
m8 has joined #ruby
teddyp1cker has joined #ruby
kil0byte_ has quit [Ping timeout: 268 seconds]
kil0byte_ has joined #ruby
skattyadz has quit [Quit: skattyadz]
Melnorme has quit [Read error: Connection reset by peer]
mootpointer has quit [Quit: Computer has gone to sleep.]
tagrudev has quit [Quit: Me = Awesome]
SCommette has joined #ruby
a_a_g has quit [Quit: This computer has gone to sleep]
<MrZYX>
toddWork_: don't tell me you're evaling user input...
<toddWork_>
MrZYX: i am not.
<injekt>
yeah just ignore the 'eval'
<MrZYX>
so where does params come from?
<toddWork_>
data element on the dom
<injekt>
that's user input
<toddWork_>
attribute, rather
<toddWork_>
hmm.
<toddWork_>
i can scrub it, first.
<toddWork_>
check if it is in an OK list.
<injekt>
anyway how would `appkey.find()` work?
<MrZYX>
what is appkey? a method on the same object?
<toddWork_>
bundle has_many appkeys
<toddWork_>
that part works
<injekt>
oh
<toddWork_>
pushing onto line 7 doesn't work
justsee has quit [Ping timeout: 252 seconds]
<toddWork_>
that bundle[context] should work like this: bundle.appkeys << dropped.
<MrZYX>
I'm still talking about line 6
<MrZYX>
where does appkey come from
nezumi has joined #ruby
<toddWork_>
MrZYX: params[:appkeyid]
<toddWork_>
sorry, dropped.
<MrZYX>
so context is the string "appkey"
<MrZYX>
>> eval "appkey"
<toddWork_>
yes, see line 2.
<eval-in>
MrZYX => /tmp/execpad-405e46daebab/source-405e46daebab:2:in `eval': undefined local variable or method `appkey' for main:Object (NameError) ... (http://eval.in/17667)
<MrZYX>
why does it work in your code? where does appkey come from?
<toddWork_>
it is a class
<MrZYX>
no
<toddWork_>
bundle has many appkeya
<injekt>
MrZYX: he's trying to do `bundle.send(:appkeys) << ...`
<toddWork_>
appkeys
<MrZYX>
classes are constants
<MrZYX>
so you're inside Bundle?
<toddWork_>
yes.
<MrZYX>
then it's a method
<toddWork_>
sorry, i now know to make that apparent.
<MrZYX>
injekt: I know
jprovazn has quit [Quit: Leaving]
rickruby has joined #ruby
MisterPostIT has quit [Ping timeout: 264 seconds]
licksjp has joined #ruby
<MrZYX>
toddWork_: you're calling render in a model?
<toddWork_>
MrZYX: controller
<injekt>
haha
<licksjp>
Hello
<injekt>
toddWork_: you just told MrZYX you were inside Bundle
<licksjp>
I am Japanese
<MrZYX>
so how does the eval line work?
<licksjp>
I live in Japan
<toddWork_>
my apologies for my ignorance.
<licksjp>
I have installed in Rubot
<toddWork_>
like so: dropped = Appkey.find(1)
bean__ has joined #ruby
<injekt>
toddWork_: but then you try and do `bundle.appkey` << dropped; not bundle.appkeys
blaxter_ has joined #ruby
<mikecmpbll>
i have an import script which currently trundles through all the import files sequentially. I'm now looking to run multiple of the ruby script processes in parallel, what are the options for doing this? I think that they'll need to be able to communicate in some way because I don't want them to be processing the same import file.
<injekt>
you also dont need the save there
<toddWork_>
injekt: yes, that is the crux of my issue. i can manually type it in there, appkeys; but i can't programmatically get appkeys to work.
<toddWork_>
injekt: good to know about the save.
<injekt>
toddWork_: you haven't tried to add the 's' to appkey
<toddWork_>
injekt: i have like so (context + 's')
<injekt>
not in your gist
<toddWork_>
no dice
<toddWork_>
no, i didn't paste in all of my crazy efforts
chrishunt has quit [Read error: Connection reset by peer]
ravster has joined #ruby
kapowaz has quit [Quit: Connection closed for inactivity]
wallerdev has joined #ruby
admin0 has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
adac has quit [Quit: Leaving]
enigmuriatic has joined #ruby
atyz has quit [Quit: Leaving...]
<enigmuriatic>
install rvm and ruby on debian is the biggest headache i have ever experienced. can someone give me a pointer or a link to a good guide?
jdunck has quit [Quit: Computer has gone to sleep.]
browndawg has joined #ruby
rippa has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
alexwh has joined #ruby
alexwh has left #ruby [#ruby]
keymone has joined #ruby
brennanMKE has joined #ruby
Elicro has joined #ruby
Elicro has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
pundit has left #ruby [#ruby]
sailias1 has joined #ruby
generali_ has joined #ruby
robscomputer has quit [Ping timeout: 276 seconds]
wolcanus has joined #ruby
pduin has quit [Remote host closed the connection]
danslo has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
yshh has joined #ruby
sailias has quit [Ping timeout: 255 seconds]
lmf40 has quit [Remote host closed the connection]
yshh has quit [Read error: Connection reset by peer]
yshh_ has joined #ruby
ckrailo has joined #ruby
callenb has joined #ruby
aganov has quit [Quit: aganov]
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
caveat- has joined #ruby
yshh_ has quit [Remote host closed the connection]
gagan0123 has quit [Remote host closed the connection]
danslo has joined #ruby
visof has quit [Quit: Leaving]
gungor__ has quit [Ping timeout: 240 seconds]
johchri has joined #ruby
rickruby has quit [Remote host closed the connection]
rismoney has joined #ruby
Guest____ has joined #ruby
assurbanipal has quit [Remote host closed the connection]
yshh_ has joined #ruby
Mon_Ouie has joined #ruby
deepy has joined #ruby
tjbiddle has joined #ruby
<deepy>
I'm trying to install zookeeper 0.9.3 using gem from 1.8, but I always end up with this error message http://dpaste.org/2ajAm/
<deepy>
Which mentions 1.9.1, is there a way I can tell it to use 1.8?
<deepy>
gem -v shows as 1.8 and ruby 1.9.1 has been removed as an alternative for 'ruby'
emergion has quit [Quit: Computer has gone to sleep.]
<smigg>
you're using RVM?
<deepy>
I don't think so
mafolz has quit [Read error: Connection reset by peer]
_nitti has quit [Remote host closed the connection]
s0ber has quit [Read error: Connection reset by peer]
Davey has quit [Ping timeout: 252 seconds]
s0ber has joined #ruby
pietr0 has joined #ruby
<smigg>
well it looks like you have Ruby 1.9.1 installed, so you'll need to install 1.8 it looks like.
<deepy>
I have 1.8 installed too
wolcanus has quit [Remote host closed the connection]
freeayu3 has quit [Remote host closed the connection]
<deepy>
and both 'ruby -v' and 'gem -v' show 1.8
Davey has joined #ruby
Davey has quit [Client Quit]
<MrZYX>
do you have to use that gem?
jamie_ca_ has joined #ruby
emergion has joined #ruby
<MrZYX>
isn't there an alternative for 1.9?
<MrZYX>
support for 1.8 will end very soon
<smigg>
it looks like your system is currently using 1.9.1 to install the gem for some reason.. I suggest you check out RVM ( Ruby Version Manager ) as it sometimes makes such issues easier to deal with.
vainohelevete has quit [Quit: Leaving...]
_veer has quit [Ping timeout: 258 seconds]
<smigg>
and look into an alternative while you're at it
wesside has joined #ruby
JohnBat26 has quit [Read error: Connection reset by peer]
<deepy>
I have to use this gem yes
<csmrfx>
MrZYX: yes
dougireton has joined #ruby
<csmrfx>
2.0
<deepy>
ooh. I see the problem
<deepy>
gem specifically says 1.9.1 at the top
Davey has joined #ruby
dougireton has quit [Client Quit]
rdxc has joined #ruby
rickruby has joined #ruby
adambeynon has joined #ruby
thatRD has joined #ruby
angusiguess has joined #ruby
rickruby has quit [Remote host closed the connection]
primer^ has quit [Quit: Computer has gone to sleep.]
danslo_ has joined #ruby
danslo_ has quit [Client Quit]
danslo has quit [Read error: Connection reset by peer]
PragCypher has joined #ruby
jamesfung14 has quit [Ping timeout: 272 seconds]
jonathanwallace has quit [Ping timeout: 256 seconds]
love_color_text has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
wyhaines has quit [Read error: Connection reset by peer]
stoic_squirrel has joined #ruby
Proshot has quit [Ping timeout: 246 seconds]
lkba has quit [Remote host closed the connection]
mklappst_ has joined #ruby
twoism has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
mklappst_ has quit [Remote host closed the connection]
atmosx has joined #ruby
akells` has joined #ruby
bsaboia_ has joined #ruby
Gues_____ has joined #ruby
mklappst_ has joined #ruby
Gues_____ is now known as Guest27330
Zai00 has joined #ruby
Guest27330 is now known as RubNoob
aknewhope has joined #ruby
akells` has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
jamescarr has quit [Quit: jamescarr]
GOMADWarrior has quit [Ping timeout: 255 seconds]
s4muel_ is now known as s4muel
s4muel is now known as s4muelj
Proshot has joined #ruby
tenmilestereo has joined #ruby
brianpWins has joined #ruby
rupee has joined #ruby
chrishough has quit [Quit: chrishough]
the_hack has quit [Quit: Computer has gone to sleep.]
frazras has quit [Ping timeout: 245 seconds]
keymone has quit [Read error: Operation timed out]
rdark has quit [Quit: leaving]
wyhaines has joined #ruby
s4muelj is now known as s4muel
ksinkar has quit [Ping timeout: 276 seconds]
mockra has joined #ruby
kenneth has quit [Quit: kenneth]
mark_locklear has quit [Ping timeout: 245 seconds]
<A124>
Interesting.. when I use merge in iteration, it works, but if I implement exactly same fuctionality myself I get "RuntimeError: can't add a new key into hash during iteration".
<A124>
(on Hashes, I forgot to say)
licksjp has left #ruby ["Leaving..."]
elaptics is now known as elaptics`away
lolmaus has quit []
ggordan has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
thetristan has quit [Quit: thetristan]
chrishough has joined #ruby
mercwithamouth has joined #ruby
rickruby has joined #ruby
blaxter_ has quit [Quit: foo]
k610 has quit [Ping timeout: 252 seconds]
carloslopes has joined #ruby
xclite has quit [Remote host closed the connection]
brunoro has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
maycon has joined #ruby
mark_locklear has joined #ruby
bsaboia_ has quit [Ping timeout: 258 seconds]
blitz has joined #ruby
thetristan has joined #ruby
lewix has quit [Remote host closed the connection]
Ontolog has joined #ruby
lewix has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
bitZero_1 has quit [Quit: leaving]
skattyadz has quit [Quit: skattyadz]
bitZero_1 has joined #ruby
tesuki has joined #ruby
dougireton has joined #ruby
carloslopes has quit [Ping timeout: 258 seconds]
marcgg has quit [Ping timeout: 256 seconds]
Ontolog_ has joined #ruby
symme7ry has joined #ruby
Zai00 has quit [Quit: Zai00]
Catbuntu has joined #ruby
guitsaru has joined #ruby
mockra has quit [Remote host closed the connection]
Ontolog has quit [Ping timeout: 248 seconds]
ariedler has quit [Remote host closed the connection]
dougireton has quit [Ping timeout: 256 seconds]
atmosx has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
failshell has quit [Remote host closed the connection]
stkowski has joined #ruby
rickruby has quit [Remote host closed the connection]
kirun has joined #ruby
skum has joined #ruby
kenneth has joined #ruby
r0bby has joined #ruby
guitsaru has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
jbw has quit [Ping timeout: 245 seconds]
marcdel has joined #ruby
pskosinski has quit [Remote host closed the connection]
cgcardona has joined #ruby
Voodoofish430 has joined #ruby
Mon_Ouie has joined #ruby
girija has quit [Ping timeout: 245 seconds]
rsahae has joined #ruby
skum has quit [Quit: Leaving...]
huoxito has quit [Read error: Connection reset by peer]
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
raycloud_ has joined #ruby
mark_locklear has quit [Remote host closed the connection]
LnL has joined #ruby
guitsaru has joined #ruby
raycloud has quit [Ping timeout: 246 seconds]
interactionjaxsn has quit [Ping timeout: 258 seconds]
noxoc has quit [Quit: noxoc]
brotatos has joined #ruby
gaahrdner has quit [Read error: Connection reset by peer]
gaahrdner has joined #ruby
guitsaru has quit [Read error: Connection reset by peer]
guitsaru_ has joined #ruby
mityaz has quit [Ping timeout: 276 seconds]
breakingthings has quit []
huoxito has joined #ruby
marr has quit [Ping timeout: 276 seconds]
jbw has joined #ruby
blahoop has joined #ruby
mneorr has quit [Remote host closed the connection]
aknewhope has quit [Quit: Leaving]
blahoop is now known as blahwoop
<blahwoop>
hello!
mityaz has joined #ruby
lkba has joined #ruby
bhaarat has quit [Quit: bhaarat]
<blahwoop>
i have a ruby question related to rails
blitz has left #ruby ["Leaving"]
<tds>
blahwoop: you might be better served by going to the rails channel
kil0byte_ has quit [Remote host closed the connection]
<blahwoop>
ok
<blahwoop>
thanks
headius has joined #ruby
atyz has joined #ruby
akells` has joined #ruby
jamescarr has joined #ruby
mockra_ has joined #ruby
ariedler has joined #ruby
a_a_g has joined #ruby
d_roge has quit [Read error: Operation timed out]
thorncp has quit [Ping timeout: 246 seconds]
stoic_squirrel has quit [Quit: Computer has gone to sleep.]
epochwolf has quit [Ping timeout: 256 seconds]
arusso has quit [Ping timeout: 245 seconds]
faulkner has quit [Ping timeout: 260 seconds]
passcod has quit [Ping timeout: 245 seconds]
x13378071 has quit [Ping timeout: 252 seconds]
ShapeShifter499 has quit [Ping timeout: 245 seconds]
sharpobject has quit [Ping timeout: 248 seconds]
Sou|cutter has quit [Ping timeout: 260 seconds]
rcs has quit [Ping timeout: 260 seconds]
SegFaultAX has quit [Ping timeout: 264 seconds]
ahuman has quit [Ping timeout: 272 seconds]
Tarential has quit [Ping timeout: 276 seconds]
x1337807x has joined #ruby
mercwithamouth has joined #ruby
ahuman has joined #ruby
sharpobject has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
Tarential has joined #ruby
Tarential has quit [Remote host closed the connection]
epochwolf has quit [Read error: Connection timed out]
lewix has quit [Ping timeout: 260 seconds]
gungor has joined #ruby
arusso has joined #ruby
arusso has quit [Changing host]
arusso has joined #ruby
mneorr has joined #ruby
mklappst_ has quit [Remote host closed the connection]
Squarepy has quit [Remote host closed the connection]
lewix has joined #ruby
rcs has joined #ruby
dougireton has joined #ruby
sharpobject has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
mklappst_ has joined #ruby
_nitti has quit [Remote host closed the connection]
akells` has quit [Remote host closed the connection]
breakingthings has joined #ruby
atyz has quit [Quit: Leaving...]
tspike has quit [Ping timeout: 248 seconds]
brotatos has joined #ruby
passcod has quit [Ping timeout: 252 seconds]
sepp2k has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 264 seconds]
s00pcan has joined #ruby
sharpobject has quit [Ping timeout: 256 seconds]
interactionjaxsn has joined #ruby
brunoro has quit [Ping timeout: 252 seconds]
brunoro has joined #ruby
mityaz has quit [Quit: See ya!]
jduan1981 has quit [Read error: Connection reset by peer]
mneorr has quit [Ping timeout: 252 seconds]
dougireton has quit [Ping timeout: 256 seconds]
geekbri_ has joined #ruby
jduan1981 has joined #ruby
ahuman has quit [Quit: No Ping reply in 180 seconds.]
chrishough has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
geekbri has quit [Ping timeout: 240 seconds]
arusso has quit [Ping timeout: 258 seconds]
<fbernier>
I am making a generic gem with which you need complementary gems to use it. The entry point is a class method in the complementary gems. From there it's going to make a couple of calls to classes/methods from the generic gem, which will in turn need to instanciate classes from the complementary gem.
<fbernier>
How can I make this generic gem aware of which complementary gem was used as an entry and remain thread safe ?
ahuman has joined #ruby
atmosx has joined #ruby
forlin has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 272 seconds]
rcs has quit [Read error: Connection timed out]
mklappst_ has quit [Remote host closed the connection]
LaPetiteFromage has joined #ruby
sguselnikov has joined #ruby
__alpaca has quit [Remote host closed the connection]
ahuman has quit [Client Quit]
atyz has joined #ruby
bhaarat has quit [Quit: bhaarat]
troessner has quit [Remote host closed the connection]
angusiguess has joined #ruby
workmad3 has joined #ruby
ArchBeOS has joined #ruby
<ArchBeOS>
hey guys, can anyone suggest a good intermediate ruby book? hopefully in the cheap region?
RagingDave has quit [Ping timeout: 245 seconds]
<aedorn>
Eloquent Ruby or Metaprogramming Ruby depending on your definition of "intermediate"
brotatos has quit [Read error: Operation timed out]
<ArchBeOS>
it looks like i can skip the first couple of chapters
brunoro has quit [Ping timeout: 252 seconds]
bluOxigen has joined #ruby
<fbernier>
archBeOS: I liked "metaprogramming ruby" ehich explains the ruby object model quite well.
carloslopes has joined #ruby
Xeago has joined #ruby
<ArchBeOS>
fbernier: i've heard nothing but good about that book
robmuh has joined #ruby
Spooner has quit [Remote host closed the connection]
TiggerClements is now known as rclements
louism2_ has joined #ruby
<fbernier>
well deserved IMO
d2dchat has joined #ruby
jbpros has joined #ruby
akells` has joined #ruby
Spooner has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
<louism2_>
Hey everyone, my question revolves around object IDs in Ruby. What do these IDs represent (place in memory, randomly generated, etc) and how does comparison between two objects work? Does it compare object IDs? Thanks.
<ArchBeOS>
i have the basics down with ruby. in fact, i created the whole QA Automation suite for my job, with a sinatra front end to boot. I just need that extra knowledge to take things to the next level.
picca has joined #ruby
bean__ has joined #ruby
bean__ has quit [Max SendQ exceeded]
jbpros has quit [Client Quit]
bean__ has joined #ruby
Catbuntu has quit [Quit: Leaving]
bean__ has quit [Max SendQ exceeded]
picca_ has joined #ruby
bean__ has joined #ruby
bean__ has quit [Max SendQ exceeded]
forrest has joined #ruby
bean__ has joined #ruby
marr has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
csaunders has quit [Quit: Computer has gone to sleep.]
csaunders has joined #ruby
Joel has joined #ruby
<Joel>
is there a way to print what type of an object something is?
JMcAfreak has joined #ruby
<ArchBeOS>
object.class
<ArchBeOS>
i think
picca has quit [Ping timeout: 264 seconds]
JMcAfreak has quit [Remote host closed the connection]
jaimef has quit [Quit: Emacs must have died]
sharpobject has joined #ruby
<ericwood>
class
<ericwood>
yes
vikhyat has quit [Remote host closed the connection]
<aedorn>
ArchBeOS: What type of QA Automation are you doing?
angusiguess has quit [Ping timeout: 268 seconds]
<ArchBeOS>
aedorn: WATIR/Cucumber front end stuff. That's how I got into Ruby. Before that I was a Java/PHP dev
jaimef has joined #ruby
felixjet has quit [Read error: Connection reset by peer]
suporte85 has joined #ruby
felixjet has joined #ruby
JMcAfreak has joined #ruby
JMcAfreak has quit [Changing host]
JMcAfreak has joined #ruby
<aedorn>
ah.. roughly where I started. Minus Java/PHP prior.
mklappst_ has joined #ruby
sharpobject has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
<ArchBeOS>
sweet. i was a backend dev for years. when the economy tanked it was tough finding a gig. coders in seattle were already a dime a dozen, so i needed to find a niche. hence, front end automation.
gungor has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
ciwolsey has quit [Remote host closed the connection]
a_a_g has quit [Quit: Leaving]
adamjleonard is now known as adamjleonard|afk
<aedorn>
heh.. I got out of development a long time ago to become an artist. Decided it didn't pay enough to pay back student loans, so moved into QA doing automation for networking products. Now doing whole front to back systems for it.
cgcardona has quit [Quit: cgcardona]
workmad3 has quit [Ping timeout: 252 seconds]
__alpaca has joined #ruby
vlad_starkov has joined #ruby
ravster has joined #ruby
nateberkopec has joined #ruby
Mattix has quit [Ping timeout: 255 seconds]
AndChat| has quit [Ping timeout: 272 seconds]
Banistergalaxy has joined #ruby
chandankumar has quit [Quit: Leaving]
gungor has joined #ruby
bradhe has quit [Remote host closed the connection]
gungor has quit [Remote host closed the connection]
BadLarry has joined #ruby
tspike has joined #ruby
ferdev has quit [Quit: ferdev]
gungor has joined #ruby
yikem_ has joined #ruby
passcod has joined #ruby
rcs has joined #ruby
sharpobject has joined #ruby
yikem_ has quit [Client Quit]
atmosx has quit [Quit: And so the story goes…]
atmosx has joined #ruby
epochwolf has joined #ruby
__alpaca has quit [Ping timeout: 258 seconds]
Xeago has quit [Read error: Connection reset by peer]
<shevy>
aedorn and getting rich?
bradhe has joined #ruby
Xeago has joined #ruby
mklappst_ has quit [Remote host closed the connection]
<aedorn>
shevy: rich? More like just barely staying above broke.
gungor has quit [Ping timeout: 256 seconds]
bhaarat has quit [Quit: bhaarat]
picca_ has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 258 seconds]
chrishough has quit [Quit: chrishough]
rsahae has quit [Quit: rsahae]
rippa has quit [Ping timeout: 240 seconds]
newUser1234 has joined #ruby
RagingDave has joined #ruby
momomomomo has quit [Quit: momomomomo]
mmmbeezkneez has joined #ruby
jamesfung14 has joined #ruby
angusiguess has joined #ruby
momomomomo has joined #ruby
pskosinski has quit [Remote host closed the connection]
Mattix has joined #ruby
pskosinski has joined #ruby
<Norrin>
i started in qa and hated it
<Norrin>
paid the same as the devs though
BadLarry has left #ruby ["Leaving"]
<Norrin>
c++/c# devs. not web stuff
_nitti has joined #ruby
Nahra has joined #ruby
brotatos has joined #ruby
louism2_ has left #ruby ["Leaving"]
csaunders has quit [Quit: Computer has gone to sleep.]
kf8a has joined #ruby
Shivam has joined #ruby
r0bby has quit [Ping timeout: 248 seconds]
csaunders has joined #ruby
chrishough has joined #ruby
<aedorn>
I like it, since I like breaking stuff. But I do hate certain people at 'the top' who make 'utterly stupid decisions' and the software developers that completely ignore bugs.
kornnflake has quit [Read error: Connection refused]
delqn has joined #ruby
delqn is now known as bedouin
dallasm has joined #ruby
cgcardona has joined #ruby
gaahrdner has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<breakingthings>
did somebody say
<breakingthings>
breaking things
backjlack has quit [Read error: Operation timed out]
ArchBeOS has left #ruby ["Leaving"]
rakl has quit [Quit: sleeping]
gaahrdner has joined #ruby
ferdev has joined #ruby
Banistergalaxy has quit [Ping timeout: 258 seconds]
brennanMKE has quit [Remote host closed the connection]
suporte85 has quit [Quit: Saindo]
chipotle_ has joined #ruby
gyre007 has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
ramblex has joined #ruby
workmad3 has joined #ruby
alexwh has joined #ruby
alexwh has left #ruby [#ruby]
timkohrumel has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
_nitti has quit [Remote host closed the connection]
badabim has joined #ruby
rton has left #ruby [#ruby]
<xefi_>
ckrailo has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
cgcardona has quit [Quit: cgcardona]
mneorr_ has joined #ruby
backjlack has joined #ruby
mneorr_ has quit [Remote host closed the connection]
jamescarr has quit [Quit: jamescarr]
jonathanwallace has joined #ruby
thorncp has joined #ruby
Banistergalaxy has quit [Ping timeout: 258 seconds]
faulkner has joined #ruby
Banistergalaxy has joined #ruby
_nitti has joined #ruby
SegFaultAX has joined #ruby
mneorr has quit [Ping timeout: 255 seconds]
Shivam has left #ruby [#ruby]
danneu has joined #ruby
bricker_ has joined #ruby
Banistergalaxy has quit [Ping timeout: 258 seconds]
jamescarr has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
Sou|cutter has joined #ruby
daniel_- has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
mobileblue has quit [Ping timeout: 258 seconds]
codezombie has joined #ruby
vikhyat has joined #ruby
v0n has joined #ruby
mneorr has joined #ruby
wolcanus has quit [Remote host closed the connection]
wolcanus has joined #ruby
postmodern has joined #ruby
huoxito has quit [Ping timeout: 258 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
blahwoop has quit [Ping timeout: 245 seconds]
sailias1 has left #ruby ["PART #schemaverse :PART #funci :PART #bitmaker :PART #ruby-lang :PART #RubyOnRails :ISON xaid"]
brennanMKE has joined #ruby
rdxc has quit [Ping timeout: 248 seconds]
jdunck has joined #ruby
fumbe has quit [Remote host closed the connection]
s2013 has quit []
GOMADWarrior has joined #ruby
mattbl has joined #ruby
nomenkun has joined #ruby
fumbe has joined #ruby
Banistergalaxy has joined #ruby
jamescarr has quit [Quit: jamescarr]
Rym__ has joined #ruby
rsahae has joined #ruby
headius has quit [Ping timeout: 245 seconds]
Rym has quit [Ping timeout: 256 seconds]
Rym__ is now known as Rym
dougireton has joined #ruby
ramblex has quit [Remote host closed the connection]
headius has joined #ruby
mercwithamouth has joined #ruby
chipotle_ has quit [Quit: cya]
geekbri_ has quit [Remote host closed the connection]
LennyLinux has quit [Remote host closed the connection]
__alpaca has quit [Ping timeout: 268 seconds]
jamescarr has joined #ruby
ry4nn has quit [Remote host closed the connection]
<Cyrus_>
hello I am trying to write a ruby script that will accept a number as a command line argument and place a comma after every 3rd number https://gist.github.com/anonymous/ecd8328ffbdbfbda1210 is what I have done but its not working properly. Any ideas?
mucker has left #ruby [#ruby]
angusiguess has joined #ruby
brotatos has quit [Ping timeout: 264 seconds]
dougireton has quit [Client Quit]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
bean__ has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
adamjleonard|afk is now known as adamjleonard
csaunders has quit [Quit: Computer has gone to sleep.]
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
tomsthumb has quit [Quit: Leaving.]
stoic_squirrel has joined #ruby
savid has joined #ruby
<savid>
Hi all, I'm not familiar with ruby and I have a config file written in it. Is there something that would cause this to throw a syntax error in one version of ruby but not another? http://sprunge.us/YbCj?ruby
stevechiagozie has quit [Quit: Computer has gone to sleep.]
Gabri has quit [Remote host closed the connection]
gommo has quit [Remote host closed the connection]
robmuh has quit [Quit: Leaving]
MrPoT4tO has quit [Remote host closed the connection]
gommo has joined #ruby
adac has joined #ruby
Agent_Smith is now known as C0deMaver1ck
<adac>
what kind of method definition is this:
<adac>
"def <=> other"
Iszak has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
parallel21 has joined #ruby
mockra has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 252 seconds]
<joshu>
hi what's the correct way to pass a parameter into a Dir to complete the filename like this Dir['posts/*-#{post}.markdown']
jerius has quit []
<tos9>
one for the <=> operator
sambao21 has joined #ruby
brianpWins has joined #ruby
s0ber_ has joined #ruby
ntzrmtthihu777 has joined #ruby
<joshu>
post is part of the name but I want to get the beginning from the folder posts
Guedes has quit [Quit: Saindo]
s0ber has quit [Ping timeout: 240 seconds]
s0ber_ is now known as s0ber
atyz has joined #ruby
<qubit>
joshu: Dir.glob
idkazuma has joined #ruby
apalmblad has joined #ruby
dustint has quit [Quit: Leaving]
mandrakez has left #ruby [#ruby]
atyz has quit [Client Quit]
nomenkun has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
<joshu>
qubit it finds the file but puts it in an array. I tried changes to parenthesis but still puts it in an array. How can I get it as a single element do I need to extract using [0]
rickruby has joined #ruby
vlad_starkov has joined #ruby
idkazuma has quit [Ping timeout: 268 seconds]
tomsthumb has quit [Quit: Leaving.]
forrest has quit [Quit: Leaving]
<qubit>
joshu: Dir.glob().first
akells` has quit [Remote host closed the connection]
decentrality has joined #ruby
<joshu>
(bow) qubit thank you!
wagster has quit [Quit: Computer has gone to sleep.]
jonathanwallace has quit [Ping timeout: 245 seconds]
thone_ has quit [Ping timeout: 268 seconds]
idkazuma has joined #ruby
<ozzloy>
xibalba, ?
Banistergalaxy has quit [Ping timeout: 258 seconds]
Banistergalaxy has joined #ruby
Proshot has quit [Quit: Leaving]
splittingred has quit [Quit: splittingred]
bean__ has joined #ruby
wedge_ has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
wolcanus_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 255 seconds]
johnnyfuchs has quit [Remote host closed the connection]
wolcanus has quit [Ping timeout: 246 seconds]
RORgasm has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 252 seconds]
adac has quit [Quit: Leaving]
bbttxu has joined #ruby
tootubular_ has quit [Quit: tootubular_]
gommo_ has joined #ruby
MrZYX is now known as MrZYX|off
akhet has joined #ruby
__alpaca has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
neurone-1337 has joined #ruby
gommo has quit [Ping timeout: 256 seconds]
r0bby has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
akhet has quit [Ping timeout: 258 seconds]
__alpaca has quit [Ping timeout: 258 seconds]
d2dchat has quit [Remote host closed the connection]
babinho has quit [Ping timeout: 240 seconds]
agarie has joined #ruby
<aspiers>
am I being stupid or does 'def <=>(other); foo || bar end' not work when foo returns 0, on account of 0 not being nil - unlike Perl where that idiom works?
invisime has quit [Quit: Leaving.]
cmarques has quit [Ping timeout: 276 seconds]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
statarb3 is now known as Proshot
<aspiers>
aha, #non_zero? solves it
teclator has quit [Ping timeout: 255 seconds]
akhet has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
<aspiers>
Integer#nonzero? even
rsahae has quit [Quit: rsahae]
rickruby has quit [Remote host closed the connection]
neurone-1337 has quit [Ping timeout: 245 seconds]
wyhaines has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
akhet2 has joined #ruby
jduan1981 has quit [Read error: Connection reset by peer]
LennyLinux has joined #ruby
akhet has quit [Read error: Connection reset by peer]
rsahae has joined #ruby
nateberkopec has quit [Quit: Leaving...]
cgcardona has quit [Quit: cgcardona]
<ntzrmtthihu777>
anyone here using ubuntu 12.04 and ruby 1.9.3 get wxruby running?
<Spooner>
ntzrmtthihu777, I developed 1.9.3 + wxruby in 12.10 just last week (I know it isn't the same, but close ;) ).
jduan1981 has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
<ntzrmtthihu777>
Spooner: care for an assist? I can't get the gem's sample code to even work
<Spooner>
ntzrmtthihu777, You are using wxruby-ruby19 gem, not the wxruby one, aren't you?
<ntzrmtthihu777>
gem install wxruby is how I installed it; should I use another?
ehaliewicz has joined #ruby
<Spooner>
You must uninstall that one and gem install wxruby-ruby19 instead.
Guedes has joined #ruby
Guedes has joined #ruby
spider-mario has quit [Remote host closed the connection]
pcarrier has quit [Quit: Computer has gone to sleep.]
<Spooner>
ntzrmtthihu777, It got me confused for a while too, a few weeks ago!
r0bby_ has quit [Ping timeout: 258 seconds]
vlad_starkov has quit [Remote host closed the connection]
cgcardona has quit [Quit: cgcardona]
Cultofmetatron has quit [Read error: Connection reset by peer]
Cultofmetatron has joined #ruby
caleb_io has joined #ruby
agarie has quit [Read error: Connection reset by peer]
<ntzrmtthihu777>
XD funny thing is I've had it work before, on 12.04 no less, which is why I was so confused as to why it did not work XD
agarie has joined #ruby
chrishough has joined #ruby
AndChat| has joined #ruby
cgcardona has joined #ruby
brunoro has quit [Ping timeout: 256 seconds]
nezumi has quit [Ping timeout: 264 seconds]
mootpointer has joined #ruby
SCommette has quit [Quit: SCommette]
nomenkun has joined #ruby
LennyLin_ has joined #ruby
ipsifendus has joined #ruby
Banistergalaxy has quit [Ping timeout: 258 seconds]
<ntzrmtthihu777>
Spooner: could you suggest a good set of documentation for it? eg something I can read without using rdoc or ri; I never got the hang of that XD
LennyLinux has quit [Ping timeout: 258 seconds]
mneorr has quit [Remote host closed the connection]
mattbl has quit [Quit: This computer has gone to sleep]
Spooner has quit [Quit: Leaving]
jovy88 has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 268 seconds]
banjara has joined #ruby
unflores has joined #ruby
mattbl has joined #ruby
tylersmith has quit [Quit: tylersmith]
jovy88 has joined #ruby
zeade has quit [Quit: Leaving.]
jbueza has quit [Quit: Leaving.]
maskact has joined #ruby
ntzrmtthihu777 has quit [Ping timeout: 276 seconds]
MS_Grant has joined #ruby
jduan1981 has quit [Read error: Connection reset by peer]
MartynKeigher7 has joined #ruby
rakl has joined #ruby
Cyrus_ has quit [Quit: Page closed]
bradhe has joined #ruby
<MartynKeigher7>
hey all...i currently have Dahsing installed and i need add a gem to its profile that i just installed. how do i add it to Dashing's profile??
jduan1981 has joined #ruby
<MartynKeigher7>
the instructions say: gem 'nokogiri'
sambao21 has quit [Quit: Computer has gone to sleep.]
akhet2 has quit [Remote host closed the connection]
lewix has joined #ruby
MartynKeigher8 has joined #ruby
MartynKeigher7 has quit [Read error: Connection reset by peer]