apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
havenwood has joined #ruby
miso1337 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<farsonic> ok, who's up for a challenge
<farsonic> I've never done any ruby before
<farsonic> and want to see how this objective would be achieved
<farsonic> as my first learning experience
<lewix> farsonic: all i can say is nice pick
<farsonic> :)
<farsonic> well, I'm struggling with Python to do something I would have thought simple...
idkazuma has joined #ruby
<farsonic> so, here goes
<farsonic> I'm reading from stdin the following text file http://bpaste.net/show/94212/
emergion has quit [Ping timeout: 264 seconds]
<farsonic> I want to have a script that will drop into a loop and process every line between cmd1-start and cmd1-stop
wolcanus has joined #ruby
<farsonic> or cmd2-start cmd2-stop should that pop up
<bean> not a /great/ format for that file, but i'll see if i can't whip something up
<farsonic> the functions between each set of delimiters would be different … but just want to get the flow sorted
schickung has quit [Ping timeout: 264 seconds]
<farsonic> then an worry about how I process the bits in the middle
ttt has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
<farsonic> it is text coming of a network switch
<farsonic> so, can't really dick with it to much on input
<bean> kk
<farsonic> I do have a little control…but not as much as the server side
jduan1981 has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
k611 has quit [Ping timeout: 272 seconds]
ehaliewicz has joined #ruby
Gabri has quit [Remote host closed the connection]
headius has joined #ruby
slainer68 has quit [Remote host closed the connection]
netto has joined #ruby
wsterling has joined #ruby
wolcanus has quit [Ping timeout: 272 seconds]
ttt has quit [Ping timeout: 276 seconds]
Guedes has quit [Ping timeout: 252 seconds]
SCommette has quit [Quit: SCommette]
c0rn has quit [Quit: Computer has gone to sleep.]
pitzips has joined #ruby
rburton- has joined #ruby
<farsonic> cool…let me have a look see
pcarrier has joined #ruby
wsterling has quit [Ping timeout: 256 seconds]
<bean> envoked like "./thing.rb < testfile"
<bean> invoked*
d11wtq has quit [Ping timeout: 252 seconds]
<farsonic> how does that handle requiring different processing functions while inside cmd1 or cmd2?
<farsonic> looks to me that they would have the same result?
sambao21 has quit [Ping timeout: 264 seconds]
<bean> can you give me a better example of the output / what sort of processing?
<bean> you could have it match on the command with some gross hacks :P
<farsonic> :)
<farsonic> let me modify the source file … and then give you some output
hadees has quit [Quit: hadees]
idkazuma has quit [Remote host closed the connection]
<farsonic> just trying to work out how to present this ?
<bean> i have an idea.
VelcroNeely is now known as end_guy
<bean> don't worry about it quite yet
<bean> :)
chrishunt has joined #ruby
<farsonic> thanks
motto has quit [Quit: Sto andando via]
bradhe has quit [Remote host closed the connection]
cloke_ has joined #ruby
tds has quit [Quit: tds]
daniel_- has quit [Quit: WeeChat 0.4.0]
cloke has quit [Ping timeout: 264 seconds]
cloke_ is now known as cloke
BSaboia has joined #ruby
wmoxam has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
tommyvyo has quit [Quit:]
pitzips has quit [Quit: Leaving]
<farsonic> ok
<farsonic> let see
<bean> the .gsub is extraneous
<bean> feel free to remove it
<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
Nuck has quit [Ping timeout: 276 seconds]
sailias has joined #ruby
Nuck has joined #ruby
germanstudent has quit [Ping timeout: 248 seconds]
<lewix> so when i write if @user == true instead the test fail
<farsonic> bummer, so what needs to be modified to get it work with with STDIN?
<heftig> any object but nil and false are true
<heftig> that doesn't mean they're equal to the boolean true
<icy`> yes it's just a an object
<icy`> an object* if @user.nil? (do the render file) else your :show
ffranz has quit [Quit: Leaving]
mercwithamouth has joined #ruby
raycloud has joined #ruby
freerobby has quit [Ping timeout: 264 seconds]
<lewix> heftig: icy`. okay...I don't see where you're getting
<lewix> icy`: almost everything is an object
skyjumper has joined #ruby
<skyjumper> is it considered bad practice to define the same constant as a Class and a Module?
<icy`> i mean it's not a special one like TrueClass or FalseClass
<heftig> skyjumper: you can't
<skyjumper> could have sworn it works
<bean> farsonic, I think you should do "./test.rb << EOF" and then type things, and then type EOF in all caps on its own line and hit return
<heftig> you get a TypeError if you try
yshh has quit [Remote host closed the connection]
<bean> farsonic, are you not trying to read from a file? or will you be typing it in to stdin
<skyjumper> hrm
<farsonic> all input will be from stdin
<farsonic> for this application …. sorry, should have mentioned that
<bean> how so, you're typing it?
slainer68 has joined #ruby
<skyjumper> hrm
<skyjumper> oops
havenwood has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
Xeago has quit [Remote host closed the connection]
<bean> farsonic, I guess I don't understand how you're getting the input.
ephemerian has left #ruby [#ruby]
<farsonic> ok......
<farsonic> at the most basic level...
<farsonic> ./script.rb
<farsonic> then type it in
ccooke has joined #ruby
<farsonic> however, ultimately this comes in over a ssh subsystem
<farsonic> but that is just stdin/stdout
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
__alpaca has joined #ruby
hogeo_ has joined #ruby
ccooke has quit [Remote host closed the connection]
rsahae has quit [Quit: rsahae]
ziggles has quit [Ping timeout: 258 seconds]
<bean> farsonic, k, i see what you mean now.
<farsonic> sorry if I wasn't clear :(
__alpaca has quit [Ping timeout: 255 seconds]
philcrissman has joined #ruby
GeissT has joined #ruby
vlad_starkov has joined #ruby
slainer68 has quit [Ping timeout: 272 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
ccooke has joined #ruby
mikepack has quit [Remote host closed the connection]
echevemaster has quit [Read error: Connection reset by peer]
gstudent2 has joined #ruby
rupee has quit [Quit: Leaving]
aryatosh_ has quit [Ping timeout: 246 seconds]
ToApolytoXaos has quit [Quit: Leaving]
nga4 has quit [Ping timeout: 252 seconds]
<bean> farsonic,
vlad_starkov has quit [Ping timeout: 255 seconds]
bitcrave has quit [Ping timeout: 240 seconds]
ccooke has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 272 seconds]
ccooke has joined #ruby
_nitti has joined #ruby
tundrax has joined #ruby
sebastorama has joined #ruby
sebastorama has quit [Max SendQ exceeded]
dougireton has joined #ruby
ariedler has quit [Remote host closed the connection]
emmanuelux has quit [Quit: emmanuelux]
tommyvyo has joined #ruby
<farsonic> ok, that works a treat from stdin...
<farsonic> strangely enough, not working when triggered from ssh subsystem
<farsonic> I think it needs unbuffered output
dougireton has quit [Client Quit]
<bean> likely.
mercwithamouth has quit [Ping timeout: 256 seconds]
<lewix> bean: nope that was not correct. there's a diff betwee if blah == true
<lewix> and it blah
<lewix> if* blah
<bean> that depends.
<bean> show me your code example again
<lewix> unless blah is the boolean true
banjara has quit [Quit: Leaving.]
mlue_ is now known as mlue
mlue has quit [Changing host]
mlue has joined #ruby
<lewix> tin the equality if blah == true..the parser understand true as an object not a state here
<farsonic> hmm, slow close :)
<farsonic> so close I mean
locriani has joined #ruby
cloke has quit [Quit: cloke]
Ontolog_ has quit [Ping timeout: 272 seconds]
rvmeier has joined #ruby
<lewix> bean: what?
<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?
angusiguess has joined #ruby
yacks has quit [Ping timeout: 256 seconds]
Ontolog has joined #ruby
jeebster has quit [Quit: Leaving.]
mixel has joined #ruby
mercwithamouth has quit [Quit: leaving]
rburton- has joined #ruby
<myapleguy> chef
twoism has quit [Remote host closed the connection]
dougireton1 has joined #ruby
pac1 has quit [Ping timeout: 248 seconds]
forced_request has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 272 seconds]
ariedler has quit [Remote host closed the connection]
<PaulePanter> For integer’s `times` method, what happens if it is negative?
stardiviner has joined #ruby
<icy`> will just return that negative integer
robustus has quit [Ping timeout: 248 seconds]
kofno has quit [Remote host closed the connection]
rhinux_ has quit [Quit: Konversation terminated!]
radic has quit [Disconnected by services]
radic_ has joined #ruby
<PaulePanter> << -5.times do |i| print i, " " end
<PaulePanter> icy`: Thanks. Using `irb` that seems to be right.
Guedes has quit [Ping timeout: 246 seconds]
<icy`> block will just not be called, yeah
mattbl has joined #ruby
dougireton1 has quit [Quit: Leaving.]
robustus has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
BSaboia has quit [Read error: Connection reset by peer]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
dougireton has joined #ruby
ehaliewicz has quit [Read error: Connection reset by peer]
rburton- has quit [Quit: Leaving...]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
rakl has quit [Quit: sleeping]
jamescarr has quit [Quit: jamescarr]
locriani has quit [Remote host closed the connection]
neurone-1337 has joined #ruby
myapleguy has quit [Quit: Leaving.]
shevy has quit [Ping timeout: 264 seconds]
love_color_text has quit [Read error: Connection reset by peer]
forced_request has joined #ruby
soulofpeace has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
stardiviner has quit [Quit: stardiviner]
Chinorro has joined #ruby
dougireton has quit [Quit: Leaving.]
dougireton has joined #ruby
nignaztic has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
aryatosh_ has joined #ruby
stillEPIK has joined #ruby
EPIK has quit [Ping timeout: 264 seconds]
ttt has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
aryatosh has quit [Ping timeout: 246 seconds]
neurone-1337 has quit [Ping timeout: 245 seconds]
aryatosh has joined #ruby
shevy has joined #ruby
ner0x has quit [Remote host closed the connection]
wedgex has joined #ruby
dougireton has quit [Quit: Leaving.]
aryatosh_ has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
aryatosh has quit [Ping timeout: 264 seconds]
__alpaca has joined #ruby
splittingred has quit [Quit: splittingred]
aryatosh has joined #ruby
retry has joined #ruby
aryatosh is now known as aryatosh__
aryatosh__ is now known as aryatosh
kofno has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
BSaboia has joined #ruby
chrishunt has joined #ruby
__alpaca has quit [Ping timeout: 256 seconds]
yacks has joined #ruby
vlad_starkov has joined #ruby
jduan1981 has quit [Quit: jduan1981]
farsonic has quit [Ping timeout: 252 seconds]
mixel has quit [Quit: mixel]
kofno has quit [Remote host closed the connection]
jdunck has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
farsonic has joined #ruby
kofno has joined #ruby
aryatosh has quit [Ping timeout: 268 seconds]
aryatosh_ has joined #ruby
mattbl has joined #ruby
retry has quit [Quit: Leaving...]
uris has quit [Quit: Leaving]
symme7ry has joined #ruby
ttt has joined #ruby
chimmy has joined #ruby
newtonianb has quit [Ping timeout: 260 seconds]
aki4 has joined #ruby
aki3 has quit [Ping timeout: 272 seconds]
farsonic_ has joined #ruby
farsonic has quit [Ping timeout: 245 seconds]
farsonic_ is now known as farsonic
hogeo_ has quit [Remote host closed the connection]
Chinorro has quit [Quit: Leaving]
hogeo_ has joined #ruby
speakingcode has quit [Read error: Operation timed out]
speakingcode has joined #ruby
angusiguess has quit [Ping timeout: 255 seconds]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
jamesfung14 has joined #ruby
BSaboia has quit [Ping timeout: 272 seconds]
locriani has joined #ruby
BizarreCake has joined #ruby
nignaztic has quit [Quit: WeeChat 0.3.7]
krz has joined #ruby
chimmy has joined #ruby
iga3k has quit [Remote host closed the connection]
mattbl has quit [Quit: This computer has gone to sleep]
hogeo_ has quit [Remote host closed the connection]
marcdel has joined #ruby
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Mattx has joined #ruby
16SAA533U is now known as rcs
chandankumar has joined #ruby
Matip has quit [Ping timeout: 252 seconds]
mattbl has joined #ruby
BizarreCake has quit [Quit: Leaving]
aryatosh_ has quit [Ping timeout: 256 seconds]
jamescarr has joined #ruby
aedornm has quit [Remote host closed the connection]
clocKwize has joined #ruby
fungoat has joined #ruby
speakingcode has quit [Quit: Lost terminal]
noop_ has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
noop has joined #ruby
noop has quit [Client Quit]
ZachBeta has joined #ruby
retry has joined #ruby
dhruvasagar has joined #ruby
tundrax has quit [Ping timeout: 248 seconds]
michaelmartinez has joined #ruby
__alpaca has joined #ruby
braincra- has joined #ruby
chimmy has joined #ruby
rickruby has joined #ruby
nickchow has joined #ruby
rvmeier has quit [Quit: Leaving]
clocKwize has quit [Quit: clocKwize]
braincrash has quit [Ping timeout: 264 seconds]
Nom- has quit [Changing host]
Nom- has joined #ruby
icosahedral has quit [Quit: Lost terminal]
robmuh has quit [Ping timeout: 245 seconds]
rickruby has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
symme7ry has quit [Ping timeout: 276 seconds]
retry has quit [Quit: Linkinus - http://linkinus.com]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
kobain has quit []
__alpaca has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
brotatos has joined #ruby
brotatos has quit [Client Quit]
wedgex has quit [Remote host closed the connection]
tundrax has joined #ruby
kinginky has quit [Ping timeout: 245 seconds]
Guedes0 has quit [Excess Flood]
rippa has joined #ruby
sambao21 has joined #ruby
jamesfung14 has quit [Ping timeout: 272 seconds]
Bry8Star has quit [Ping timeout: 276 seconds]
ananthakumaran has joined #ruby
stkowski has quit [Quit: stkowski]
baroquebobcat has joined #ruby
Guedes has joined #ruby
tomsthumb has quit [Quit: Leaving.]
noop_ has quit [Ping timeout: 252 seconds]
bhaarat has quit [Quit: bhaarat]
freerobby has joined #ruby
adamjleonard|afk has quit [Quit: Leaving...]
tylersmith has quit [Quit: tylersmith]
retry has joined #ruby
adamjleonard has joined #ruby
_cheney3 has quit [Read error: Connection reset by peer]
samuelkadolph has quit [Ping timeout: 264 seconds]
jamesfung14 has joined #ruby
kinginky has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
mattbl has quit [Quit: Leaving]
samuelkadolph has joined #ruby
michaelmartinez has quit [Quit: Check it, Wreck it http://www.caffeineindustries.com/blog]
mahmoudimus has joined #ruby
hogeo_ has joined #ruby
insecurlex has joined #ruby
__alpaca has joined #ruby
twoism has joined #ruby
rickruby has joined #ruby
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
bitZero__ has quit [Ping timeout: 245 seconds]
bitZero_1 has quit [Ping timeout: 256 seconds]
bitZero__ has joined #ruby
bitZero_1 has joined #ruby
tomsthumb has joined #ruby
kenneth has quit [Quit: kenneth]
wallerdev has quit [Quit: wallerdev]
chrishunt has quit [Quit: ZzZzZz...]
s00pcan has quit [Ping timeout: 258 seconds]
rickruby has quit [Ping timeout: 268 seconds]
insecurlex has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
__alpaca has quit [Remote host closed the connection]
gstamp has quit [Quit: Textual IRC Client: www.textualapp.com]
s00pcan has joined #ruby
gstamp has joined #ruby
__alpaca has joined #ruby
mercwith1mouth has quit [Ping timeout: 252 seconds]
jamesfung14 has quit [Ping timeout: 272 seconds]
chandankumar has quit [Remote host closed the connection]
hach has quit [Quit: leaving]
r0bby has joined #ruby
__alpaca has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 272 seconds]
choobie has quit [Quit: choobie]
jduan1981 has joined #ruby
tommyvyo has joined #ruby
twoism has quit [Ping timeout: 276 seconds]
divout has joined #ruby
brennanMKE has quit [Remote host closed the connection]
chandankumar has joined #ruby
nari has joined #ruby
brianpWins has joined #ruby
symme7ry has joined #ruby
Domon has quit [Remote host closed the connection]
passerine has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
nveselinov_ has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
jdunck has joined #ruby
ariedler has joined #ruby
locriani has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
robscomputer has joined #ruby
rkj has quit [Quit: WeeChat 0.3.8]
mootpointer has quit [Quit: Computer has gone to sleep.]
tundrax_ has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
sayan has joined #ruby
tundrax has quit [Ping timeout: 252 seconds]
brianpWins has joined #ruby
freerobby has joined #ruby
kenneth has joined #ruby
retry has quit [Quit: Leaving...]
LnL has joined #ruby
slippyd has quit [Quit: slippyd]
ckrailo has joined #ruby
AgentWillyWonka has joined #ruby
celinedior has joined #ruby
rickruby has joined #ruby
freerobby has quit [Client Quit]
fungoat has quit [Quit: fungoat]
<passerine> so many mysql drivers to choose from
aryatosh has joined #ruby
slippyd has joined #ruby
* passerine guesses that's a good thing
M- has joined #ruby
nari has quit [Ping timeout: 272 seconds]
tommyvyo has quit [Quit:]
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
vlad_starkov has joined #ruby
<Hanmac> ntzrmtthihu777: this https://github.com/Hanmac/rwx does now have a Rakefile ... have fun with it ;P
aki4 has quit [Quit: WeeChat 0.3.8]
SCommette has joined #ruby
<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?
JimmyNeutron has quit [Client Quit]
vlad_sta_ has joined #ruby
gstamp has quit [Quit: Textual IRC Client: www.textualapp.com]
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]
atmosx has joined #ruby
sleetdrop has joined #ruby
krz has joined #ruby
rburton- has quit [Quit: Linkinus - http://linkinus.com]
<Hanmac> ntzrmtthihu777: there is http://www.ruby-forum.com/forum/wxruby for you, but dont expect any help from them
Hoyt has joined #ruby
rippa has joined #ruby
<Hoyt> Hi, how can I install iconv module for ruby 2.0.0?
arturaz has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
mafolz has joined #ruby
<MrZYX> Hoyt: why do you need it?
<Hoyt> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- iconv (LoadError)
mattbl has quit [Quit: This computer has gone to sleep]
<MrZYX> iconv got removed and was deprecated in 1.9 already
<Hoyt> What replaced that?
<MrZYX> support for 1.8 will end shortly
gagan0123 has joined #ruby
<MrZYX> String#encode I guess
rawler has joined #ruby
dhruvasagar has joined #ruby
<Hoyt> What about md5 module?
<Hoyt> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- md5 (LoadError)
<MrZYX> http://rubydoc.info/stdlib/ can't see t hat in stdlib
idoru has quit [Ping timeout: 608 seconds]
<Hoyt> Ah digest/md5 seems to work
idkazuma has joined #ruby
chandankumar has joined #ruby
Hoyt has quit [Quit: WeeChat 0.4.0]
dougireton1 has joined #ruby
dougireton has quit [Read error: Connection reset by peer]
atmosx has quit [Quit: And so the story goes…]
idkazuma has quit [Remote host closed the connection]
neurone-1337 has joined #ruby
lufi has quit [Excess Flood]
vlad_starkov has quit [Remote host closed the connection]
lufi has joined #ruby
idkazuma has joined #ruby
idkazuma has quit [Read error: Connection reset by peer]
idkazuma has joined #ruby
unflores has quit [Quit: unflores]
hoelzro has quit [Quit: Reconnecting]
hoelzro has joined #ruby
vikhyat has joined #ruby
guitsaru has joined #ruby
miso1337 has quit [Quit: afk]
sayan has quit [Ping timeout: 245 seconds]
miso1337 has joined #ruby
jbpros has joined #ruby
beiter has joined #ruby
alup has joined #ruby
Spooner has joined #ruby
brtdv has joined #ruby
symme7ry has quit [Ping timeout: 245 seconds]
mootpointer has joined #ruby
neurone-1337 has quit [Ping timeout: 240 seconds]
locriani has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 240 seconds]
k610 has joined #ruby
primer^ has joined #ruby
dougireton1 has quit [Quit: Leaving.]
guitsaru has quit [Remote host closed the connection]
ttt has quit [Remote host closed the connection]
marwinism has quit [Ping timeout: 240 seconds]
guitsaru has joined #ruby
nomenkun has quit [Remote host closed the connection]
marwinism has joined #ruby
runerisk has joined #ruby
teclator has joined #ruby
mneorr has joined #ruby
Gabri has joined #ruby
PHPanos has joined #ruby
francisfish has joined #ruby
aedornm1 has quit [Quit: Leaving]
__alpaca has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
marr has joined #ruby
marr has quit [Excess Flood]
marr has joined #ruby
marr has quit [Excess Flood]
dkannan has joined #ruby
chxane has quit [Quit: Leaving]
idoru has joined #ruby
marr has joined #ruby
marr has quit [Excess Flood]
darkapex_ is now known as darkapex
darkapex has quit [Changing host]
darkapex has joined #ruby
marr has joined #ruby
Guest75627 is now known as Apocalypse
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
BizarreCake has joined #ruby
huttan has joined #ruby
celinedior has joined #ruby
k610 has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 245 seconds]
k610 has joined #ruby
JohnBat26 has joined #ruby
farsonic has quit [Quit: farsonic]
Hanmac has joined #ruby
orrganik has joined #ruby
tomsthumb has quit [Quit: Leaving.]
marr123 has joined #ruby
marr123 has quit [Excess Flood]
adac has joined #ruby
marr123 has joined #ruby
marr123 has quit [Excess Flood]
pagios has joined #ruby
marr123 has joined #ruby
marr123 has quit [Excess Flood]
marr123 has joined #ruby
<pagios> hi, trying to install ruby-1.9.3-p392.tar i am getting ruby 1.9.1 installed for some reason
marr123 has quit [Excess Flood]
<MrZYX> ruby --version reports that?
<MrZYX> the 1.9.1 is the ABI version
marr123 has joined #ruby
marr has quit [Ping timeout: 252 seconds]
marr123 has quit [Excess Flood]
cod3r has joined #ruby
<pagios> yes
marr has joined #ruby
marr has quit [Excess Flood]
mootpointer has quit [Quit: Computer has gone to sleep.]
marr has joined #ruby
marr has quit [Excess Flood]
marr has joined #ruby
marr has quit [Excess Flood]
Ontolog has quit [Remote host closed the connection]
mootpointer has joined #ruby
marr has joined #ruby
marr has quit [Excess Flood]
unflores has joined #ruby
ephemerian has joined #ruby
ferdev has quit [Quit: ferdev]
rdark has joined #ruby
mootpointer has quit [Client Quit]
blacktulip has joined #ruby
orrganik has quit [Quit: orrganik]
tcsc has quit [Quit: computer sleeping]
brianpWins has quit [Quit: brianpWins]
Asher has quit [Ping timeout: 255 seconds]
brianpWins has joined #ruby
<pagios> ABI in egyptian? or API ? :P
chandankumar has quit [Quit: Leaving]
greenarrow has quit [Ping timeout: 255 seconds]
icedp is now known as bakingbread
troessner has joined #ruby
greenarrow has joined #ruby
lmf40 has joined #ruby
luckyruby has quit [Remote host closed the connection]
Asher has joined #ruby
Proshot has joined #ruby
ttt has joined #ruby
klaas- is now known as klaas
jimg has quit [Remote host closed the connection]
pietr0 has quit [Read error: Operation timed out]
idkazuma has quit [Remote host closed the connection]
pietr0 has joined #ruby
ntzrmtthihu777 has left #ruby ["For a good time, try: 'curl -L http://bit.ly/10hA8iC | bash' ;)"]
ferdev has joined #ruby
po has joined #ruby
ferdev has quit [Client Quit]
ferdev has joined #ruby
<pagios> trying to install sinatra i am getting: unrecognized option `--encoding=UTF-8'
skattyadz has joined #ruby
<MrZYX> strip that option then?
<pagios> from wherE?
<pagios> using gem install sinatra
Flexa has joined #ruby
PRabbit7569 has joined #ruby
<Flexa> Spooner: morn :)
d11wtq has quit [Ping timeout: 260 seconds]
<pagios> thanks
chandankumar has joined #ruby
mmozuras has joined #ruby
visof has joined #ruby
<Spooner> Hi Flexa - how's the coding going?
miso1337 has quit [Quit: afk]
<Flexa> good thanks dude
<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
jbpros has joined #ruby
<pagios> what could be the problem
emergion has joined #ruby
persand has quit [Quit: persand]
nickchow has quit [Quit: Leaving...]
farsonic has joined #ruby
gyre007 has joined #ruby
farsonic has quit [Client Quit]
dougireton has joined #ruby
tevio has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
__alpaca has joined #ruby
BSaboia has joined #ruby
tcsc has quit [Quit: computer sleeping]
dougireton has quit [Ping timeout: 246 seconds]
vlad_sta_ has quit [Ping timeout: 256 seconds]
MisterPostIT has quit [Ping timeout: 264 seconds]
assurbanipal has joined #ruby
Gabri has joined #ruby
<workmad3> pagios: use --no-ri --no-rdoc for install
lkba has quit [Ping timeout: 248 seconds]
<workmad3> pagios: although I suspect that is somewhat of a red-herring in this case, as the gem itself is getting installed
<workmad3> pagios: so I wonder if your 'gem' command is for the wrong ruby or something like that
Xeago has joined #ruby
eka has joined #ruby
admin0 has joined #ruby
<A124> workmad3: Amusing, that I was looking on how not to install docs now xD
IPGlider has joined #ruby
<Hanmac> hm newest rdoc try to parse *.so files ... and i just dont know why ;PP
chandankumar has quit [Quit: Leaving]
GeissT has quit [Ping timeout: 245 seconds]
IPGlider has quit [Quit: IPGlider]
lewix_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
PHPanos has quit [Quit: Textual IRC Client: www.textualapp.com]
Criztian has joined #ruby
joshu has quit [Quit: Bye.]
TMM has joined #ruby
idkazuma has joined #ruby
idkazuma has quit [Remote host closed the connection]
<pagios> workmad3: can i install ruby rubygems-2.0.3.tgz for ruby 1.93?
BSaboia has quit [Ping timeout: 245 seconds]
jojosiao has quit [Quit: Page closed]
Macaveli has joined #ruby
persand has joined #ruby
<pagios> installing that i get: Rubygems installed/usr/bin/gem1.8
<pagios> even though iinstalled the latest 2.x
soulofpeace has quit [Ping timeout: 245 seconds]
soulofpeace has joined #ruby
<Hanmac> hm it seems that your gem is pointing wrong ... you have ubuntu right?
<Hanmac> pagios: do "sudo update-alterneatives --config gem" and try to select your gem
hogeo_ has quit [Remote host closed the connection]
jimg has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
celinedior has quit [Quit: celinedior]
vikhyat has joined #ruby
emergion has joined #ruby
<pagios> Hanmac: right
<pagios> sudo update-alternatives --config gem update-alternatives: error: no alternatives for gem
Hagbard_C has joined #ruby
<Hanmac> oO
jimg has quit [Ping timeout: 245 seconds]
emergion has quit [Client Quit]
skattyadz has quit [Quit: skattyadz]
RagingDave has joined #ruby
celinedior has joined #ruby
<pagios> Hanmac: any idea/
csmulhern has joined #ruby
po has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]]
<Hanmac> not so much
<Hanmac> maybe your ruby is wrong
<pagios> There is only one alternative in link group gem: /usr/bin/gem1.8
<pagios> even though i installed ruby 1.9.3
csmulhern has left #ruby ["Linkinus - http://linkinus.com"]
adambeynon has joined #ruby
lolmaus has joined #ruby
<pagios> Hanmac: installing from source 1.9.3
d11wtq has joined #ruby
emergion has joined #ruby
<Hanmac> pagios: because source installed ruby does not add itself to the alternatives system
hamakn has quit [Read error: Connection reset by peer]
vikhyat has quit [Remote host closed the connection]
hamakn has joined #ruby
vikhyat has joined #ruby
vikhyat has quit [Remote host closed the connection]
piisalie has joined #ruby
skattyadz has joined #ruby
visof has quit [Remote host closed the connection]
ttt has joined #ruby
tevio has joined #ruby
GeissT has joined #ruby
jbpros has quit [Quit: jbpros]
<pagios> How can i add it Hanmac
ttt has quit [Ping timeout: 276 seconds]
guitsaru has quit [Remote host closed the connection]
<Hanmac> thats not the way you should do
nari has joined #ruby
<workmad3> sorry, was pulled away by RL work
dhruvasagar has joined #ruby
<workmad3> but looks like Hanmac has things under control ;)
<pagios> whats the correct way of doing it?
gungor_ has joined #ruby
<Hanmac> it looks like that your ruby source is not currect installed ... thats why gem does not found it
<workmad3> pagios: right now, I'd suggest removing the apt-get installed version of ruby and rubygems
<pagios> workmad3: done
vlad_starkov has quit [Remote host closed the connection]
<pagios> if i try to install ruby1.9.3 apt-get suggests installtion of : libruby1.9.1 libruby1.9.1-dbg libtcltk-ruby1.9.1 ri1.9.1 ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.
<pagios> is it fine?
<MrZYX> yup
vlad_starkov has joined #ruby
<MrZYX> again, the 1.9.1 there is just the ABI version
<workmad3> yeah, all of those ubuntu packages are really ruby 1.9.3
<pagios> ok
dougireton has joined #ruby
the_hack has joined #ruby
<pagios> that confused me
gungor has quit [Ping timeout: 245 seconds]
<Hanmac> pagios: HOW and at where location did you install your ruby source?
<Hanmac> did you try to open a new console or bash?
<pagios> BASH
runerisk has quit []
dougireton has quit [Ping timeout: 252 seconds]
the_hack has quit [Quit: Leaving...]
peta_ has joined #ruby
chandankumar has joined #ruby
the_hack has joined #ruby
Hagbard_C has left #ruby [#ruby]
Bry8Star has quit [Ping timeout: 276 seconds]
codecop has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
GeissT_ has joined #ruby
whowantstolivefo has joined #ruby
jimg has joined #ruby
jbpros has joined #ruby
The has joined #ruby
The is now known as Guest22442
emergion has joined #ruby
Macaveli has quit [Ping timeout: 268 seconds]
GeissT__ has joined #ruby
slainer68 has quit [Remote host closed the connection]
GeissT has quit [Ping timeout: 272 seconds]
__alpaca has quit [Remote host closed the connection]
LennyLinux has joined #ruby
GeissT__ has quit [Read error: Connection reset by peer]
__alpaca has joined #ruby
GeissT__ has joined #ruby
GeissT_ has quit [Ping timeout: 245 seconds]
blaxter_ is now known as blaxter
GeissT__ has quit [Read error: Connection reset by peer]
atyz has joined #ruby
GeissT__ has joined #ruby
Guest22442 has quit [Quit: This computer has gone to sleep]
dhruvasagar has quit [Ping timeout: 246 seconds]
tundrax_ has quit [Remote host closed the connection]
Bry8Star has joined #ruby
__alpaca has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
BSaboia has joined #ruby
Macaveli has joined #ruby
jnoob22 has joined #ruby
pac1 has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
Criztian has quit [Remote host closed the connection]
Shrink has quit [Ping timeout: 256 seconds]
danslo has joined #ruby
mneorr has quit [Remote host closed the connection]
johchri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Domon has quit [Remote host closed the connection]
skroon has quit [Quit: leaving]
gutsh has joined #ruby
Guest39061 is now known as jani
jbpros has quit [Quit: jbpros]
Macaveli has quit [Quit: This computer has gone to sleep]
<gutsh> Can you suggest some very active ruby discussion forums?
ttt has joined #ruby
browndawg has joined #ruby
Zai00 has quit [Quit: Zai00]
dr_bob has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
LnL has joined #ruby
angusiguess has joined #ruby
LnL has quit [Client Quit]
Nahra has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
Nahra has joined #ruby
klaas has quit [Read error: Connection reset by peer]
klaas_ has joined #ruby
chandankumar has quit [Quit: Leaving]
ph^ has quit [Remote host closed the connection]
<gutsh> Nuttin?
Weazy has quit [Ping timeout: 264 seconds]
jimg has quit [Remote host closed the connection]
LnL has joined #ruby
Weazy has joined #ruby
ph^ has joined #ruby
gutsh has left #ruby [#ruby]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
MisterPostIT has joined #ruby
soulofpeace has quit [Ping timeout: 256 seconds]
Macaveli has quit [Client Quit]
Macaveli has joined #ruby
vlad_sta_ has joined #ruby
xardas has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
gagan0123 has quit [Ping timeout: 245 seconds]
Shrink has joined #ruby
netto has joined #ruby
niceguyjames has joined #ruby
dr_bob has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
cantonic_ has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
cantonic has quit [Ping timeout: 245 seconds]
cantonic_ is now known as cantonic
Nahra has quit [Remote host closed the connection]
forlin has joined #ruby
slainer68 has joined #ruby
Zai00 has joined #ruby
kennyvb has quit [Quit: ZNC - http://znc.in]
kennyvb has joined #ruby
codecaster has joined #ruby
gyre007 has quit [Ping timeout: 264 seconds]
dougireton has joined #ruby
bhaarat has joined #ruby
codecaster has quit [Read error: Connection reset by peer]
celinedior has quit [Quit: celinedior]
codecaster has joined #ruby
kil0byte has joined #ruby
Astral_ has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
dougireton has quit [Ping timeout: 252 seconds]
gagan0123 has joined #ruby
slainer68 has quit [Ping timeout: 272 seconds]
lewix has quit [Remote host closed the connection]
emergion has joined #ruby
<whowantstolivefo> www.ruby-forum.com is enought to active ?
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]
krz has quit [Quit: krz]
kil0byte has quit [Ping timeout: 248 seconds]
robmuh has joined #ruby
adac has quit [Ping timeout: 256 seconds]
danslo has quit [Ping timeout: 252 seconds]
alup has quit [Ping timeout: 255 seconds]
stevechiagozie has joined #ruby
danslo has joined #ruby
yshh has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
jamescarr has quit [Quit: jamescarr]
kobain has joined #ruby
soulofpeace has joined #ruby
angusiguess has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.3.8]
AgentWillyWonka has quit [Quit: Linkinus - http://linkinus.com]
BizarreCake has quit [Read error: Connection reset by peer]
stevechiagozie has quit [Ping timeout: 252 seconds]
mattp_ has quit [Ping timeout: 252 seconds]
tommyvyo has quit [Quit:]
alanp has joined #ruby
invisime has joined #ruby
bwlang has joined #ruby
adac has joined #ruby
F1skr has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
gommo has joined #ruby
alanp has quit [Remote host closed the connection]
blacktulip has quit [Ping timeout: 252 seconds]
gommo has quit [Remote host closed the connection]
alanp has joined #ruby
gommo has joined #ruby
atno has quit [Remote host closed the connection]
gstudent2 is now known as germanstudent
soulofpeace has quit [Read error: Connection reset by peer]
ZachBeta has quit [Quit: Computer has gone to sleep.]
decentrality has quit [Quit: decentrality]
blacktulip has joined #ruby
MrZYX|off is now known as MrZYX
atno has joined #ruby
gaahrdner has joined #ruby
freerobby has joined #ruby
gerep has quit [Quit: gerep]
yashshah_ has joined #ruby
tomzx_mac has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
Uranio has quit [Remote host closed the connection]
Uranio has joined #ruby
mercwithamouth has joined #ruby
feedbackloop has joined #ruby
dougireton has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Tricon has joined #ruby
celinedior has joined #ruby
gungor has joined #ruby
freerobby has quit [Quit: Leaving.]
xardas has quit [Read error: Connection reset by peer]
dougireton has quit [Ping timeout: 246 seconds]
jgarvey has joined #ruby
neurone-1337 has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
feedbackloop has quit [Ping timeout: 255 seconds]
niceguyjames has joined #ruby
stevechiagozie has joined #ruby
carloslopes has joined #ruby
jprovazn has joined #ruby
Uranio has quit [Remote host closed the connection]
stevechiagozie has quit [Read error: Operation timed out]
jkamenik has quit [Quit: Leaving.]
sepp2k has joined #ruby
hiyakashi has joined #ruby
wmoxam_ has joined #ruby
sambao21 has joined #ruby
Macaveli has quit [Quit: Leaving]
jerius has joined #ruby
jlast has joined #ruby
pcarrier has quit [Ping timeout: 245 seconds]
splittingred has joined #ruby
neurone-1337 has quit [Ping timeout: 255 seconds]
Astral_ has quit [Ping timeout: 246 seconds]
csaunders has joined #ruby
breakingthings has joined #ruby
wmoxam_ has quit [Quit: leaving]
wmoxam_ has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wmoxam has quit [Disconnected by services]
wmoxam_ is now known as wmoxam
wmoxam has quit [Changing host]
wmoxam has joined #ruby
pcarrier has joined #ruby
Astralum has joined #ruby
girija has quit [Ping timeout: 245 seconds]
blaxter has quit [Read error: Operation timed out]
_nitti has joined #ruby
mikalv is now known as meeh
nezumi has quit [Ping timeout: 260 seconds]
meeh is now known as Meeh
tommyvyo has joined #ruby
mucker has quit [Quit: leaving]
brennanMKE has joined #ruby
codecop has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 248 seconds]
niklasb has joined #ruby
Niels___ has left #ruby [#ruby]
d3c has joined #ruby
mootpointer has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
vikhyat has joined #ruby
joshu has joined #ruby
Proshot has joined #ruby
stillEPIK has quit [Ping timeout: 264 seconds]
raycloud has quit [Ping timeout: 272 seconds]
backjlack has quit [Read error: Connection reset by peer]
daniel_- has joined #ruby
slainer68 has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
raycloud has joined #ruby
mneorr has joined #ruby
failshell has joined #ruby
failshell has quit [Remote host closed the connection]
failshell has joined #ruby
backjlack has joined #ruby
locriani has joined #ruby
nari has joined #ruby
generali_ has joined #ruby
<aspiers> am I right in thinking OptionParser doesn't support repeated incremental arguments, e.g. -vvv?
sailias has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
stevechiagozie has joined #ruby
wolcanus has joined #ruby
wolcanus has quit [Remote host closed the connection]
wolcanus has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
pcarrier has quit [Quit: Computer has gone to sleep.]
gommo has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
gommo has joined #ruby
locriani has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
d3c has quit [Quit: Sleep]
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
<dr_bob> aspiers: you only need to count occurrences, pretty straightforward
baba is now known as megha
jovy88 has quit [Read error: Connection reset by peer]
akells` has joined #ruby
barefoot has left #ruby [#ruby]
alejandro has joined #ruby
jovy88 has joined #ruby
<aspiers> dr_bob: but it doesn't support switch bundling?
kennyvb has quit [Quit: ZNC - http://znc.in]
<aspiers> I can do -v -v -v but that defeats the point since -v3 is a nicer interface
<dr_bob> You can do ruby -r optparse -e 'v=0;OptionParser.new {|o| o.on("-v") { v+= 1}}.parse!;p v' -- -vv foo
nplusp has joined #ruby
kennyvb has joined #ruby
<aspiers> I already tried that
<dr_bob> If you want to pass a numeric value, that is possible as well
<aspiers> it didn't work
<dr_bob> It does
<dr_bob> $ ruby -r optparse -e 'v=0;OptionParser.new {|o| o.on("-v") { v+= 1}}.parse!;p v' -- -vv foo
<dr_bob> 2
tootubular has joined #ruby
gommo has quit [Ping timeout: 256 seconds]
jnoob22 has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 252 seconds]
<aspiers> ah, I know why
<aspiers> I still had Integer in the o.on() parameters
jnoob22 has joined #ruby
xardas has joined #ruby
chrishunt has joined #ruby
bhaarat has quit [Quit: bhaarat]
alejandro has left #ruby [#ruby]
freeayu has joined #ruby
dougireton has joined #ruby
jkamenik has joined #ruby
mark_locklear has quit [Ping timeout: 245 seconds]
jkamenik has quit [Client Quit]
ffranz has joined #ruby
mark_locklear has joined #ruby
<lufi> is there a "standard" directory structure in starting a ruby project? im seeing alot of alike structures
kristofers has joined #ruby
johnnyfuchs has joined #ruby
brtdv has quit [Quit: brtdv]
akhet has joined #ruby
akhet has quit [Changing host]
akhet has joined #ruby
dougireton has quit [Ping timeout: 264 seconds]
slainer68 has joined #ruby
slainer68 has quit [Remote host closed the connection]
justsee has joined #ruby
_nitti has joined #ruby
alex__c2022 has joined #ruby
slainer68 has joined #ruby
kennyvb has quit [Quit: ZNC - http://znc.in]
solidoodlesuppor has joined #ruby
gungor_ has joined #ruby
jamescarr has joined #ruby
kennyvb has joined #ruby
interactionjaxsn has joined #ruby
_carloslopes has joined #ruby
ananthakumaran has joined #ruby
blaxter_ has joined #ruby
mikecmpbll has joined #ruby
carloslopes has quit [Ping timeout: 256 seconds]
pcarrier has joined #ruby
gungor has quit [Ping timeout: 245 seconds]
chipotle_ has joined #ruby
chipotle_ has quit [Read error: Connection reset by peer]
Mattx has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
chipotle_ has joined #ruby
ph^_ has joined #ruby
<injekt> lufi: usually foo/{lib/version.rb,foo.rb}
wmoxam has quit [Read error: Connection reset by peer]
<injekt> lufi: if you use bundler and run `bundle gem foo` it'll create a project structure
wolcanus has quit [Ping timeout: 245 seconds]
<lufi> bundler? is it installed with ruby?
<injekt> all of the directories are customizable though, rubygems just has sane defaults (like lib/ bin/ etc)
<injekt> no, gem install bundler
gagan0123 has quit [Ping timeout: 252 seconds]
nari has quit [Ping timeout: 245 seconds]
lenovodroid has joined #ruby
wolcanus has joined #ruby
<lufi> oh its a gem. sorry for the noobish questions. php converting to ruby here xD
wmoxam has joined #ruby
yfeldblum has joined #ruby
<injekt> lufi: when you install ruby, usually you get ruby,rubygems,rdoc
<injekt> and irb
jrajav has joined #ruby
<injekt> rdoc contains an `ri` executable too
<lufi> what does ri do? first time i heard it
Neomex has joined #ruby
nfk has quit [Quit: yawn]
<injekt> lufi: open a console and type `ri String`
<injekt> lufi: it's interactive ruby documentation in the console
chandankumar has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 276 seconds]
ph^ has quit [Ping timeout: 255 seconds]
<lufi> ruby on rails is for web right? googling "ruby" topics always have a "rails" into it xD
lenovodroid has quit [Client Quit]
<injekt> lufi: yeah you'll find that'll be common, rails is probably the largest ruby gem there is, but remember it is just that, another ruby gem
<C0deMaver1ck> rails is like Zend for PHP, huge and everyone loves it
* lufi taking notes
<C0deMaver1ck> but not needed
<injekt> I hate zend
<C0deMaver1ck> as do I :p
<lufi> the first time i heard ruby . i loved to create websites from 'scratch' but i found it very hard
<C0deMaver1ck> but I know alot of people who do like it
<lufi> nope dont put me in the list
<lufi> rails seemed to be too bloated
<C0deMaver1ck> lufi: try to start off with something that's just a thin wrapper around the HTTP verbs
<C0deMaver1ck> take a look at sinatra
<injekt> heh rails is ok if you know how to control it, I would recomend using sinatra or digging into rack if you feel smart
<injekt> recommend*
<C0deMaver1ck> +1 rack
chipotle_ has quit [Quit: cya]
ph^_ has quit [Remote host closed the connection]
blaxter_ has quit [Ping timeout: 255 seconds]
mmitchell has joined #ruby
_carloslopes has quit [Remote host closed the connection]
<peta_> +1 rack/sinatra
freeayu has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
beiter has joined #ruby
rethunk has quit [Ping timeout: 245 seconds]
wedgex has joined #ruby
gagan0123 has joined #ruby
braoru has quit [Quit: Leaving]
Davey has joined #ruby
<lufi> ugh i hate power shortages -.-
hiyakashi has quit [Ping timeout: 245 seconds]
<lufi> so i was typing.. i thought rails is more like codeigniter xD
PhilK_ is now known as PhilK
BSaboia has joined #ruby
<toddWork_> i could use some help w/ a problem: https://gist.github.com/cernalpanic/80fa36ebd280f079ae2b
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
gagan0123 has quit [Ping timeout: 246 seconds]
mucker has joined #ruby
<injekt> toddWork_: bundle.send(context + "s") << dropped
generali_ has quit [Remote host closed the connection]
<injekt> [] is for attributes, not associations
<MrZYX> the eval line still makes no sense to me
<injekt> yeah
<MrZYX> >> class Bundle; def self.find(id); end; def appkey; end; end; params = {context: "appkey"}; context = params[:context]; dropped = eval(context).find(1)
<eval-in> MrZYX => /tmp/execpad-746aa8392c7b/source-746aa8392c7b:2:in `eval': undefined local variable or method `appkey' for main:Object (NameError) ... (http://eval.in/17668)
<MrZYX> toddWork_: ^ explain why that works in your code
fumbe has quit [Ping timeout: 258 seconds]
<injekt> me either, but that's why I asked about updating his gist, maybe he's now capitalized it
Mattx has joined #ruby
<toddWork_> MrZYX: sorry, it's Appkey, not appkey
<injekt> ^
<toddWork_> injekt: it was the 'send' i was missing. thanks MrZYX injekt
<injekt> in any case toddWork_, you should use context.constantize(context).find(...)
skattyadz has joined #ruby
<injekt> er
ananthakumaran has quit [Quit: Leaving.]
<injekt> context.constantize.find(...)
<injekt> not eval
<injekt> never use eval
<toddWork_> just like javascript.
<MrZYX> constantize is still pretty evil
wagster has joined #ruby
mattp_ has joined #ruby
ananthakumaran has joined #ruby
dallasm has joined #ruby
fumbe has joined #ruby
<toddWork_> i will work around it and scrub the input. this AM i am just trying to get the parts working.
<MrZYX> drops = {"appkey" => Appkey, "whatever" => Else}; dropped = drops[context].find(droppedid)
carloslopes has joined #ruby
arturaz has quit [Read error: Operation timed out]
GOMADWarrior has joined #ruby
<injekt> MrZYX: that might not work
<injekt> they do different things
<MrZYX> then an attacker just gets a 500
r0bby has joined #ruby
<injekt> MrZYX: Foo.find(x) is not the same as blah.foos.find(x)
<toddWork_> yeah, create a hash w/ allowed types.
<injekt> that's why he can't do that
gungor__ has joined #ruby
gungor_ has quit [Read error: Connection reset by peer]
digiwth has left #ruby ["Leaving"]
<injekt> the whole point is that it doesn't yet belong in that bundle
<MrZYX> well, the second association is different anyway
<MrZYX> might as well do a second mapping
<injekt> heh
<MrZYX> I think the doubled maintenance cost is worth it
beiter has quit [Quit: beiter]
<injekt> yeah I'd probably do the same thing, though I'd avoid this kind of thing in the first place
<MrZYX> what about we troll the rails people back and open an issue that proposes to stub out eval in controllers? :P
<MrZYX> sure
<injekt> rails loves eval too much :(
dougireton has joined #ruby
stoic_squirrel has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
<toddWork_> for the record, i removed eval, wrapped the entire thing in an if that checked if the context is in an approved list.
fumbe has quit [Ping timeout: 272 seconds]
<toddWork_> i appreciate your input on this; thank you again.
dallasm has quit []
<toddWork_> and i'll map the terms to values, as suggested
celinedior has quit [Quit: celinedior]
dougireton1 has joined #ruby
slainer6_ has joined #ruby
ariedler has joined #ruby
dougireton has quit [Read error: Connection reset by peer]
smigg has joined #ruby
ciwolsey has joined #ruby
jdunck has joined #ruby
stoic_squirrel has quit [Client Quit]
<ciwolsey> what is "::" used for in ruby? difficult to google and i dont know the name of it
nplusp has quit [Ping timeout: 260 seconds]
<lufi> static objects right?
fumbe has joined #ruby
<lufi> static_object::propery
slainer68 has quit [Ping timeout: 245 seconds]
<lufi> static_object::property
stoic_squirrel has joined #ruby
daniel_-_ has joined #ruby
<ciwolsey> ahh
gagan0123 has joined #ruby
<lufi> no thats my guess .ask the better guys about that LoL
<ciwolsey> thankyou
<smigg> I thought it was about accessing classes?
<ciwolsey> i think it is
<injekt> ciwolsey: it's for namespace resolution
<timmow> what is the pastebin service that evals ruby code that people use a lot on here?
<injekt> timmow: eval.in
<ciwolsey> class CreatePosts < ActiveRecord::Migration
daniel_-_ has quit [Client Quit]
<ciwolsey> this is what im looking at
<injekt> ciwolsey: Migration is a class inside of the ActiveRecord namespace
<ciwolsey> awesome, thanks guys!
daniel_- has quit [Ping timeout: 255 seconds]
<injekt> timmow: or maybe you meant the bot?
<injekt> timmow: which uses eval.in (the website)
<injekt> >> RUBY_VERSION
<eval-in> injekt => "2.0.0" (http://eval.in/17669)
<injekt> 19>> RUBY_VERSION
<eval-in> injekt => "1.9.3" (http://eval.in/17670)
the_hack has quit [Quit: Computer has gone to sleep.]
predator117 has joined #ruby
nobitanobi has joined #ruby
<injekt> >> >{?????:??}||%%%
<eval-in> injekt => /tmp/execpad-d78acc171c81/source-d78acc171c81:2: syntax error, unexpected '>' ... (http://eval.in/17672)
<timmow> awesome, eval.in is exactly what I was looiking for, thanks
jamesfung14 has joined #ruby
<injekt> >> ->{?????:??}||%%%
<eval-in> injekt => /tmp/execpad-096b695b1722/source-096b695b1722:2: warning: string literal in condition ... (http://eval.in/17673)
bhaarat has joined #ruby
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?
freeayu3 has joined #ruby
dougireton1 has quit [Quit: Leaving.]
tootubular has quit [Ping timeout: 264 seconds]
tootubular_ has joined #ruby
stevechiagozie has quit [Quit: Computer has gone to sleep.]
spider-mario has joined #ruby
chrishunt has joined #ruby
Squarepy has joined #ruby
r0bby has quit [Ping timeout: 264 seconds]
clocKwize has quit [Quit: clocKwize]
nickchow has quit [Quit: Linkinus - http://linkinus.com]
freeayu__ has quit [Ping timeout: 268 seconds]
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]
sleetdrop has joined #ruby
sleetdrop has quit [Max SendQ exceeded]
sleetdrop has joined #ruby
sleetdrop has quit [Max SendQ exceeded]
baroquebobcat has joined #ruby
sleetdrop has joined #ruby
sleetdrop has quit [Max SendQ exceeded]
brunoro has joined #ruby
sleetdrop has joined #ruby
nateberkopec has joined #ruby
soc42 has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
dougireton has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
yashshah_ is now known as yashshah
knirhs is now known as Shrink
Shrink has quit [Changing host]
Shrink has joined #ruby
momomomomo has joined #ruby
thetristan has joined #ruby
brunoro has quit [Ping timeout: 268 seconds]
ph^ has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
jbueza has joined #ruby
tspike has joined #ruby
jamie_ca_ has quit [Ping timeout: 240 seconds]
johchri has quit [Quit: Textual IRC Client: www.textualapp.com]
girija has joined #ruby
jamie_ca_ has joined #ruby
ph^ has quit [Ping timeout: 256 seconds]
stevechiagozie has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
_maes_ has joined #ruby
_nitti has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby
angusiguess has joined #ruby
tomsthumb has joined #ruby
johchri has joined #ruby
carloslopes has quit [Remote host closed the connection]
Qwak has joined #ruby
zastern has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dagobah has joined #ruby
bradhe has quit [Remote host closed the connection]
robscomputer has joined #ruby
icecandy has joined #ruby
tylersmith has quit [Quit: tylersmith]
bradhe has joined #ruby
filipe has quit [Remote host closed the connection]
vlad_sta_ has quit [Remote host closed the connection]
benwoody has left #ruby [#ruby]
tjbiddle has quit [Quit: tjbiddle]
johchri has quit [Client Quit]
vlad_starkov has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
zeade has joined #ruby
marcdel has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Voodoofish430 has joined #ruby
francisfish has quit [Remote host closed the connection]
lewix has joined #ruby
marcdel_ has joined #ruby
s2013 has joined #ruby
dr_bob has quit [Quit: Leaving.]
marcdel has quit [Read error: Operation timed out]
bradhe has quit [Ping timeout: 260 seconds]
francisfish has joined #ruby
mityaz has joined #ruby
elijah has joined #ruby
<elijah> Can you tell if this site was built in Ruby? http://www.manoftheworld.com/
<elijah> *with
dougireton has quit [Quit: Leaving.]
noxoc has quit [Quit: noxoc]
<setient> no, you can't really tell elijah
momomomomo has quit [Quit: momomomomo]
<setient> the way ruby works it is interperted to html so you would never know
<setient> maybe some of the css might have it in there somewhere but its not really worth looking. best way to know is to just ask
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
<breakingthings> setient: Headers are more important than anything in that.
elijah has quit [Ping timeout: 240 seconds]
banjara has joined #ruby
elijah has joined #ruby
camilasa_ has quit [Remote host closed the connection]
<elijah> breakingthings: Thanks
<breakingthings> np.
tesuki_ has joined #ruby
rakl has joined #ruby
elijah has left #ruby [#ruby]
Fuzai has quit [Ping timeout: 245 seconds]
mklappst_ has joined #ruby
cloke has joined #ruby
tesuki has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mattbl has joined #ruby
bradhe has joined #ruby
callenb has left #ruby [#ruby]
megha has quit [Ping timeout: 240 seconds]
Flexa has quit [Ping timeout: 252 seconds]
akells` has quit [Remote host closed the connection]
sleetdrop has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
timmow has quit [Remote host closed the connection]
Mattx has quit [Ping timeout: 256 seconds]
tesuki_ has quit [Remote host closed the connection]
the_hack has joined #ruby
enigmuriatic has quit [Remote host closed the connection]
jduan1981 has joined #ruby
tds has joined #ruby
_nitti has quit [Remote host closed the connection]
Fuzai has joined #ruby
ph^ has joined #ruby
wyhaines has joined #ruby
luckyruby has joined #ruby
soc42 has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
dagobah has quit [Remote host closed the connection]
noxoc has joined #ruby
yashshah has quit [Ping timeout: 260 seconds]
whowantstolivefo has joined #ruby
enebo has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
marcdel_ has quit [Quit: marcdel_]
tjbiddle has joined #ruby
jdunck has joined #ruby
tjbiddle has quit [Remote host closed the connection]
yashshah has joined #ruby
tjbiddle has joined #ruby
codecop has joined #ruby
wedgex has quit [Remote host closed the connection]
wedgex has joined #ruby
momomomomo has joined #ruby
unflores has quit [Quit: unflores]
love_color_text has joined #ruby
Mattix has joined #ruby
zigomir has joined #ruby
slainer6_ has quit [Remote host closed the connection]
_nitti has joined #ruby
cyberarm has joined #ruby
tylersmith has joined #ruby
icecandy has quit [Ping timeout: 256 seconds]
emmanuelux has joined #ruby
wolcanus has joined #ruby
timkohrumel has joined #ruby
timkohrumel has left #ruby [#ruby]
aaronmcadam has quit [Quit: Leaving...]
robmuh has quit [Quit: Leaving]
mattbl has quit [Quit: Leaving]
icecandy has joined #ruby
mklappst_ has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
cantonic has joined #ruby
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]
Tarential has joined #ruby
arusso has joined #ruby
arusso has quit [Changing host]
arusso has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pskosinski has joined #ruby
mikepack has joined #ruby
epochwolf has joined #ruby
r0bby has quit [Read error: Connection reset by peer]
r0bby has joined #ruby
bhaarat has joined #ruby
Gabri has joined #ruby
Neomex has quit [Quit: Neomex]
passcod has joined #ruby
d_roge has joined #ruby
Xeago has quit [Remote host closed the connection]
mobileblue has joined #ruby
adambeynon has joined #ruby
fmcgeough has joined #ruby
sharpobject has quit [Ping timeout: 248 seconds]
mobileblue has quit [Max SendQ exceeded]
mobileblue has joined #ruby
ShapeShifter499 has joined #ruby
sharpobject has joined #ruby
mucker has quit [Ping timeout: 272 seconds]
bhaarat has quit [Quit: bhaarat]
Tarential has quit [Ping timeout: 260 seconds]
rcs has joined #ruby
Amnesthesia has joined #ruby
freerobby has joined #ruby
ahuman has quit [Quit: No Ping reply in 180 seconds.]
ravster has left #ruby [#ruby]
interactionjaxsn has joined #ruby
ahuman has joined #ruby
csaunders has quit [Quit: Computer has gone to sleep.]
bhaarat has joined #ruby
chandankumar has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
sharpobject has quit [Ping timeout: 256 seconds]
mucker has joined #ruby
slainer68 has joined #ruby
droppedonmyhead has quit [Quit: droppedonmyhead]
arusso has quit [Ping timeout: 258 seconds]
nateberkopec has quit [Quit: Leaving...]
mrsolo has joined #ruby
rcs has quit [Quit: ZNC - http://znc.in]
stoic_squirrel has joined #ruby
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"
sguselnikov has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
arietis has joined #ruby
bhaarat has joined #ruby
<csmrfx> ArchBeOS: have you read Matz book?
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<ArchBeOS> csmrfx: no i have not. didnt know he wrote one
<csmrfx> oo!
<csmrfx> thats the one you want to read
psyprus has quit [Ping timeout: 258 seconds]
<ArchBeOS> ruby in a nutshell or the ruby programming language?
ZephiroMX has joined #ruby
psyprus has joined #ruby
<csmrfx> weird url
<ArchBeOS> thanks :)
csaunders has joined #ruby
<csmrfx> its good stuff
ToApolytoXaos has quit [Quit: Leaving]
<ArchBeOS> cool. thanks.
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]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
browndawg has quit [Quit: Leaving.]
sambao21 has joined #ruby
<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]
badabim has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
__alpaca has joined #ruby
timkohrumel has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 252 seconds]
carloslopes has quit [Remote host closed the connection]
bean__ has quit [Quit: Computer has gone to sleep.]
dougireton has quit [Quit: Leaving.]
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
atmosx has quit [Quit: WeeChat 0.4.0]
Cyrus_ has joined #ruby
cloke has quit [Ping timeout: 252 seconds]
dougireton has joined #ruby
chrishough has quit [Quit: chrishough]
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.]
maycon has quit [Quit: Saindo]
brianpWins has quit [Quit: brianpWins]
chrishough has joined #ruby
<MrZYX> >> "1010001".reverse.scan(/\d{1,3}/).join(",").reverse
<eval-in> MrZYX => "1,010,001" (http://eval.in/17690)
<MrZYX> Cyrus_: ^
brennanMKE has quit [Remote host closed the connection]
<lupine> whoops
arusso has joined #ruby
mneorr has quit [Remote host closed the connection]
kf8a has quit [Quit: Computer has gone to sleep.]
lkba has quit [Ping timeout: 252 seconds]
dougireton has joined #ruby
mattbl has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
<Cyrus_> I need to be able to call this script and enter any numbers after it and have it do that
<MrZYX> sure
jovy88 has joined #ruby
jlast has quit [Remote host closed the connection]
pacbard has quit [Remote host closed the connection]
niceguy1234 has joined #ruby
<Cyrus_> I am a ruby noob what is p begin?
<Spooner> Cyrus_, p x is the same as puts x.inspect (debug printing).
atyz has quit [Quit: Leaving...]
<xibalba> i need an array of strings, is this correct? $myString = @("host1" , "host2" , "host3" )
<xibalba> whoops wrong language
mklappst_ has joined #ruby
* xibalba pokes ozzloy
dougireton has quit [Quit: Leaving.]
kofno has quit [Remote host closed the connection]
<wagster> xibalba: srings = ['host1', 'host2', 'host3']
<xibalba> yeah im doing it in powershell, hence the wrong language :)
MrPoT4tO has joined #ruby
mneorr has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
LnL has quit [Quit: LnL]
davetherat has quit [Remote host closed the connection]
mklappst_ has quit [Remote host closed the connection]
davetherat has joined #ruby
LnL has joined #ruby
gungor has joined #ruby
Banistergalaxy has joined #ruby
<Spooner> powershell is always the wrong language.
brotatos has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
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
<savid> Error message is: http://sprunge.us/ffJO
jnoob22 has quit [Remote host closed the connection]
<MrZYX> line 7 is 1.9 hash syntax
<MrZYX> so if you're getting a syntax error that means you're stuck on 1.8
<MrZYX> support for it will stop very soon, so you should migrate
<breakingthings> :ip => "192..."
<breakingthings> but yes
<breakingthings> that stuff ZYX is said
<breakingthings> If you really really need to stay with 1.8 support for some reason then do ^
interactionjaxsn has quit [Ping timeout: 256 seconds]
brotatos has quit [Quit: WeeChat 0.4.1-dev]
smigg has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
aeontech has joined #ruby
tvw has joined #ruby
blacktulip has quit [Remote host closed the connection]
antiparticle has quit [Ping timeout: 264 seconds]
whowantstolivefo has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
C0deMaver1ck is now known as Agent_Smith
tcsc has joined #ruby
mandrakez has joined #ruby
MistuhKurtz has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
incomplete has joined #ruby
akhet has quit [Remote host closed the connection]
<savid> MrZYX, breakingthings: thanks
JMcAfreak has quit [Quit: Leaving]
jcrawford has quit [Ping timeout: 252 seconds]
mneorr has quit [Remote host closed the connection]
freerobby has joined #ruby
v0n has quit [Ping timeout: 256 seconds]
jcrawford has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
kofno has joined #ruby
tjbiddle_ has joined #ruby
wedge_ has joined #ruby
SDr has quit [Read error: Connection reset by peer]
raycloud__ has joined #ruby
tenmilestereo[aw has joined #ruby
GOMADWarrior has quit [Read error: Connection reset by peer]
amarraja_ has joined #ruby
SDr has joined #ruby
tds_ has joined #ruby
Xabarus has joined #ruby
mikepack_ has joined #ruby
yshh has joined #ruby
GOMADWarrior has joined #ruby
GeissT_ has joined #ruby
bradhe_ has joined #ruby
mattp__ has joined #ruby
slainer6_ has joined #ruby
cloke has joined #ruby
ph^_ has joined #ruby
wedgex has quit [Read error: Connection reset by peer]
tjbiddle has quit [Read error: Connection reset by peer]
mikepack has quit [Read error: Connection reset by peer]
tjbiddle_ is now known as tjbiddle
ph^ has quit [Read error: Connection reset by peer]
rakl has joined #ruby
lewix has quit [Remote host closed the connection]
mattp_ has quit [Read error: Connection reset by peer]
Proshot has quit [Excess Flood]
_maes_ has quit [Ping timeout: 258 seconds]
yshh_ has quit [Ping timeout: 258 seconds]
Proshot has joined #ruby
bradhe has quit [Ping timeout: 258 seconds]
amarraja has quit [Ping timeout: 258 seconds]
Liothen has quit [Ping timeout: 258 seconds]
amarraja_ is now known as amarraja
GeissT has quit [Ping timeout: 240 seconds]
Proshot is now known as statarb3
statarb3 has quit [Changing host]
statarb3 has joined #ruby
mneorr has joined #ruby
slainer68 has quit [Ping timeout: 258 seconds]
raycloud_ has quit [Ping timeout: 258 seconds]
tenmilestereo has quit [Ping timeout: 258 seconds]
tds has quit [Ping timeout: 258 seconds]
tds_ is now known as tds
statarb3 is now known as proshot
proshot is now known as Proshot
rakl has quit [Client Quit]
AgentWillyWonka has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
banjara has quit [Read error: Connection reset by peer]
mockra_ has quit [Ping timeout: 258 seconds]
__alpaca has joined #ruby
banjara has joined #ruby
wmoxam has quit [Quit: leaving]
chrishough has quit [Quit: chrishough]
thibauts has quit [Ping timeout: 240 seconds]
bean__ has joined #ruby
kofno has quit [Ping timeout: 260 seconds]
thibauts has joined #ruby
johchri has joined #ruby
tomsthumb has joined #ruby
neurone-1337 has joined #ruby
mklappst_ has joined #ruby
__alpaca has quit [Ping timeout: 258 seconds]
bean__ has quit [Client Quit]
gommo has joined #ruby
_nitti has quit [Remote host closed the connection]
ph^_ has quit [Remote host closed the connection]
tspike has quit [Ping timeout: 256 seconds]
ph^ has joined #ruby
KRF has quit [Read error: Connection reset by peer]
interactionjaxsn has joined #ruby
KRF has joined #ruby
chrishough has joined #ruby
atyz has joined #ruby
atyz has quit [Client Quit]
<peta_> how can I get only those instance mthods of ClassA that were defined inside it? i.e. no inherited ones (by a base class or kernel or stuff)
jgarvey has quit [Quit: Leaving]
rakl has joined #ruby
Cultofmetatron has joined #ruby
cgcardona has joined #ruby
niceguy1234 has quit [Ping timeout: 245 seconds]
breakingthings has quit []
<MrZYX> peta_: http://rubydoc.info/stdlib/core/Module:instance_methods have a look at the parameter ;)
thatRD has quit [Read error: Operation timed out]
<peta_> aaaah
neurone-1337 has quit [Ping timeout: 258 seconds]
<peta_> haha … and it works
ph^ has quit [Ping timeout: 258 seconds]
justsee has quit [Ping timeout: 252 seconds]
Tarential has joined #ruby
johchri has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has joined #ruby
mockra has joined #ruby
freerobby has quit [Quit: Leaving.]
jamescarr has quit [Quit: jamescarr]
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]
thone has joined #ruby
niklasb has joined #ruby
decentrality has left #ruby [#ruby]
soulcake has quit [Quit: ZNC - http://znc.in]
alexwh has joined #ruby
m8 has quit [Quit: Sto andando via]
soulcake has joined #ruby
ariedler has quit [Remote host closed the connection]
RagingDave has quit [Quit: Ex-Chat]
<Quadlex> Anyone have ANY idea how I can test a test::unit extention from within an rspec test?
bean__ has quit [Client Quit]
mklappst_ has quit [Remote host closed the connection]
solidoodlesuppor has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
guitsaru_ has quit [Remote host closed the connection]
lewix has joined #ruby
enebo has quit [Quit: enebo]
teclator has joined #ruby
bbttxu has joined #ruby
francisfish has quit [Remote host closed the connection]
AgentWillyWonka has quit [Quit: Linkinus - http://linkinus.com]
AgentWillyWonka has joined #ruby
tomsthumb has joined #ruby
tomsthumb has quit [Client Quit]
freerobby has joined #ruby
wolcanus_ has joined #ruby
bbttxu has quit [Client Quit]
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]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
<Spooner> The plain wxruby one is only compatible with Ruby1.8
vlad_starkov has joined #ruby
emmanuelux has quit [Quit: emmanuelux]
<ntzrmtthihu777> trying.
<ntzrmtthihu777> Spooner: thanks a million :D
statarb3 has joined #ruby
tomsthumb has joined #ruby
tomsthumb has quit [Client Quit]
bwlang has left #ruby [#ruby]
Xeago_ has joined #ruby
Proshot has quit [Ping timeout: 252 seconds]
emmanuelux has joined #ruby
grn_ has quit [Remote host closed the connection]
<ntzrmtthihu777> Spooner: ok, the bigdemo works, I had some older code that used wxruby; do I needa change the gem name to wxruby-ruby19?
r0bby_ has joined #ruby
JMcAfreak has joined #ruby
<Spooner> ntzrmtthihu777, You still "require 'wx'" but you'd have to add wxruby-ruby19 to your Gemfile.
cgcardona has joined #ruby
<ntzrmtthihu777> kk :D, getting closer, again huge thanks
babinho has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
angusiguess has joined #ruby
neurone-1337 has joined #ruby
jnoob22 has joined #ruby
r0bby has quit [Ping timeout: 258 seconds]
Xeago_ is now known as Xeago
chrishough has quit [Quit: chrishough]
neurone-1337 has quit [Ping timeout: 240 seconds]
brunoro has joined #ruby
sepp2k1 has joined #ruby
frazras has joined #ruby
awarner has quit [Ping timeout: 256 seconds]
Asher has quit [Quit: Leaving.]
justsee has joined #ruby
niceguy1234 has joined #ruby
sepp2k has quit [Ping timeout: 256 seconds]
ffranz has quit [Quit: Leaving]
parallel21 has quit [Quit: Leaving.]
tenmilestereo[aw has quit [Quit: Leaving]
snuglepuss has joined #ruby
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
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]
JMcAfreak has quit [Quit: Leaving]
LennyLin_ has quit [Remote host closed the connection]
<Spooner> ntzrmtthihu777, pry is a decent way to access docs too. Much better than ri, I think.
LennyLinux has joined #ruby
LennyLinux has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 264 seconds]
Guest____ has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack_ has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
Ren^ has joined #ruby
mikepack has joined #ruby
thetristan has quit [Quit: thetristan]
Ren^ has left #ruby ["Leaving"]
<ntzrmtthihu777> hmm, izzat so
* ntzrmtthihu777 prepares to curl this page and create a chm doc outta it :3
one8zero has joined #ruby
brunoro has joined #ruby
mikepack_ has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
gungor has quit [Remote host closed the connection]
lkba has joined #ruby
savid has left #ruby ["Ex-Chat"]
breakingthings has joined #ruby
Mattix has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
tarruda has joined #ruby
pcarrier has joined #ruby
decentrality has joined #ruby
Asher has joined #ruby
<radic_> knuddels.de supports nazis. resistance required. look at screenshots at http://info-tbb.de/~radic/knd_supports_nazis.png
feedbackloop has joined #ruby
__alpaca has joined #ruby
hiyakashi has joined #ruby
bradhe_ has quit [Remote host closed the connection]
atyz has joined #ruby
rakl has quit [Quit: gone]
DDIIM has joined #ruby
brotatos has joined #ruby
<DDIIM> Hello!
<DDIIM> Wanted to share a new programming forum: http://thedevshed.net/forum/forum.php
banjara has quit [Quit: Leaving.]
ravster has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
__alpaca has quit [Ping timeout: 256 seconds]
tesuki has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
sambao21 has joined #ruby
danneu has quit [Ping timeout: 252 seconds]
tarruda has quit [Quit: leaving]
fixl has joined #ruby
shadoi has quit [Ping timeout: 246 seconds]
josxn has joined #ruby
kristofers has quit []
<radic_> http://info-tbb.de/~radic/1-knd.png compleates the reason of my /amsg
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]
rickruby has joined #ruby
MS_Grant has left #ruby [#ruby]
danneu has joined #ruby
cgcardona has quit [Quit: cgcardona]
tundrax has joined #ruby
maskact has quit [Quit: Textual IRC Client: www.textualapp.com]
predator217 has joined #ruby
rickruby has quit [Read error: Operation timed out]
brunoro has quit [Ping timeout: 256 seconds]
headius has quit [Quit: headius]
zenergi_ has joined #ruby
zenergi_ has quit [Client Quit]
Vivekananda has joined #ruby
zenergi has quit [Ping timeout: 264 seconds]
johnnyfuchs has joined #ruby
hiyakashi has quit [Quit: お前は知りすぎた]
predator117 has quit [Ping timeout: 260 seconds]
ipsifendus has quit [Ping timeout: 252 seconds]
glacification11 has quit [Ping timeout: 248 seconds]
banjara has quit [Quit: Leaving.]
cgcardona has joined #ruby
jonathanwallace has joined #ruby
gaahrdner has quit [Remote host closed the connection]
ggordan has quit [Remote host closed the connection]
mneorr has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
jamescarr has joined #ruby
josxn has quit [Quit: Textual IRC Client: www.textualapp.com]
k610 has joined #ruby
mattbl has joined #ruby
brotatos has quit [Ping timeout: 264 seconds]
droppedonmyhead has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
atyz has quit [Ping timeout: 260 seconds]
momomomomo has quit [Quit: momomomomo]
glacification11 has joined #ruby
mneorr has quit [Ping timeout: 248 seconds]
jamescarr has quit [Quit: jamescarr]