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
jjbohn|afk is now known as jjbohn
yashshah- has quit [Remote host closed the connection]
yashshah- has joined #ruby
<Liru> Another idea was to make an array of hashes, but it may be a bit inefficient when trying to access a player by name
binarypl1 has quit [Ping timeout: 264 seconds]
witheld has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
emergion has joined #ruby
wsterling has quit [Read error: Operation timed out]
<Liru> So yeah, that's my problem. I can't think of a way to efficiently store player data in memory. Ideas?
rodacato has quit [Quit: rodacato]
tds has quit [Quit: tds]
pioz has joined #ruby
locriani has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
<tylersmith> if this is just a simple version, a hash is probably find. if you're trying to guid a real application, probably use something like redis to store that info
<tylersmith> "probably fine"*
pioz has quit [Client Quit]
kofno has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.0]
<Liru> Not really a "real application"
<Liru> I doubt there will be more than 10 people using it at once
timmow has quit [Read error: Connection reset by peer]
<Liru> That, and I'll have to update everything each second, so constantly reading/writing to the db is what I'm trying to avoid
alexspeller has quit [Ping timeout: 252 seconds]
lkba has quit [Ping timeout: 252 seconds]
timmow has joined #ruby
freeayu__ has joined #ruby
lkba has joined #ruby
Spooner has quit [Remote host closed the connection]
alexspeller has joined #ruby
freeayu has quit [Ping timeout: 256 seconds]
dankest has quit [Quit: Leaving...]
mklappstuhl has quit [Remote host closed the connection]
DrCode has quit [Ping timeout: 276 seconds]
baroquebobcat has joined #ruby
diego_ar has quit [Quit: diego_ar]
sambao21 has joined #ruby
chrishough has quit [Quit: chrishough]
angusiguess has joined #ruby
DrCode has joined #ruby
freeayu3 has joined #ruby
chessguy has quit [Remote host closed the connection]
cloke has quit [Quit: cloke]
mattbl has quit [Ping timeout: 245 seconds]
Davey has joined #ruby
jimi_ has joined #ruby
<jimi_> I have a gem I want to install which fails on a certain package 'thin' but if i gem install thin, it works fine. It seems it's installing an older version. Can I pass a cli option to skip this package?
sepp2k1 has quit [Remote host closed the connection]
freeayu__ has quit [Ping timeout: 252 seconds]
tylersmith has quit [Quit: tylersmith]
bradhe has quit [Remote host closed the connection]
daniel_- has quit [Ping timeout: 255 seconds]
aces1up has quit [*.net *.split]
pbertain has quit [*.net *.split]
yellow5 has quit [*.net *.split]
karnowski has quit [*.net *.split]
prstat has quit [*.net *.split]
matled has quit [*.net *.split]
cheez0r has quit [*.net *.split]
darrik has quit [*.net *.split]
tomku has quit [*.net *.split]
javiolo has quit [*.net *.split]
shammancer has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
cespare has quit [*.net *.split]
froy has quit [*.net *.split]
russfrank has quit [*.net *.split]
moshee has quit [*.net *.split]
X-Jester has quit [*.net *.split]
joschi has quit [*.net *.split]
fred has quit [*.net *.split]
ner0x has quit [Quit: Leaving]
Heero has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
aces1up has joined #ruby
cespare has joined #ruby
tomku has joined #ruby
prstat has joined #ruby
wookiehangover has joined #ruby
cheez0r has joined #ruby
Sp4rKy has joined #ruby
darrik has joined #ruby
shammancer has joined #ruby
froy has joined #ruby
russfrank has joined #ruby
joschi has joined #ruby
moshee has joined #ruby
yellow5 has joined #ruby
javiolo has joined #ruby
fred has joined #ruby
matled has joined #ruby
pbertain has joined #ruby
karnowski has joined #ruby
X-Jester has joined #ruby
jrendell has quit [Quit: jrendell]
tjbiddle has quit [Quit: tjbiddle]
jbueza1 has quit [Quit: Leaving.]
idkazuma has quit [Remote host closed the connection]
dankest has joined #ruby
nick1 has joined #ruby
<nick1> Hello, I have no experience with ruby and I am trying to run this script
frem has joined #ruby
yshh has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
<nick1> I'm getting a cannot load such file (mechanize) error
slainer68 has quit [Remote host closed the connection]
<nick1> I understand that I need to install those dependencies listed at the top but I am not sure how
<nick1> (something to do with gem install XX command)
rton has left #ruby [#ruby]
d2dchat has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 240 seconds]
yshh has quit [Remote host closed the connection]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
crodas has joined #ruby
<nick1> well if anyone can help me, please highlight me. Thanks in advance.
angusiguess has joined #ruby
mrsolo has quit [Quit: Leaving]
centipedefarmer has joined #ruby
dankest has quit [Quit: Leaving...]
ffranz has quit [Quit: Leaving]
marr has quit [Ping timeout: 252 seconds]
kunday has quit [Quit: Leaving...]
nezumi has joined #ruby
nateberkopec has joined #ruby
gerep has joined #ruby
<gerep> Hi all
<nick1> hello gerep
<gerep> I have a Ruby project and I'm trying to use Travis-CI but it complains about Rake file
<gerep> I thought rake files were just used in rails projects
<gerep> nick1: hi =)
JonnieCache has joined #ruby
robottinosino has joined #ruby
tkoh has joined #ruby
nateberkopec has quit [Client Quit]
<gerep> How can I add this Rakefile to my project so Travis-CI use it correctly?
ZachBeta has joined #ruby
osvico has quit [Ping timeout: 252 seconds]
<nick1> sorry gerep, I am new to ruby and can't help you.
<gerep> nick1: no problem :D
tkoh has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
terrorpup has joined #ruby
terrorpup has joined #ruby
terrorpup has quit [Changing host]
<Liru> Is there a way to assign array values to corresponding hashes? ie, is there a way to make this code cleaner by removing all the "input[x]" entries? http://i.imgur.com/BxY3z1M.png
mattbl has joined #ruby
__alpaca_ has joined #ruby
jamesfung14 has quit [Quit: Leaving]
johnnyfuchs has joined #ruby
d11wtq has joined #ruby
arubin has joined #ruby
ixti has quit [Ping timeout: 252 seconds]
gerep has quit [Remote host closed the connection]
hiyakashi has quit [Quit: お前は知りすぎた]
__alpaca_ has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
brianpWins has quit [Quit: brianpWins]
ner0x has joined #ruby
<adamjleonard> Liru, you could do something like https://gist.github.com/adamjleonard/ac0352a7a911ae241990
<lufi> are there any other softwares that can be made with ruby aside from web applications?
<Liru> lufi: I'm currently in the process of making an IRC game
<adamjleonard> Anything lufi
<Liru> adamjleonard: And that's exactly what I was looking for, thanks :D
<adamjleonard> Ruby is not coupled to the web
<lufi> liru: :O osum! :D
<adamjleonard> Liru: welcome
<lufi> adamjleonard: yes i know that. that's why im thinking of something 'new'
<lufi> ruby has been tangled so much on the 'rails' word.
Michael has joined #ruby
feedbackloop has joined #ruby
Michael is now known as Guest60713
ffranz has joined #ruby
kunday has joined #ruby
<lufi> liru: you mind letting us see that game your workin on?
xcv has joined #ruby
nari has joined #ruby
<Liru> lufi: It's really basic right now
kunday has quit [Read error: Connection reset by peer]
kunday has joined #ruby
<Liru> Literally the only thing that works at the moment is an IRC bot saying hi if you enter the room, which was needed to make sure that if someone comes in the channel, they're logged in
kunday has quit [Client Quit]
<Liru> And saying !gather to "gather" resources, which it only does in name
<Liru> Plus the fact that I just started coding in Ruby about 2 days ago...
Opettaja has quit [Quit: WeeChat 0.4.0]
<Liru> Anyway, if you want to see it, https://github.com/Liru/village
sailias1 has quit [Quit: Leaving.]
<lufi> oh something like that old game
<adamjleonard> Liru, what editor are you using?
<lufi> i forgot the name.. it starts with 'z' i think
<Liru> vim
<adamjleonard> You need to set your tabs to spaces
ffranz has quit [Client Quit]
jmsbrwr has joined #ruby
<Liru> Will do so, just let me finish this up
<adamjleonard> Lol np. Just looking out. Hard to read this code due to it's insane spacing
mfridh has quit [Read error: Operation timed out]
<lufi> ooh something like Zork!
<lufi> now I remember
xcv has quit [Ping timeout: 264 seconds]
banjara has quit [Quit: Leaving.]
ZachBeta has quit [Quit: Computer has gone to sleep.]
emanu has quit [Quit: emanu]
gener1c has quit [Ping timeout: 276 seconds]
gener1c has joined #ruby
<Liru> lufi: Sort of like Zork
freeayu3 has quit [Quit: 离开]
<Liru> But I've got a more multiplayer thing in mind
arya has quit [Ping timeout: 252 seconds]
freeayu has joined #ruby
Guest60713 has quit [Remote host closed the connection]
<Liru> Think Settlers
<lufi> yup that's what is in my mind too a few years back. though im trying to create it in PHP lol
Michael has joined #ruby
<lufi> oh settlers. I was thinking more of a tabletop-like game.
Michael is now known as Guest32801
jamescarr has joined #ruby
<jamescarr> hey can I use env variables in yaml on ruby?
r0bgleeson has quit [Ping timeout: 255 seconds]
adamjleonard has quit [Quit: Leaving...]
jnoob22 has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
tylersmith has joined #ruby
jjbohn_ has joined #ruby
arya has joined #ruby
rupee has quit [Quit: Leaving]
Guest32801 has quit [Remote host closed the connection]
<BinaryMaster> Can anyone tell me where I can find information about the Svn::Client class I have been searching google but all I get is how to use svn to develop core ruby
banjara has joined #ruby
waxjar has quit [Ping timeout: 258 seconds]
rakl has quit [Quit: sleeping]
thomasfedb has quit [Ping timeout: 252 seconds]
ZachBeta has joined #ruby
stnly has quit [Ping timeout: 255 seconds]
arya has quit [Read error: Connection reset by peer]
xardas has quit [Ping timeout: 252 seconds]
jjbohn has quit [Ping timeout: 252 seconds]
banjara has quit [Client Quit]
mockra has quit [Remote host closed the connection]
osvico has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
slainer68 has joined #ruby
momomomomo has joined #ruby
arya has joined #ruby
end_guy has joined #ruby
chessguy has joined #ruby
GeissT has joined #ruby
Tricon has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
ndngvr has quit [Quit: Coyote finally caught me]
ndngvr has joined #ruby
newUser1234 has joined #ruby
akhet has quit [Remote host closed the connection]
bradhe has joined #ruby
r0bgleeson has joined #ruby
aki1 has quit [Ping timeout: 255 seconds]
slainer68 has quit [Ping timeout: 264 seconds]
aki1 has joined #ruby
vlad_sta_ has joined #ruby
tundrax has joined #ruby
arya_ has joined #ruby
ZachBeta has joined #ruby
_nitti has joined #ruby
arya has quit [Ping timeout: 245 seconds]
mikepack has quit [Remote host closed the connection]
jamescarr has quit [Quit: jamescarr]
bradhe has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
chessguy has quit [Remote host closed the connection]
r0bgleeson has quit [Read error: No route to host]
r0bgleeson has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
kunday has joined #ruby
kunday has quit [Read error: Connection reset by peer]
d2dchat has joined #ruby
Domon has joined #ruby
faldridge has joined #ruby
hamakn has joined #ruby
kunday has joined #ruby
marcdel has quit [Quit: marcdel]
rodacato has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
MistuhKurtz has joined #ruby
chrishunt has joined #ruby
<MistuhKurtz> so if HEAD~1 is one commit previous to the HEAD, how do I reference the next commit?
<MistuhKurtz> er I thought I was in #git, apologies
Ripp__ has joined #ruby
rayrayy has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
peta_ has quit [Quit: peta_]
jjbohn_ has quit [Quit: Leaving...]
pskosinski has quit [Quit: pskosinski]
lunarjar has quit [Ping timeout: 264 seconds]
Hanmac2 has joined #ruby
kunday has quit [Quit: Leaving...]
ehaliewicz has joined #ruby
Hanmac1 has quit [Ping timeout: 256 seconds]
Heero has joined #ruby
ttt has joined #ruby
kunday has joined #ruby
jeebster has quit [Quit: Leaving.]
nari has quit [Ping timeout: 264 seconds]
kunday has quit [Read error: Connection reset by peer]
kunday has joined #ruby
guitsaru_ has quit [Remote host closed the connection]
kunday has quit [Client Quit]
guitsaru has joined #ruby
lunarjar has joined #ruby
tundrax has quit [Ping timeout: 256 seconds]
eka has quit [Quit: Computer has gone to sleep.]
_maes_ has joined #ruby
guitsaru has quit [Ping timeout: 256 seconds]
elux has joined #ruby
robustus has joined #ruby
dummies_freelanc has quit [Ping timeout: 256 seconds]
vlad_sta_ has quit [Remote host closed the connection]
rayrayy has quit [Quit: Page closed]
tundrax has joined #ruby
etcetera has quit [Ping timeout: 256 seconds]
brandon has joined #ruby
momomomomo has quit [Quit: momomomomo]
etcetera has joined #ruby
dorei has quit []
Cultofmetatron has joined #ruby
frem has quit [Ping timeout: 240 seconds]
radic has quit [Disconnected by services]
radic has joined #ruby
sent_hil has joined #ruby
xlab_ has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
<sent_hil> I'm having trouble em-websocket client example to work: https://github.com/igrigorik/em-websocket
xlab has joined #ruby
<sent_hil> running ruby 2.0
Tricon has quit [Quit: Linkinus - http://linkinus.com]
robottinosino has quit [Quit: WeeChat 0.4.0]
Michael has joined #ruby
Michael is now known as Guest15117
newUser1234 has joined #ruby
jjbohn has joined #ruby
jamescarr has joined #ruby
ttt_ has joined #ruby
ner0x has left #ruby ["Leaving"]
_nitti has quit [Remote host closed the connection]
ttt has quit [Read error: Connection reset by peer]
ttt has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
shevy has quit [Ping timeout: 245 seconds]
ttt_ has quit [Ping timeout: 256 seconds]
Tectonic has joined #ruby
xlab has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
<Matip> > /[\x00-\xFF]/
<Matip> what's the problem with this ^?
<Matip> SyntaxError: (pry):10: invalid multibyte escape: /[\x00-\xFF]/
r0bgleeson has quit [Quit: WeeChat 0.3.8]
zeade has quit [Quit: Leaving.]
jimi_ has quit [Quit: Leaving]
tommyvyo has quit [Quit:]
GOMADWarrior has quit [Ping timeout: 264 seconds]
sambio is now known as natalianatalia
ZachBeta has quit [Quit: Computer has gone to sleep.]
Gooder has joined #ruby
wallerdev has quit [Quit: wallerdev]
chxane has quit [Quit: Leaving]
johnkary has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
jamescarr has quit [Quit: jamescarr]
indyrl has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
jovy88 has joined #ruby
mootpointer has joined #ruby
<droppedonmyhead> can someone tell me how stubs work? i don't get it
newUser1234 has quit [Remote host closed the connection]
Guest15117 has quit [Remote host closed the connection]
shevy has joined #ruby
arubin has quit [Quit: Computer has gone to sleep.]
sleetdrop has joined #ruby
newUser1234 has joined #ruby
barefoot has joined #ruby
thomasfedb has joined #ruby
jjbohn has quit [Quit: Leaving...]
Michael has joined #ruby
<havenwood> droppedonmyhead: I think this is a good explaination: http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs
Michael is now known as Guest71188
<havenwood> droppedonmyhead: TL;DR: "Stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test. Stubs may also record information about calls, such as an email gateway stub that remembers the messages it 'sent', or maybe only how many messages it 'sent'."
<droppedonmyhead> havenwood: hmm…tricky
caleb_io has joined #ruby
kofno has quit [Remote host closed the connection]
tomsthumb has joined #ruby
BadLarry has joined #ruby
krz has joined #ruby
r0bgleeson has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
kofno has joined #ruby
pencilcheck is now known as pen
indyrl has quit [Read error: Connection reset by peer]
zenmonkey has quit []
Guest71188 has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
bradhe has joined #ruby
jmsbrwr has quit [Ping timeout: 256 seconds]
xlab has joined #ruby
KazW_ has quit [Quit: Later all!]
SCommette has joined #ruby
yusup has joined #ruby
GOMADWarrior has joined #ruby
tommyvyo has joined #ruby
aryatosh has joined #ruby
Opettaja has joined #ruby
indyrl has joined #ruby
indyrl has quit [Read error: Connection reset by peer]
jamescarr has joined #ruby
waxjar has joined #ruby
TheMoonMaster has quit [Excess Flood]
Hanmac1 has joined #ruby
Mattx has joined #ruby
TheMoonMaster has joined #ruby
Hanmac2 has quit [Ping timeout: 276 seconds]
Hanmac2 has joined #ruby
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby
jamescarr has quit [Quit: jamescarr]
wreckimnaked has quit [Quit: WeeChat 0.3.8]
chipotle_ has quit [Quit: cya]
Hanmac1 has quit [Ping timeout: 246 seconds]
Matip has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby
Bofu2U has quit [Read error: Connection reset by peer]
brunoro has joined #ruby
Bofu2U has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
megha has quit [Read error: Operation timed out]
elux has quit [Quit: Leaving...]
tylersmith has joined #ruby
security has joined #ruby
noop has quit [Ping timeout: 276 seconds]
theoros has quit [Ping timeout: 276 seconds]
supki has quit [Ping timeout: 276 seconds]
supki has joined #ruby
theoros has joined #ruby
mockra has joined #ruby
noop has joined #ruby
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
bradhe has quit [Remote host closed the connection]
nga4 has quit []
mockra has quit [Remote host closed the connection]
kunday has joined #ruby
Randomage has joined #ruby
kofno has quit [Remote host closed the connection]
kunday has quit [Read error: Connection reset by peer]
cibs has quit [Quit: leaving]
wolf_blackout has joined #ruby
kunday has joined #ruby
kunday has quit [Read error: Connection reset by peer]
kunday has joined #ruby
wolf_blackout has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
akam-it has joined #ruby
Hanmac1 has joined #ruby
cooldman224 has joined #ruby
brandon_1 has joined #ruby
brandon_1 has quit [Client Quit]
kunday has quit [Ping timeout: 248 seconds]
Hanmac2 has quit [Ping timeout: 264 seconds]
johnkary has quit [Quit: @johnkary]
retry has joined #ruby
zastern has quit [Remote host closed the connection]
sambao21 has joined #ruby
wallerdev has joined #ruby
GOMADWarrior has quit [Ping timeout: 264 seconds]
cibs has joined #ruby
mockra has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
bradhe has joined #ruby
Gooder` has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
mockra has quit [Remote host closed the connection]
uris has quit [Quit: Leaving]
xkickflip has quit [Quit: h..hi]
Gooder has quit [Ping timeout: 252 seconds]
ariedler has joined #ruby
mockra has joined #ruby
gstamp has quit [Ping timeout: 256 seconds]
jjbohn has joined #ruby
locriani has quit [Remote host closed the connection]
Guedes has quit [Quit: Saindo]
mmlac-bv has quit [Quit: mmlac-bv]
yaaang has joined #ruby
jjbohn has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 248 seconds]
dankest has joined #ruby
dmiller has quit [Ping timeout: 276 seconds]
aryatosh has quit [Ping timeout: 246 seconds]
cooldman224 has quit [Remote host closed the connection]
yashshah__ has joined #ruby
__alpaca_ has joined #ruby
faldridge has quit [Quit: faldridge]
arya has joined #ruby
hadees has joined #ruby
aryatosh has joined #ruby
yashshah- has quit [Ping timeout: 252 seconds]
__alpaca_ has quit [Ping timeout: 256 seconds]
aryatosh has quit [Ping timeout: 246 seconds]
rippa has quit [Ping timeout: 240 seconds]
timkohrumel has joined #ruby
momomomomo has joined #ruby
aryatosh has joined #ruby
tvw has joined #ruby
wallerdev has quit [Quit: wallerdev]
mattbl has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
arya has quit [Ping timeout: 248 seconds]
timkohrumel has quit [Read error: Connection reset by peer]
yusup has quit [Quit: Linkinus - http://linkinus.com]
tommyvyo has quit [Quit:]
GeissT has quit [Quit: MillBroChat AdIRC User]
aryatosh has quit [Ping timeout: 276 seconds]
mattbl has quit [Quit: Leaving]
kunday has joined #ruby
arya has joined #ruby
kunday has quit [Read error: Connection reset by peer]
aryatosh has joined #ruby
Ripp__ has quit [Quit: Leaving]
tylersmith has quit [Quit: tylersmith]
tjbiddle has joined #ruby
kunday has joined #ruby
kunday has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: kenneth]
kunday has joined #ruby
kofno has joined #ruby
tjbiddle_ has joined #ruby
billy_ran_away has quit [Ping timeout: 252 seconds]
d11wtq_ios has joined #ruby
vlad_sta_ has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
tjbiddle_ is now known as tjbiddle
billy_ran_away has joined #ruby
divout has joined #ruby
banjara has joined #ruby
mockra has quit [Remote host closed the connection]
tonini has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
nwertman has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
aces1up has quit [Remote host closed the connection]
aces1up has joined #ruby
tomzx_mac has quit [Ping timeout: 245 seconds]
ariedler has quit [Remote host closed the connection]
guiambros has joined #ruby
kofno has quit [Ping timeout: 256 seconds]
rakl has joined #ruby
momomomomo has quit [Quit: momomomomo]
chxane has joined #ruby
<SirFunk> so for some reason my gemfile is pulling in really old versions of things.. mongoid 1.0.6 and mongoid-carrierwave 1.1 or something... i have no idea why how can i track this down
Domon has quit [Remote host closed the connection]
d11wtq_ios has quit [Remote host closed the connection]
nooodl has joined #ruby
pen has quit [Remote host closed the connection]
nari has joined #ruby
xkickflip has joined #ruby
etcetera has quit []
timkohrumel has joined #ruby
nooodl has quit [Ping timeout: 256 seconds]
jdunck has joined #ruby
retry has quit [Quit: Linkinus - http://linkinus.com]
ZachBeta has joined #ruby
mockra has joined #ruby
ehellman has joined #ruby
splittingred has quit [Quit: splittingred]
freakazoid0223 has quit [Ping timeout: 272 seconds]
osvico has quit [Ping timeout: 256 seconds]
jamescarr has joined #ruby
fryguy- has joined #ruby
arya has quit [Ping timeout: 248 seconds]
caleb_io has quit [Quit: caleb_io]
timkohrumel has quit [Remote host closed the connection]
fryguy has quit [Ping timeout: 264 seconds]
mockra has quit [Remote host closed the connection]
kenneth has joined #ruby
arya has joined #ruby
__alpaca_ has joined #ruby
huoxito has quit [Quit: Leaving]
agarie has quit [Ping timeout: 276 seconds]
arya has quit [Ping timeout: 248 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
aryatosh has quit [Ping timeout: 246 seconds]
bradhe has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 252 seconds]
haxrbyte has joined #ruby
__alpaca_ has quit [Ping timeout: 252 seconds]
aryatosh has joined #ruby
nari has quit [Ping timeout: 256 seconds]
rippa has joined #ruby
tomsthumb has quit [Quit: Leaving.]
chandankumar has joined #ruby
arya has joined #ruby
Lockzi has quit [Ping timeout: 245 seconds]
aryatosh_ has joined #ruby
icole has quit [Remote host closed the connection]
klip has quit [Ping timeout: 264 seconds]
rodacato has quit [Quit: rodacato]
klip has joined #ruby
io_syl has quit [Quit: Textual IRC Client: www.textualapp.com]
yacks has joined #ruby
aryatosh has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby
generalissimo has quit [Remote host closed the connection]
MisterPostIT has joined #ruby
vikhyat has joined #ruby
io_syl has joined #ruby
k3rn3lito has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
k3rn3lito has joined #ruby
Lockzi has joined #ruby
<havenwood> SirFunk: Are those versions specified in your Gemfile or just a dependency of another gem in the Gemfile?
xlab has quit [Remote host closed the connection]
xlab has joined #ruby
io_syl has quit [Client Quit]
<SirFunk> I didn't have versions specified. Seems like if i have xml-sitemap and don't specify versions for mongoid or carrierwave-mongoid they get REALLY old versions
spike|spiegel has quit [Quit: WeeChat 0.4.0]
io_syl has joined #ruby
xlab has quit [Remote host closed the connection]
codecop has joined #ruby
ananthakumaran has joined #ruby
V8Energy has quit [Ping timeout: 240 seconds]
io_syl has quit [Quit: Textual IRC Client: www.textualapp.com]
io_syl has joined #ruby
tylersmith has joined #ruby
hadees has quit [Quit: hadees]
soulofpeace has joined #ruby
jonahR has joined #ruby
bradhe has joined #ruby
aryatosh_ has quit [Ping timeout: 252 seconds]
io_syl has quit [Client Quit]
io_syl has joined #ruby
kylebt has quit [Quit: kylebt]
arya_ has joined #ruby
ckrailo has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
danslo has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Domon has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
danslo has quit [Client Quit]
generalissimo has joined #ruby
slippyd has quit [Quit: slippyd]
bradhe has joined #ruby
osvico has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
miso1337 has joined #ruby
slippyd has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
haxrbyte has quit [Remote host closed the connection]
etcetera has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
generalissimo has quit [Read error: Connection reset by peer]
generalissimo has joined #ruby
aboudreault has quit [Excess Flood]
mockra has joined #ruby
arya has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
sayan has quit [Ping timeout: 256 seconds]
generali_ has joined #ruby
kunday has quit [Quit: Leaving...]
rakl has quit [Quit: sleeping]
droppedonmyhead has quit [Quit: droppedonmyhead]
fschuindt has joined #ruby
generalissimo has quit [Ping timeout: 252 seconds]
slippyd has quit [Quit: slippyd]
krz has quit [Quit: krz]
jamescarr has quit [Quit: jamescarr]
aboudreault has joined #ruby
tomsthumb has joined #ruby
dmiller has joined #ruby
xlab has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
brunoro has quit [Ping timeout: 260 seconds]
icole has joined #ruby
jonahR has quit [Quit: jonahR]
nomenkun has joined #ruby
dhruvasagar has joined #ruby
tagrudev has joined #ruby
GeissT has joined #ruby
ndngvr has quit [Quit: Coyote finally caught me]
Hanmac has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 264 seconds]
ndngvr has joined #ruby
ndngvr has quit [Client Quit]
yxhuvud has joined #ruby
hadees has joined #ruby
tjbiddle_ has joined #ruby
tjbiddle_ has quit [Client Quit]
dmiller has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 256 seconds]
nomenkun has quit [Remote host closed the connection]
a_a_g has joined #ruby
kunday has joined #ruby
aboudreault has quit [Excess Flood]
SCommette has quit [Quit: SCommette]
kunday has quit [Read error: Connection reset by peer]
aboudreault has joined #ruby
aces1up has quit [Remote host closed the connection]
aces1up has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
kunday has joined #ruby
tonini has quit [Remote host closed the connection]
girija has joined #ruby
Astral_ has joined #ruby
vikhyat has quit [Remote host closed the connection]
aboudreault has quit [Excess Flood]
tomsthumb has quit [Quit: Leaving.]
Astralum has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
ndngvr has joined #ruby
casheew has quit [Read error: Connection reset by peer]
ndngvr has quit [Client Quit]
casheew has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
akam_ has joined #ruby
ndngvr has joined #ruby
vikhyat has joined #ruby
aboudreault has joined #ruby
ph^ has joined #ruby
mootpointer has joined #ruby
aganov has joined #ruby
billy_ran_away has quit [Read error: Operation timed out]
pagios has quit [Quit: Leaving]
kunday has quit [Quit: Leaving...]
tonini has joined #ruby
brianpWins has quit [Quit: brianpWins]
afd__ has quit [Ping timeout: 252 seconds]
yashshah has joined #ruby
aboudreault has quit [Excess Flood]
yashshah__ has quit [Ping timeout: 252 seconds]
Zespre has quit [Ping timeout: 256 seconds]
kunday has joined #ruby
afd__ has joined #ruby
Zespre has joined #ruby
kunday has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
Hanmac has joined #ruby
agarie has joined #ruby
mockra has quit [Remote host closed the connection]
aboudreault has joined #ruby
workmad3 has joined #ruby
aboudreault has quit [Excess Flood]
osvico has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
locriani has joined #ruby
natalianatalia has quit []
aboudreault has joined #ruby
MisterPostIT has quit [Ping timeout: 264 seconds]
Vainoharhainen has joined #ruby
braoru has joined #ruby
vikhyat has quit [Remote host closed the connection]
dkannan has joined #ruby
danslo has joined #ruby
cantonic has quit [Quit: cantonic]
thone has quit [Ping timeout: 256 seconds]
etcetera has quit []
thone has joined #ruby
andikr has joined #ruby
h8R has quit [Ping timeout: 272 seconds]
icole has quit [Remote host closed the connection]
haxrbyte has joined #ruby
billy_ran_away has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
arya has quit [Ping timeout: 248 seconds]
ckrailo has joined #ruby
ckrailo has quit [Client Quit]
tomsthumb has joined #ruby
pduin has joined #ruby
xefi_ has joined #ruby
afd__ has quit [Ping timeout: 245 seconds]
soulofpeace has quit [Read error: Operation timed out]
arya has joined #ruby
s2013 has quit []
gstamp has joined #ruby
persand has joined #ruby
Macaveli has quit [Quit: This computer has gone to sleep]
soulofpeace has joined #ruby
miso1337 has quit [Quit: afk]
workmad3 has quit [Ping timeout: 264 seconds]
rickruby has quit [Remote host closed the connection]
Kruppe has joined #ruby
miso1337 has joined #ruby
Kruppe has quit [Client Quit]
krz has joined #ruby
arya_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
arya has joined #ruby
mafolz has joined #ruby
Morkel has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
clocKwize has joined #ruby
clocKwize has quit [Client Quit]
filipe has joined #ruby
ehaliewicz has quit [Read error: No route to host]
subbyyy has quit [Ping timeout: 256 seconds]
alvin-x has joined #ruby
__alpaca_ has joined #ruby
thone has quit [Ping timeout: 255 seconds]
kiri has quit [Ping timeout: 245 seconds]
foofoobar has joined #ruby
JohnBat26 has joined #ruby
h8R has joined #ruby
kiri has joined #ruby
<foofoobar> Hi. I need to create a more or less complex PDF report. It's just a single page with some text, images and lines. The alignment is the important point. I'm now thinking of: Is this possible with a 3rd party ruby lib? Or should I write a LaTeX-Template, parse that with ruby and replace the text and finally execute pdflatex on the command line?
tonini has quit [Remote host closed the connection]
LnL has joined #ruby
dr_bob has joined #ruby
__alpaca_ has quit [Ping timeout: 256 seconds]
<Mon_Ouie> I'd usually do the latter, but there's a gem called prawn that can generate PDF
<foofoobar> Mon_Ouie, yeah I found prawn and PDFKit. I just can't appraise them if they are powerful enough.
<foofoobar> Maybe I should stick with the LaTeX creation
nick1 has left #ruby [#ruby]
nomenkun has quit [Remote host closed the connection]
xlab has quit [Ping timeout: 260 seconds]
LnL has quit [Ping timeout: 276 seconds]
tvw has quit []
arturaz has joined #ruby
banjara has quit [Quit: Leaving.]
vikhyat has joined #ruby
afd___ has joined #ruby
sayan has joined #ruby
Axsuul has quit [Ping timeout: 256 seconds]
kinginky has quit [Quit: Leaving]
afd___ has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 240 seconds]
hadees has quit [Quit: hadees]
threesome has quit [Ping timeout: 264 seconds]
Tectonic has quit [Quit: Tectonic]
<ChristianS> LaTeX sounds most simple, and you can get very nice looking docs
skroon has joined #ruby
<smiler> prawn is quite nice
<smiler> But you kinda need general knowledge of the "internals" of the PDF format.
sayan has quit [Quit: Leaving]
love_color_text has joined #ruby
xlab has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
robert___ has joined #ruby
freeayu has joined #ruby
JonnieCache has quit [Ping timeout: 252 seconds]
Cork has quit [Ping timeout: 260 seconds]
robert_ has quit [Ping timeout: 276 seconds]
Cork has joined #ruby
<foofoobar> I had problems with putting text with special chars in LaTeX templates
<foofoobar> I had to do a lot of replacing so no LaTeX errors occured
love_color_text has quit [Read error: Connection reset by peer]
<foofoobar> Prawn actually looks not that bad.. smiler what do you mean with "internals" of the PDF format?
security is now known as baba
LnL has joined #ruby
<smiler> foofoobar: I mean how to layout the document, boxes and such.
love_color_text has joined #ruby
<foofoobar> smiler, in the prawn manual I can see that I can position elements with coordinates, or what do you mean?
<smiler> However I think it have some grid thingy built in for layout
<smiler> You'll probably want to declare bounding boxes for the text if you want it to flow correctly
<foofoobar> smiler, the PDF is just a one-pager
Xeago has joined #ruby
love_color_text has quit [Remote host closed the connection]
mockra has joined #ruby
love_color_text has joined #ruby
kreantos has joined #ruby
tonini has joined #ruby
kelabot has joined #ruby
haxrbyte has quit [Remote host closed the connection]
chussenot has joined #ruby
mockra has quit [Ping timeout: 248 seconds]
Spooner has joined #ruby
skroon_ has joined #ruby
arya has quit [Ping timeout: 240 seconds]
jprovazn has joined #ruby
k610 has joined #ruby
chussenot has left #ruby [#ruby]
tonini has quit [Ping timeout: 248 seconds]
brunoro has joined #ruby
skroon has quit [Ping timeout: 256 seconds]
arya has joined #ruby
afd__ has joined #ruby
bradhe has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
skroon_ is now known as skroon
earthquake has quit [Quit: earthquake]
mfridh has joined #ruby
bradhe has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
BizarreCake has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
alup has joined #ruby
rdark has joined #ruby
vikhyat has quit [Remote host closed the connection]
Kruppe has joined #ruby
icole has joined #ruby
arya has joined #ruby
ferdev has quit [Quit: ferdev]
tonini has joined #ruby
swex has quit [Read error: Connection reset by peer]
xlab_ has joined #ruby
arya_ has joined #ruby
charliesome has joined #ruby
xlab has quit [Read error: Connection reset by peer]
icole has quit [Ping timeout: 256 seconds]
swex has joined #ruby
LnL has quit [Quit: LnL]
arya has quit [Ping timeout: 252 seconds]
vikhyat has joined #ruby
pi3r has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
troessner has joined #ruby
camilasan has joined #ruby
timmow has quit [Remote host closed the connection]
rhannequin has joined #ruby
__alpaca_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
rhannequin has quit [Client Quit]
yashshah_ has joined #ruby
mahmoudimus has joined #ruby
tvw has joined #ruby
unflores has joined #ruby
Nanuq has quit [Read error: Operation timed out]
bluOxigen has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
Nanuq has joined #ruby
ToApolytoXaos has joined #ruby
__alpaca_ has quit [Ping timeout: 252 seconds]
rhannequin has joined #ruby
tonini has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
<bw_> hmm, is there something like pythons pep 249 (a unified api for databases) in ruby?
mootpointer has joined #ruby
Zai00 has joined #ruby
yashshah_ has quit [Ping timeout: 245 seconds]
yashshah_ has joined #ruby
ixti has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
emergion has joined #ruby
codezombie has joined #ruby
banjara has joined #ruby
blacktulip has joined #ruby
emergion has quit [Client Quit]
locriani has quit [Remote host closed the connection]
<troessner> bw_, AFAIK no
lemonsparrow has quit [Ping timeout: 245 seconds]
ferdev has joined #ruby
persand has quit [Ping timeout: 248 seconds]
camilasa_ has joined #ruby
fjwjfiewjfw has quit [Ping timeout: 252 seconds]
brianpWins has joined #ruby
<shevy> I am writing on a ruby-shell. any ideas what to add to it, what would be very cool?
<hoelzro> shevy: you mean a shell like bash?
<hoelzro> or like pry?
<shevy> hoelzro more like bash, yeah, though integrating pry-like behaviour would be rather cool too
persand has joined #ruby
hamakn has joined #ruby
<hoelzro> shevy: what's the underlying concept?
<shevy> I am just sometimes trying to get new ideas
<hoelzro> bash, but with Ruby as the scripting language?
<shevy> hoelzro haha :D my current concept is "total chaos, don't really have a real plan ..."
<shevy> hoelzro well... yeah... though perhaps I'll rewrite this in C one day
Kruppe has quit [Remote host closed the connection]
Kruppe has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
Kruppe has quit [Remote host closed the connection]
bradhe has joined #ruby
ixti has quit [Quit: WeeChat 0.4.0]
tonini has joined #ruby
elaptics`away is now known as elaptics
banjara has quit [Ping timeout: 264 seconds]
brianpWins has quit [Client Quit]
bluOxigen has quit [Ping timeout: 252 seconds]
marr has joined #ruby
callmeivan has joined #ruby
skattyadz has joined #ruby
vikhyat has quit [Remote host closed the connection]
mengu has joined #ruby
nari has joined #ruby
mneorr has joined #ruby
bluOxigen has joined #ruby
Proshot has joined #ruby
skattyadz_ has joined #ruby
<Hanmac> :D
bradhe has quit [Ping timeout: 276 seconds]
Rym has quit [Read error: Connection reset by peer]
<Hanmac> shevy image when you make a MRI binding for a lib that uses mruby internal ;P ... so you can use multible rubies ;P
skattyadz has quit [Ping timeout: 252 seconds]
skattyadz_ is now known as skattyadz
Rym has joined #ruby
soulofpeace has quit [Ping timeout: 256 seconds]
Proshot has quit [Client Quit]
soulofpeace has joined #ruby
slainer68 has joined #ruby
timmow has joined #ruby
niceguyjames has joined #ruby
h8R has quit [Ping timeout: 256 seconds]
aaronmcadam has joined #ruby
LennyLinux has joined #ruby
slainer6_ has joined #ruby
fixl has joined #ruby
daniel_- has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
<shevy> man
<shevy> my poor brain
<shevy> I need things to be simple :(
sayan has joined #ruby
graydot has joined #ruby
Gooder` has quit [Read error: Connection reset by peer]
Gooder` has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
psyprus has quit [Ping timeout: 258 seconds]
Proshot has joined #ruby
itman has quit [Ping timeout: 264 seconds]
wedgeV has quit [Ping timeout: 264 seconds]
psyprus has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
slainer68 has quit [Ping timeout: 256 seconds]
itman has joined #ruby
arya has joined #ruby
slainer6_ is now known as slainer68
mootpointer has quit [Quit: Computer has gone to sleep.]
sleetdrop has quit [Ping timeout: 256 seconds]
iaj_ has quit [Remote host closed the connection]
persand has quit [Ping timeout: 248 seconds]
iaj has joined #ruby
aaronmcada has joined #ruby
sleetdrop has joined #ruby
<shevy> mruby must replace lua !
aaronmcadam has quit [Ping timeout: 248 seconds]
d11wtq has quit [Ping timeout: 260 seconds]
wedgeV has joined #ruby
objectivemo_ has joined #ruby
<hoelzro> =(
forlin has joined #ruby
<hoelzro> why?
arya has quit [Ping timeout: 240 seconds]
objectivemo has quit [Ping timeout: 256 seconds]
objectivemo_ is now known as objectivemo
<shevy> hoelzro dunno... I dont wanna learn lua :P
<hoelzro> it takes like 10 minutes =)
<hoelzro> it's so simple
clocKwize has joined #ruby
persand has joined #ruby
banjara has joined #ruby
<shevy> hmm... is a yaml file of byte size 162759 huge? it has key: value syntax... a hash... it seems that takes a little to read in instantly, from within a .rb file
Cultofmetatron has quit [Remote host closed the connection]
timmow has joined #ruby
schickung has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
<shevy> ok, I think it is... I just changed something and indeed, my loop {} that reads in user input is super fast suddenly
kaffepanna has quit [Quit: leaving]
backjlack has joined #ruby
mootpointer has joined #ruby
arya has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
freeayu__ has joined #ruby
nomenkun has joined #ruby
<shevy> ok got a specific question now
happydude has joined #ruby
<shevy> ignore the aliases for a moment
<shevy> all these methods are repetitive
<shevy> hmmmm
freeayu has quit [Ping timeout: 264 seconds]
<shevy> or wait, let me simplify
<shevy> http://pastie.org/pastes/7701888/text ok better now, only two methods
<shevy> how could I go about creating them dynamically?
banjara has quit [Ping timeout: 252 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
Elhu has joined #ruby
camilasa_ has quit [Remote host closed the connection]
io_syl has joined #ruby
jcrawford has quit [Ping timeout: 245 seconds]
sebastianb has quit [Ping timeout: 246 seconds]
arya has quit [Ping timeout: 248 seconds]
kelabot has quit [Remote host closed the connection]
kornnflake has quit [Ping timeout: 264 seconds]
assurbanipal has joined #ruby
kornnflake has joined #ruby
<injekt> shevy: they're all identical?
havenwood has quit [Remote host closed the connection]
jcrawford has joined #ruby
nari has quit [Ping timeout: 246 seconds]
Gooder`` has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
arya has joined #ruby
sebastianb has joined #ruby
aaronmcada has quit [Quit: Linkinus - http://linkinus.com]
aaronmcadam has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Gooder` has quit [Ping timeout: 256 seconds]
k610 has joined #ruby
arya has quit [Ping timeout: 252 seconds]
sayan has quit [Ping timeout: 256 seconds]
spider-mario has joined #ruby
sonne has quit [Ping timeout: 255 seconds]
chandankumar has quit [Quit: Leaving]
divout has quit [Remote host closed the connection]
sonne has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
rakl has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
browndawg has joined #ruby
jovy88 has joined #ruby
ehellman has quit [Quit: ehellman]
JonnieCache has joined #ruby
<shevy> injekt yeah!
<injekt> shevy: so just define one and use aliases?
<shevy> oh?
<shevy> hmm
<shevy> oh :)
<injekt> why would you define more than one method that did the exact same thing
<injekt> :P
<shevy> hahahaha
<shevy> yeah injekt I dont know now!
bradhe has joined #ruby
<shevy> now it seems rather obvious hahaha
<injekt> :)
divout has joined #ruby
gyre007 has joined #ruby
hasse has joined #ruby
sonne has quit [Ping timeout: 260 seconds]
<hasse> Is there a good gem for parsing PDF files? I wanna extract the text
brunoro has quit [Ping timeout: 256 seconds]
RagingDave has joined #ruby
banjara has joined #ruby
a_a_g has quit [Quit: This computer has gone to sleep]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
<injekt> hasse: pdf-reader
chandankumar has joined #ruby
Macaveli has joined #ruby
<hasse> injekt: Yeah I tried that but I got this error: http://pastie.org/private/fufcyvttenglhkxlxanzkq
sander^work has joined #ruby
<sander^work> Where is the gemfile normally located?
<injekt> hasse: Odd, I would file a bug
<injekt> sander^work: at the top level of the project
<LennyLinux> sander^work: are you talking about Rails?
mootpointer has quit [Quit: Computer has gone to sleep.]
<injekt> hasse: there's pdf2text but you might have to shell out to it
<hasse> injekt: I think I will give docsplit a try (http://documentcloud.github.io/docsplit)
<injekt> hasse: if you have pdftk installed you can use pdf-toolkit
<injekt> hasse: ah yeah I've seen that before, give it a go :)
aspiers has joined #ruby
aspiers has quit [Client Quit]
aspiers has joined #ruby
timmow_ has joined #ruby
banjara has quit [Ping timeout: 264 seconds]
k611 has joined #ruby
xardas has joined #ruby
lkba has joined #ruby
monkegjinni has joined #ruby
k610 has quit [Ping timeout: 256 seconds]
<sander^work> injekt, LennyLinux: i'm trying to install vagrant with: gem install bundler; bundle install .. Seems like I just needed to change location to where the project was.
sayan has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
MisterPostIT has joined #ruby
<LennyLinux> sander^work: that kind of installation is deprecated. You should use the proper package taken from the vagrant web site
hamakn has quit [Remote host closed the connection]
<LennyLinux> I mean... If you want the last releases
Gooder``` has joined #ruby
yugui is now known as yugui_zzz
sayan has quit [Read error: Connection reset by peer]
goganchic has joined #ruby
rhannequin has quit [Ping timeout: 245 seconds]
includex has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
happydude has quit [Quit: Leaving]
Gooder`` has quit [Ping timeout: 256 seconds]
blaxter_ has joined #ruby
jbpros has quit [Ping timeout: 264 seconds]
hamakn has joined #ruby
arya has joined #ruby
pietr0 has quit [Ping timeout: 252 seconds]
RubyPanther has quit [Ping timeout: 260 seconds]
includex has quit [Quit: Leaving...]
akashj87 has joined #ruby
tonini has quit [Remote host closed the connection]
lmf40 has joined #ruby
RubyPanther has joined #ruby
marr has quit []
marr has joined #ruby
arya has quit []
camilasan has joined #ruby
Giorgio has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
icecandy has joined #ruby
aaronmcadam has joined #ruby
banjara has joined #ruby
aaronmcadam has quit [Client Quit]
ephemerian has joined #ruby
goganchic has left #ruby [#ruby]
clocKwize has quit [Quit: clocKwize]
foofoobar has quit [Quit: Computer has gone to sleep.]
pietr0 has joined #ruby
hasse has quit [Ping timeout: 245 seconds]
skattyadz has quit [Quit: skattyadz]
__alpaca_ has joined #ruby
sayan has joined #ruby
MrZYX|off is now known as MrZYX
clocKwize has joined #ruby
havenwood has joined #ruby
<sander^work> gem install json ... fails on: make: *** [generator.o] Error 1. How can I install it?
<sander^work> I have installed the ruby development kit
<sander^work> Oh, and i'm on windows atm.
arya has joined #ruby
soulofpeace has quit [Ping timeout: 252 seconds]
<sander^work> I need a c compiler I belive.
__alpaca_ has quit [Ping timeout: 264 seconds]
philcrissman has quit [Read error: Connection reset by peer]
soulofpeace has joined #ruby
Morkel has quit [Quit: Morkel]
philcrissman has joined #ruby
Targen has quit [Remote host closed the connection]
banjara has quit [Ping timeout: 264 seconds]
miso1337 has quit [Quit: afk]
jdunck has quit [Quit: Computer has gone to sleep.]
baba is now known as cod3r
thone has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
arya has quit [Ping timeout: 248 seconds]
Chatty has joined #ruby
tundrax has quit [Remote host closed the connection]
<Spooner> sander^work, You don't need the json gem any more; it is in the standard library.
Chatty has quit [Client Quit]
peta_ has joined #ruby
<Spooner> sander^work, The dev kit includes the mingw c compiler, so it should work anyway though.
nari has joined #ruby
rton has joined #ruby
Gooder``` has quit [Ping timeout: 252 seconds]
theRoUS has joined #ruby
thone has quit [Ping timeout: 248 seconds]
Macaveli has quit [Read error: Connection reset by peer]
rton has left #ruby [#ruby]
arya has joined #ruby
<sander^work> Spooner, Yeah.. Your right. But it seems like both "gem install json" and "bundle install" fails with the same error: make: *** [generator.o] Error 1.
Macaveli has joined #ruby
<Spooner> sander^work, You installed the right dev-kit for your version of Ruby?
bradhe has joined #ruby
<sander^work> Spooner, I got told to install ruby 1.9. but I installed devkit-mingw64-64
<sander^work> Spooner, Which one is right?
<Spooner> No, the mingw64 devkit is only for the 2.0 x64 build.
<sander^work> Spooner, so I need the tdm one?
<Spooner> You want Ruby1.9.3 + DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
<Spooner> Yes.
yashshah_ has quit [Ping timeout: 252 seconds]
<Spooner> It isn't terribly clear, I must admit. The 64-bit build is very new though; always used to be just 32 bit builds.
<sander^work> Spooner, how do I uninstall the mingw64 one?
<joshu> can anyone please suggest any good video tutorials on ruby which also cover testing
<Spooner> You shouldn't need to uninstall it. It probably won't have added itself to your 32bit Ruby.
<sander^work> Spooner, I'll try :-)
<Spooner> Otherwise, I'd completely reinstall 1.9.3 and then install the 32bit dev kit. Hopefully won't need to though.
postmodern has quit [Quit: Leaving]
nari has quit [Ping timeout: 252 seconds]
sonne has joined #ruby
<Spooner> Ah, they do have a section: Which development kit? on http://rubyinstaller.org/downloads/
bradhe has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
soulofpeace has quit [Ping timeout: 246 seconds]
nari has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
droppedonmyhead has joined #ruby
soulofpeace has joined #ruby
<sander^work> Spooner, It says: skipping existing gem and devkit helper library
thone has joined #ruby
<sander^work> When I issue the install command.
<Spooner> Hmm. In the bin and start again then ;)
d11wtq has joined #ruby
<Spooner> It really should know where to put the kit though. I haven't played with the new versions on Windows yet.
callmeivan_ has joined #ruby
browndawg has quit [Quit: Leaving.]
<sander^work> Spooner, i'm reinstalling ruby
Michael has joined #ruby
Michael is now known as Guest27158
callmeivan has quit [Ping timeout: 252 seconds]
callmeivan_ is now known as callmeivan
chandankumar has quit [Quit: Leaving]
sayan has quit [Ping timeout: 256 seconds]
thone has quit [Ping timeout: 264 seconds]
<Hanmac> shevy do you know what is more worse than "pro-islamic"? "pro-geography" ;P
dankest has quit [Quit: Leaving...]
timmow_ has joined #ruby
aaronmcadam has joined #ruby
<hoelzro> ...
<hoelzro> ah, satire.
<hoelzro> thank god.
foofoobar has joined #ruby
_bart has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
<sander^work> Spooner, sweet. Works now. Thanks alot :-)
Macaveli has quit [Quit: This computer has gone to sleep]
aaronmcadam has quit [Client Quit]
love_color_text has joined #ruby
<Hanmac> hoelzro: i am not 100% sure ;P ...
skroon has quit [Ping timeout: 264 seconds]
banjara has joined #ruby
<shevy> hehehe
huoxito has joined #ruby
F1skr has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
a_a_g has joined #ruby
chase-work has joined #ruby
backjlack has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
includex has joined #ruby
arya has joined #ruby
daniel_- has quit [Ping timeout: 245 seconds]
backjlack has joined #ruby
tommyvyo has joined #ruby
haxrbyte has joined #ruby
skattyadz has joined #ruby
<shevy> Hanmac I want to have a virtual machine in pure ruby, where I can control the whole OS, everything, through ruby
<shevy> I dont want to be handicapped by foreign APIs
<Zelest> VM.new
<Zelest> :D
includex has quit [Client Quit]
gabrielrotbart has joined #ruby
<JonnieCache> >> puts RubyVM.new
<eval-in> JonnieCache => /tmp/execpad-6f8185001c11/source-6f8185001c11:2:in `<main>': undefined method `new' for RubyVM:Class (NoMethodError) (http://eval.in/17274)
<JonnieCache> boo
<JonnieCache> not the kind of VM youre talking about anyway :)
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
dhruvasa1ar has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
skattyadz has quit [Ping timeout: 246 seconds]
skroon has joined #ruby
hamakn has joined #ruby
banjara has quit [Ping timeout: 252 seconds]
Guest27158 has quit [Remote host closed the connection]
ananthakumaran has quit [Ping timeout: 252 seconds]
ttt has quit [Read error: Connection reset by peer]
ttt has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
<Hanmac> JonnieCache:
<Hanmac> >> ObjectSpace.each_object(Class).select {|c| !c.respond_to?(:new)}
<eval-in> Hanmac => [Complex, Rational, Thread::Backtrace::Location, Thread::Backtrace, RubyVM::Env, RubyVM, Binding, UnboundMethod, Method, Process::Status, MatchData, Bignum, Float, Fixnum, Integer, Symbol, Encoding, Fa ... (http://eval.in/17275)
io_syl has quit [Quit: Computer has gone to sleep.]
monkegji_ has joined #ruby
jnoob22 has joined #ruby
skattyadz has joined #ruby
whowantstolivefo has joined #ruby
daniel_- has joined #ruby
monkegjinni has quit [Ping timeout: 255 seconds]
love_color_text has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
love_color_text has joined #ruby
dr_bob has quit [Read error: Connection reset by peer]
duosrx has joined #ruby
nari has quit [Ping timeout: 256 seconds]
<charliesome> Hanmac: because who cares about LSP right
peta_ has quit [Quit: peta_]
<charliesome> shevy: is javascript an acceptable substitute?
sayan has joined #ruby
browndawg has joined #ruby
tagrudev has quit [Remote host closed the connection]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
evenix has joined #ruby
tommyvyo has quit [Quit:]
guiambros has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
enriclluelles has joined #ruby
<hoelzro> JS? gorss.
<hoelzro> gross, even.
<JonnieCache> here's my opinion of js:
<JonnieCache> [] instanceof Object # true
<JonnieCache> {} instanceof Object # false
<JonnieCache> fuck you javascript
thone has joined #ruby
pi3r has quit [Quit: Leaving]
havenwood has quit [Ping timeout: 264 seconds]
Domon has quit [Remote host closed the connection]
lmf40_ has joined #ruby
<Hanmac> JonnieCache: or in php: 0 is false, "0" is false, 0.0 is false, "0.0" is true
slainer68 has quit [Remote host closed the connection]
lmf40 has quit [Read error: Connection reset by peer]
<charliesome> JonnieCache: the second one is actually a syntax error
<JonnieCache> fuck this
<charliesome> ugh get your facts straight! :p
<JonnieCache> yeah sorry
<JonnieCache> thats even worse isnt it really
<JonnieCache> i hate computers
banjara has joined #ruby
thone has quit [Ping timeout: 256 seconds]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
<JonnieCache> im going to go and live in a tree
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
skoovdebo has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
thone has joined #ruby
<Hanmac> JonnieCache: in a binary tree ? ;P
backjlack has quit [Read error: Connection reset by peer]
backjlack has joined #ruby
aaronmcadam has joined #ruby
allanm_ has quit [Read error: Connection reset by peer]
rdark has joined #ruby
<AndChat-> Hammack
rcs is now known as 16SAA533U
aaronmcadam has quit [Remote host closed the connection]
aaronmcadam has joined #ruby
rickmasta has quit [Quit: Leaving...]
hogeo has quit [Remote host closed the connection]
thone has quit [Ping timeout: 245 seconds]
pagios has joined #ruby
mootpointer has joined #ruby
thone has joined #ruby
cod3r_ has joined #ruby
cod3r has quit [Ping timeout: 245 seconds]
arya__ has joined #ruby
skroon has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
skroon has joined #ruby
arya has quit [Ping timeout: 255 seconds]
miso1337 has joined #ruby
arya has joined #ruby
banjara has quit [Ping timeout: 252 seconds]
persand has quit [Ping timeout: 252 seconds]
thone has quit [Ping timeout: 252 seconds]
greenarrow has quit [Read error: Connection reset by peer]
greenarrow has joined #ruby
pi3r has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
arya__ has quit [Ping timeout: 276 seconds]
chipotle_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
coderhut has joined #ruby
arya has joined #ruby
Macaveli has joined #ruby
soulofpeace has quit [Ping timeout: 276 seconds]
skattyadz has quit [Quit: skattyadz]
ShapeShifter499 has quit [Ping timeout: 264 seconds]
gabrielrotbart has quit [Remote host closed the connection]
slainer68 has joined #ruby
mneorr has quit [Remote host closed the connection]
mootpointer has quit [Quit: Computer has gone to sleep.]
backjlack has quit [Remote host closed the connection]
monkegjinni has joined #ruby
ShapeShifter499 has joined #ruby
heftig has joined #ruby
BadQuanta has quit [Quit: Leaving]
mootpointer has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
backjlack has joined #ruby
Speed has quit [Quit: leaving]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
timmow_ has joined #ruby
hiyakashi has joined #ruby
jamesaxl has joined #ruby
Trancer has joined #ruby
hogeo has joined #ruby
_64k has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
hogeo has quit [Remote host closed the connection]
thone has joined #ruby
ryanhirsch has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
chipotle_ has quit [Quit: cya]
vikhyat has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
echevemaster has quit [Read error: Connection timed out]
slippyd has joined #ruby
Elhu has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
thone has quit [Ping timeout: 264 seconds]
clocKwize has quit [Quit: clocKwize]
kofno has joined #ruby
aef has joined #ruby
slippyd has quit [Client Quit]
moos3 has joined #ruby
Elhu has quit [Read error: Connection reset by peer]
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby
awestroke has joined #ruby
slippyd has joined #ruby
JonnieCache has quit [Quit: Reconnecting]
JonnieCache has joined #ruby
awestroke has quit [Remote host closed the connection]
dhruvasa1ar has quit [Ping timeout: 260 seconds]
awestroke has joined #ruby
banjara has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dhruvasagar has joined #ruby
clocKwize has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
monkegjinni has quit [Ping timeout: 240 seconds]
krz has quit [Quit: krz]
angusiguess has joined #ruby
<nfk> let's say I have a method "drives" that returns cars registered with the user and I want a method to add another car to that list, should I use a setter or a differently named method like add_a_car?
dr_bob has joined #ruby
monkegjinni has joined #ruby
<elaptics> nfk: I would go with an explicitly named method like add_a_car
<waxjar> either expose the list of cars or provide a add_car method (probably best, gives you most flexibility)
monkegji_ has joined #ruby
<nfk> meh, i guess that will be cleaner in the long run like if ever need a method to remove a car from the list
enriclluelles has quit [Remote host closed the connection]
kristofers has joined #ruby
tbrock_ has quit [Quit: Textual IRC Client: www.textualapp.com]
yshh has quit [Remote host closed the connection]
daniel_- has quit [Ping timeout: 256 seconds]
banjara has quit [Ping timeout: 245 seconds]
monkegjinni has quit [Ping timeout: 256 seconds]
Macaveli has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
m8 has joined #ruby
hogeo has joined #ruby
havenwood has joined #ruby
dr_bob has quit [Ping timeout: 240 seconds]
arya has quit [Ping timeout: 248 seconds]
cod3r_ has quit [Quit: WeeChat 0.4.0]
eka has joined #ruby
lufi is now known as zz_lufi
arya has joined #ruby
aki1 has quit [Ping timeout: 252 seconds]
gaahrdner has joined #ruby
moos3 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
pskosinski has joined #ruby
dkannan has quit [Ping timeout: 256 seconds]
aki1 has joined #ruby
wallerdev has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
mikestok has joined #ruby
zz_lufi is now known as lufi
renanoronfle__ has joined #ruby
hmarr has joined #ruby
angusiguess has joined #ruby
a_S has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
jamescarr has joined #ruby
nveselinov has joined #ruby
jamescarr has quit [Client Quit]
gaahrdner has quit [Remote host closed the connection]
divout has quit [Quit: Leaving.]
invisime has joined #ruby
yalue has joined #ruby
invisime has left #ruby [#ruby]
miso1337 has quit [Quit: afk]
invisime has joined #ruby
haxrbyte_ has joined #ruby
a_S has quit [Quit: Textual IRC Client: www.textualapp.com]
bradhe has joined #ruby
pskosinski has quit [Remote host closed the connection]
geekbri has joined #ruby
mark_locklear has joined #ruby
pskosinski has joined #ruby
haxrbyte has quit [Ping timeout: 264 seconds]
leonidlm has joined #ruby
a_S has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
banjara has joined #ruby
jnoob22 has quit [Remote host closed the connection]
jamescarr has joined #ruby
a_S has quit [Client Quit]
pioz has joined #ruby
renanoronfle__ has quit [Quit: This computer has gone to sleep]
monkegji_ has quit [Remote host closed the connection]
hasse has joined #ruby
subbyyy has joined #ruby
monkegjinni has joined #ruby
jnoob22 has joined #ruby
chipotle_ has joined #ruby
osvico has joined #ruby
monkegjinni has quit [Remote host closed the connection]
gaahrdner has joined #ruby
mikestok has quit [Quit: Computer has gone to sleep.]
pietr0 has quit [Ping timeout: 255 seconds]
haxrbyte_ has quit [Remote host closed the connection]
haxrbyte has joined #ruby
RubyPanther has quit [Ping timeout: 260 seconds]
timmow_ has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
nari has joined #ruby
monkegjinni has joined #ruby
sambao21 has joined #ruby
slippyd has quit [Remote host closed the connection]
slippyd has joined #ruby
graeme has joined #ruby
banjara has quit [Ping timeout: 255 seconds]
pioz has quit [Quit: Leaving]
rdark has quit [Ping timeout: 264 seconds]
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
RonScagz has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
polymar has joined #ruby
polymar has quit [Remote host closed the connection]
rdark has joined #ruby
polymar has joined #ruby
rakl has quit [Ping timeout: 252 seconds]
renanoronfle__ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
RubyPanther has joined #ruby
wallerdev has quit [Quit: wallerdev]
gaahrdner has quit [Remote host closed the connection]
rakl has joined #ruby
IrishGringo has joined #ruby
chipotle_ has quit [Quit: cya]
pietr0 has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
spike|spiegel has joined #ruby
tommyvyo has quit [Quit:]
heidar has quit [Read error: Connection reset by peer]
heisenmink has joined #ruby
ioNull has joined #ruby
pcarrier has quit [Ping timeout: 252 seconds]
Astral_ has quit [Read error: Connection reset by peer]
greenarrow has quit [Read error: Connection reset by peer]
Astral_ has joined #ruby
greenarrow has joined #ruby
DrCode has quit [Ping timeout: 276 seconds]
callmeivan_ has joined #ruby
sambio has joined #ruby
cod3r has joined #ruby
cod3r is now known as Guest34392
Guest34392 has quit [Client Quit]
awestroke has quit [Ping timeout: 276 seconds]
sailias1 has joined #ruby
callmeivan has quit [Ping timeout: 252 seconds]
callmeivan_ is now known as callmeivan
mikestok has joined #ruby
baba has joined #ruby
Macaveli has joined #ruby
theRoUS has quit [Ping timeout: 255 seconds]
DrCode has joined #ruby
coderhut has quit [Quit: Page closed]
pcarrier has joined #ruby
heidar has joined #ruby
chipotle_ has joined #ruby
schickung has quit [Quit: schickung]
chipotle_ has quit [Client Quit]
generali_ has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
yashshah has joined #ruby
banjara has joined #ruby
newUser1234 has joined #ruby
peta_ has joined #ruby
__alpaca_ has joined #ruby
h8R has joined #ruby
nari has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby
ZachBeta has joined #ruby
thone has joined #ruby
nezumi has quit [Ping timeout: 252 seconds]
mercwithamouth has joined #ruby
mneorr has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 255 seconds]
yshh has joined #ruby
jamescarr has quit [Quit: jamescarr]
ZachBeta has quit [Client Quit]
mmitchell has joined #ruby
__alpaca_ has quit [Ping timeout: 246 seconds]
breakingthings has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
pcarrier has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 276 seconds]
Targen has joined #ruby
freeayu3 has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
thone has quit [Ping timeout: 252 seconds]
xcv has joined #ruby
banjara has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
jerius has joined #ruby
yshh has quit [Ping timeout: 252 seconds]
ttt has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 256 seconds]
csaunders has joined #ruby
daniel_- has joined #ruby
_nitti has joined #ruby
marcgg_ has joined #ruby
clocKwize has quit [Quit: clocKwize]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
jgarvey has joined #ruby
marcgg has quit [Ping timeout: 256 seconds]
kofno has quit [Remote host closed the connection]
tommyvyo has joined #ruby
bradhe has joined #ruby
kofno has joined #ruby
philcrissman has quit [Read error: Connection reset by peer]
daniel_- has quit [Ping timeout: 258 seconds]
philcrissman has joined #ruby
amarraja has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
fermion has joined #ruby
jnoob22 has quit [Ping timeout: 255 seconds]
wolcanus has joined #ruby
gosshedd has quit [Ping timeout: 256 seconds]
wolcanus has quit [Remote host closed the connection]
love_color_text has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 260 seconds]
wolcanus has joined #ruby
gosshedd has joined #ruby
oneirophren has joined #ruby
enriclluelles has joined #ruby
PigDude has joined #ruby
grn_ is now known as grn
jtharris has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
EPIK has quit [Ping timeout: 264 seconds]
daniel_- has joined #ruby
mercwithamouth has joined #ruby
jamesaxl__ has joined #ruby
senayar has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
pcboy_ has quit [Remote host closed the connection]
jamesaxl has quit [Ping timeout: 256 seconds]
dshultz has joined #ruby
chrishunt has joined #ruby
dshultz has quit [Remote host closed the connection]
dshultz has joined #ruby
clocKwize has joined #ruby
elux has joined #ruby
dshultz has quit [Client Quit]
wmoxam has joined #ruby
Spooner has quit [Remote host closed the connection]
danshultz has joined #ruby
jnoob22 has joined #ruby
monkegjinni has joined #ruby
timmow_ has joined #ruby
monkegjinni is now known as gungor
wesside has joined #ruby
gungor has quit [Read error: Connection reset by peer]
gungor_ has joined #ruby
hesco has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
graydot has quit [Quit: graydot]
hesco has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
akhet has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
banjara has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
gaahrdner has joined #ruby
rakl has quit [Quit: sleeping]
gosshedd has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
yshh has joined #ruby
chase-work has joined #ruby
fedza has joined #ruby
hesco has quit [Ping timeout: 256 seconds]
gosshedd has joined #ruby
k611 has quit [Ping timeout: 255 seconds]
yshh has quit [Read error: Connection reset by peer]
girija has quit [Ping timeout: 252 seconds]
kpshek has joined #ruby
yshh has joined #ruby
cmarques has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
divout has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
baba has quit [Ping timeout: 255 seconds]
nessib has joined #ruby
nanothief has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
pcarrier has joined #ruby
codecop has quit [Remote host closed the connection]
wagster has joined #ruby
hesco has joined #ruby
banjara has quit [Ping timeout: 264 seconds]
mercwithamouth has quit [Ping timeout: 255 seconds]
Deele has joined #ruby
<Deele> hello
<Deele> could someone help me
<MrZYX> maybe
ffranz has joined #ruby
<Deele> I have stumbled upon error
tk_ has joined #ruby
<Deele> not really error, but bug
<Deele> when field in app is html special chars escaped
<MrZYX> you're talking about rails?
<Deele> redmine
foofoobar has quit [Quit: Computer has gone to sleep.]
<Deele> app is redmin
Speed has quit [Quit: Lost terminal]
failshell has joined #ruby
adamjleonard has joined #ruby
Macaveli has joined #ruby
<whowantstolivefo> which is the good choose for a person who has no too much programming background ? rails or sinatra ? or from what should i learn web development with ruby ?
<tobiasvl> whowantstolivefo: i'd recommend sinatra
<tobiasvl> it's pretty simple
<tobiasvl> rails is pretty massive (and powerful, but hard to learn for a beginner)
mindaugasmozuras has joined #ruby
Iszak has joined #ruby
mindaugasmozuras is now known as mmozuras
<whowantstolivefo> tobiasvl: maybe 1-2 month i looked rails and i got stuck into every problems
<whowantstolivefo> today i looked what've learned but it didnt make me satisfy this is why i think it is very hard
<tobiasvl> yes
<whowantstolivefo> because i work in hospital IT office and only spend free times with ruby
schickung has joined #ruby
Deele has quit [Ping timeout: 245 seconds]
ariedler has joined #ruby
<Hanmac> whowantstolivefo: you should learn ruby first before you touch rails or sinatra
<Hanmac> i have saw someones that does it backwarts and they failed
<whowantstolivefo> Hanmac: i downloaded pragmatic rails books and take a look of them
Speed has joined #ruby
Speed has joined #ruby
Speed has quit [Changing host]
* MrZYX did it backwards tbh
gosshedd has quit [Ping timeout: 258 seconds]
<Hanmac> hm yeah they might be to rails specific ...
<ericwood> knowing ruby will help tremendously
<ericwood> and ruby is awesome so you win!
jamescarr has joined #ruby
<ericwood> you want to win, don't you? :)
supernullset has joined #ruby
<tobiasvl> good sinatra book
<whowantstolivefo> Hanmac: i read some of books for beginner , should i digg it more after i will again start web apps ?
<tobiasvl> but yes, learn ruby first
supernullset has quit [Remote host closed the connection]
<whowantstolivefo> tobiasvl: ! i will keep reading books then ? about ruby ?
<tobiasvl> if … if you want
io_syl has joined #ruby
<whowantstolivefo> i want learn Ruby!~
<ericwood> just go do the codeacademy ruby course
mklappst_ has joined #ruby
gosshedd has joined #ruby
<LennyLinux> I like The Ruby Programming Language
<tobiasvl> yes, it's very good
<tobiasvl> co-written by the creator of ruby
uris has joined #ruby
<whowantstolivefo> i finished ruby courses
<tobiasvl> and pictures by why :')
* Hanmac learned ruby without book ...
Macaveli has quit [Read error: Connection reset by peer]
<whowantstolivefo> you guys right coz whenever i jumped rails or anything so , next months i get fail and it hurt my heart because of i spend too many times
<joshu> out of the different ruby courses treehouse, code school, code academy what you do guys recommend
mercwithamouth has joined #ruby
<whowantstolivefo> except treehouse i looked codeschool and code academy
<whowantstolivefo> both are brilliant
sleetdrop has joined #ruby
<joshu> ok thanks whowantstolivefo
sleetdrop has quit [Max SendQ exceeded]
skattyadz has joined #ruby
thone has joined #ruby
<whowantstolivefo> joshu: i have accounts with the same name at there it is fun to work with these courses
arturaz has quit [Ping timeout: 256 seconds]
sleetdrop has joined #ruby
codenapper has joined #ruby
<LennyLinux> I've learnt some of ror and made an app in 25 days for my internship with docs from http://rubyonrails.org/ and ryan batehttp://railscasts.com/
<joshu> ok I'll give them a try I want to improve my ruby fundamentals as so far I've just been putting things together after googling and asking questions, but I want a better understanding
<MrZYX> whowantstolivefo: what do you actually mean by "failed", have a project and can't finish it?
<whowantstolivefo> LennyLinux: are you genious or we have no even little genious ? :)
k611 has joined #ruby
graydot has joined #ruby
<whowantstolivefo> MrZYX: i m old web designer! but last 4 year i work as manager in IT office at big hospital
<LennyLinux> whowantstolivefo: i'm an average student
<whowantstolivefo> i want to learn and do my web stuff with ruby and web programmings because i have many ideas but noone around me for do this.
graydot has quit [Client Quit]
<LennyLinux> whowantstolivefo: where are you from?
<whowantstolivefo> LennyLinux: i looked ruby and rails more then you looked, i feel so bad myself now
havenwood has joined #ruby
freeayu3 has quit [Remote host closed the connection]
celinedior has joined #ruby
<whowantstolivefo> LennyLinux: i live in Turkey
<MrZYX> did you try to just pick the smallest one and then researching and learning what you need for it instead of trying to learn everything there is upfront?
<LennyLinux> whowantstolivefo: give a look at railscasts, it's really useful
newUser1234 has quit [Remote host closed the connection]
<whowantstolivefo> MrZYX: !~! that is the problem of me!
ph^ has quit [Ping timeout: 252 seconds]
<whowantstolivefo> MrZYX: i want to learn and get confuse day by day and a few months later, i closed everything
<LennyLinux> Choose an app and learn what you need to build that app
<whowantstolivefo> LennyLinux: i will be more carefull about rails casts but you guys tell me first ruby after sinatra or rails
<LennyLinux> That could be a way
<LennyLinux> Yes, first ruby.
billycravens has quit [Quit: billycravens]
<MrZYX> In my experience learning languages and frameworks is a lot easier if you have an actual task you really want to do, there's no shame to start over a few times in the process
<whowantstolivefo> LennyLinux: i have a basic web site www.malikaslan.com this is my wife's page. she is learning graphic design and static web design last 7-8 months.. i want programming her web pages and stuff and help her :_
camilasan has joined #ruby
<whowantstolivefo> :)
<LennyLinux> :)
robmuh has joined #ruby
generalissimo has joined #ruby
<whowantstolivefo> my wife is learning more faster than me , am i stupid ? haha
jerius_ has joined #ruby
<spider-mario> can’t be said without knowing your wife’s intelligence
<robmuh> anyone know of a 'headless' Rails approach that let's you leverage db models without the web? (sorry for the cross if you are on #rails, no response there)
Davey has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
<LennyLinux> robmuh: have tried on #rubyonrails?
<LennyLinux> you*
<whowantstolivefo> me and my wife get married in july 24 2011 and my wife started to use computer and start design at the same time like 2012 end of august... now she is doing stuff as amateur at www.malikaslan.com
rdark has quit [Ping timeout: 276 seconds]
<robmuh> LennyLinux, will try, thanks
<MrZYX> robmuh: do you mean an ORM? https://www.ruby-toolbox.com/categories/orm
sayan has joined #ruby
<robmuh> yeah, thanks MrZYX
jerius has quit [Ping timeout: 264 seconds]
jerius_ is now known as jerius
lkba has joined #ruby
rdark has joined #ruby
robert___ is now known as robert_
miso1337 has joined #ruby
_nitti has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
arubin has joined #ruby
felixjet_ has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
__main__ has quit [Ping timeout: 264 seconds]
johnnyfuchs has joined #ruby
BadLarry has left #ruby ["Leaving"]
ariedler has quit [Remote host closed the connection]
banjara has joined #ruby
rodacato has joined #ruby
__main__ has joined #ruby
johnnyfuchs1 has joined #ruby
johnnyfuchs1 has left #ruby [#ruby]
Coolhand has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
pduin has quit [Remote host closed the connection]
Coolhand has joined #ruby
wesside_ has joined #ruby
pduin has joined #ruby
<LennyLinux> What's the less boring way to test?
ttt has joined #ruby
<ericwood> not testing
<LennyLinux> Besides that :D
<tos9> LennyLinux: Juggle while doing so.
uris has quit [Ping timeout: 258 seconds]
<LennyLinux> And what do you use to test, rspec?
frem has joined #ruby
<Hanmac> LennyLinux: i use test-unit (the newer one)
bluOxigen has joined #ruby
axl_ has joined #ruby
Giorgio has quit [Read error: Operation timed out]
nateberkopec has joined #ruby
Deele has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
adkron_ has joined #ruby
<Deele> hmm
banjara has quit [Ping timeout: 268 seconds]
<Deele> I lost connection
teddyp1cker has joined #ruby
geekbri has quit [Read error: Connection reset by peer]
ttt has quit [Ping timeout: 256 seconds]
geekbri has joined #ruby
enebo has joined #ruby
<injekt> minitest
<ericwood> gianttest
miso1337 has quit [Quit: afk]
adkron has quit [Ping timeout: 256 seconds]
mengu has joined #ruby
AllStruck has quit [Read error: Operation timed out]
<shevy> middletest
hasse has quit [Ping timeout: 245 seconds]
<lectrick> Does an at_exit in a require get run when that file is done being required, or when the file requiring it is done running?
<Hanmac> bigger-than-middle-but-smaller-than-giant-test-test
<LennyLinux> Hanmac: thanks
<LennyLinux> I'll give a look at minitest
<LennyLinux> then middletest xD
<injekt> lectrick: its ran.. at exit
AllStruck has joined #ruby
RORgasm has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
<lectrick> injekt: so this is not a mechanism to run code that fires up a daemon, then?
slainer6_ has joined #ruby
SCommette has joined #ruby
timmow_ has joined #ruby
<Hanmac> lectrick: look at Process.daemon
nezumi has joined #ruby
__main__ has quit [Ping timeout: 256 seconds]
Deele has quit [Ping timeout: 245 seconds]
enriclluelles has quit [Read error: Connection reset by peer]
enricllu_ has joined #ruby
slainer68 has quit [Ping timeout: 258 seconds]
felixjet has joined #ruby
tootubular has joined #ruby
ariedler has joined #ruby
vikhyat has quit [Remote host closed the connection]
uris has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
__main__ has joined #ruby
bean has joined #ruby
aganov has quit [Remote host closed the connection]
BinaryMaster has quit [Quit: Bye loves see you again soon!]
bakingbread has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
LnL has joined #ruby
sailias1 has quit [Quit: Leaving.]
sailias has joined #ruby
marwinism has joined #ruby
GOMADWarrior has joined #ruby
danshultz has quit [Remote host closed the connection]
newUser1234 has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
locriani has joined #ruby
<wmoxam> I've got a ruby script thats supposed to do bundle updates in a list of projects, but it seems that bundler environment variables prevent this
jgrau has joined #ruby
__main__ has quit [Ping timeout: 252 seconds]
<shevy> ^^^ Hanmac can fix that
<shevy> he loves bundler
lsone has joined #ruby
<Joel> I want to make sure I'm reading this correctly, I have class B, which extendes class A. Class A has a method hello, in B I can't override the hello method, correct?
chandankumar has joined #ruby
miso1337 has joined #ruby
<MrZYX> no, you can overwrite the method
jgrau has quit [Remote host closed the connection]
<shevy> Joel u can always overwrite
Gabri has joined #ruby
<shevy> this is sparta!
<shevy> this is ruby
<shevy> not java :D
* shevy overwrites MrZYX with MrXYZ
jdripper has joined #ruby
<MrZYX> but that statement in particular is valid for pretty much every language (class B < A; def hello; #I'm overwritten; end, end)
<Joel> hrm, I wonder what I'm doing wrong then.
wesside has quit [Quit: Computer has gone to sleep.]
<Joel> No, I'm not using <
<Joel> I'm using extends
<MrZYX> well
<Joel> s/s//
<MrZYX> extends does something very different
tomsthumb has quit [Quit: Leaving.]
<MrZYX> first of all, it should take a module, not a class
hogeo has quit [Remote host closed the connection]
<shevy> Joel extend is similar to include
<shevy> Joel but both works on a class, not module, so you are using the wrong terminology, or you are not speaking the truth :D
<shevy> sorry
<shevy> vice versa
<shevy> include and extend works on a module, subclassing works on classes
<shevy> no
<Joel> I have a class, which calls extend on a module
<shevy> it's too hot here today, my brain does not think
<shevy> yes Joel
<MrZYX> shevy: that's what happens if you try to overwrite me ;P
<shevy> but why do you not use include?
<shevy> MrZYX I just was on bicycle almost an hour, it's damn hot here, the sun fried my brain :(
<Joel> Include is for adding methods to an instance of a class and extend is for adding class methods.
<MrZYX> Joel: extend includes the modules methods as class methods into the class, include includes them as instance methods
<MrZYX> yup
<shevy> hmm
<MrZYX> Joel: make a gist, your code, what you get, what you expect
<shevy> does include not also work for modules too?
<Joel> MrZYX: that was the trick, missing self. in my class.
<MrZYX> sure
<Joel> derp derp derp
adkron_ has quit [Ping timeout: 276 seconds]
<shevy> herp herp herp
timkohrumel has joined #ruby
lahwran is now known as lahwran-
lahwran- is now known as lahwra
wald0 has joined #ruby
lahwra is now known as lahwran
adkron has joined #ruby
nwertman has quit [Remote host closed the connection]
<wald0> this is not really a need but i would like to know if the ruby code can be "compiled" or something (not readable), i think that i have see something about that but im not sure
mootpointer has joined #ruby
banjara has joined #ruby
<Joel> wald0: ugh, are you trying to obfuscate it?
mmozuras has quit [Ping timeout: 255 seconds]
IrishGringo has quit [Remote host closed the connection]
<shevy> wald0 ruby code is basically plain text really
BinaryMaster has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
mmozuras has joined #ruby
dustint has joined #ruby
GeissT has quit [Read error: Connection reset by peer]
<ohcibi> hi, when starting an app in a thread that has output to stdin in it.. how to redirect it to /dev/null?
dustint has quit [Client Quit]
wedgex has joined #ruby
<ericwood> you can system('command to start thingamajig > /dev/null')
__main__ has joined #ruby
<ericwood> but that's spawning a new process, not threading it
<ericwood> it all depends on what you mean by "app"
Vainoharhainen has quit [Quit: Leaving...]
dustint has joined #ruby
icecandy has quit [Remote host closed the connection]
<ohcibi> ericwood: yes.. my question was bad 8-)... by starting an app I meant a sinatra class that I .run! in a thread... there is no system or `` involved.. I know about > /dev/null for normal shell commands 8-)
jlast has joined #ruby
chrishough has joined #ruby
<ericwood> just modify the sinatra app to not print anything out?
<ericwood> I'm not sure :\
Morkel has quit [Quit: Morkel]
axl_ has quit [Quit: axl_]
<ohcibi> ericwood: yes that would also be an option, but I thought I can handle it at the thread level (maybe to redirect it into a logfile)
<MrZYX> ohcibi: what ericwood said, if you really can't influence it you can modify $stdout
braincrash has quit [Ping timeout: 245 seconds]
wolcanus has quit [Remote host closed the connection]
gregorg has joined #ruby
gregorg has quit [Changing host]
gregorg has joined #ruby
skoovdebo has quit [Quit: Textual IRC Client: www.textualapp.com]
<ohcibi> MrZYX: do you have an example maybe? the first I just googled is "dont modifiy $stdout!" 8-))
_64k has quit [Ping timeout: 245 seconds]
<MrZYX> yeah, it's really something to do as last resort
<MrZYX> but it's just a normal File object
<MrZYX> all methods on it work (including .reopen)
banjara has quit [Ping timeout: 256 seconds]
davetherat has quit [Remote host closed the connection]
<MrZYX> it's a global though, nothing that's scoped to the thread
davetherat has joined #ruby
rdark has quit [Ping timeout: 255 seconds]
graeme has quit [Quit: graeme]
__main__ has quit [Ping timeout: 255 seconds]
<ohcibi> MrZYX: something like this: https://gist.github.com/ohcibi/5444330?
jprovazn has quit [Quit: Leaving]
<MrZYX> yup, except that it's not scoped to thread, as said already
ckrailo has joined #ruby
jprovazn has joined #ruby
jprovazn is now known as jprovazn_afk
rdark has joined #ruby
Vainoharhainen has joined #ruby
<ohcibi> MrZYX: what do you mean its not scoped to thread? i just tried to puts in the thread and puts outside.. what I puts outside is visible.. what I puts inside is not.. but its also not in the file log (which exists though)
mmozuras has quit [Ping timeout: 268 seconds]
<MrZYX> hm
<PigDude> Which breaking changes, if any, does Ruby 2.0 introduce for Ruby 1.8.7 code? I've researched this and found some small things, but no detailed list.
mmozuras has joined #ruby
<MrZYX> race condition, try joining the thread before doing the outer puts
<PigDude> or for 1.x code in general
<MrZYX> PigDude: port to 1.9.3 first (and search guides for that), porting to 2.0 should be easy then
<ohcibi> MrZYX: yes thats supressing every puts now 8-)
juarlex has joined #ruby
<Hanmac> PigDude: iconv is gone
<MrZYX> PigDude: very little breaking changes between 1.9.3 and 2.0
<PigDude> MrZYX, oh, I see
<PigDude> MrZYX, do you know of a good document for the 1.9.3 upgrade? I was actually considering using 1.9.3 or 2.0.0, so I guess the problems I might expereince will be the same for either version
ckrailo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Matip has joined #ruby
<MrZYX> PigDude: I didn't really develop any 1.8.7 code ever, so I never had the need ;)
<PigDude> Hanmac, yea, I can see the small amount of change
mootpointer has quit [Quit: Computer has gone to sleep.]
ckrailo has joined #ruby
<PigDude> MrZYX, ah OK. i've only developed for 1.8.6 and 1.8.7 :^)
<Hanmac> INFO ... ruby 1.9+ and 1.8.7 has different C-API than 1.8.6 ... so C-Gems for 1.8.6 does not work with 1.8.7
ph^ has joined #ruby
justsee has quit [Ping timeout: 252 seconds]
jovy88 has quit [Read error: Connection reset by peer]
<ohcibi> MrZYX: yeah... Ive stored $stdout away before and assigned it back after joining the thread
mmozuras has quit [Ping timeout: 264 seconds]
jmsbrwr has joined #ruby
IrishGringo has joined #ruby
<ohcibi> MrZYX: its not necessary to join if $stdout is assigned outside the thread...
<PigDude> Hanmac, that's good to know
jovy88 has joined #ruby
renanoronfle__ has quit [Quit: This computer has gone to sleep]
Mattx has quit [Ping timeout: 255 seconds]
dustint has quit [Quit: Leaving]
<MrZYX> ohcibi: but lets repeat it one more time, it's a last resort way to do it and you'll likely run into issues, porting the app to use a custom logger/output object is clearly the superior way
pduin has quit [Remote host closed the connection]
dustint has joined #ruby
__main__ has joined #ruby
slainer68 has joined #ruby
<MrZYX> you can then dynamically change that object to $stdout, a file, dev/null or whatever
braincrash has joined #ruby
<ohcibi> MrZYX: I understand that.. but I was asking for just suppressing/redirecting the output of a thread.. so this it not possible with the thread?
baroquebobcat has joined #ruby
<ohcibi> except for the $stdout method
axl_ has joined #ruby
newUser1234 has quit [Remote host closed the connection]
rippa has joined #ruby
<MrZYX> not that I'm aware of
<MrZYX> less side effects at least
<MrZYX> a lot easier with forks I guess
alex__c2022 has joined #ruby
ph^ has quit [Ping timeout: 256 seconds]
brennanMKE has joined #ruby
Vainoharhainen has quit [Read error: Connection reset by peer]
Gabri has quit [Remote host closed the connection]
<ohcibi> MrZYX: forks will introduce other problems to my use case 8-)
<ohcibi> MrZYX: as I must share variables between the threads
slainer6_ has quit [Ping timeout: 258 seconds]
splittingred has joined #ruby
sambio is now known as natalianatalia
nooodl has joined #ruby
retry has joined #ruby
bradhe has joined #ruby
alx- has joined #ruby
k611 has quit [Quit: Leaving]
daniel_- has quit [Ping timeout: 255 seconds]
krawchyk has joined #ruby
mikepack has joined #ruby
krawchyk has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 252 seconds]
newUser1234 has joined #ruby
kornnflake has quit [Read error: Connection refused]
polymar has quit [Remote host closed the connection]
adkron has quit [Ping timeout: 256 seconds]
vikhyat has joined #ruby
zigomir has joined #ruby
adkron has joined #ruby
hamakn has quit [Remote host closed the connection]
kornnflake has joined #ruby
snearch has joined #ruby
emdub has quit [Ping timeout: 252 seconds]
oneirophren has quit [Ping timeout: 256 seconds]
duosrx has quit [Read error: Connection reset by peer]
duosrx has joined #ruby
rodacato has quit [Quit: rodacato]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
banjara has joined #ruby
mklapps__ has joined #ruby
icecandy has joined #ruby
tommyvyo has quit [Quit:]
mklappst_ has quit [Read error: Connection reset by peer]
assurbanipal has quit [Remote host closed the connection]
wolcanus has joined #ruby
a_a_g has quit [Quit: This computer has gone to sleep]
alekst has joined #ruby
daniel_- has joined #ruby
emdub has joined #ruby
timmow_ has joined #ruby
rton has joined #ruby
hydrozen has joined #ruby
tomsthumb has joined #ruby
rodacato has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
kpshek has quit []
Tectonic has joined #ruby
camilasa_ has joined #ruby
tommyvyo has joined #ruby
kpshek has joined #ruby
tjbiddle has joined #ruby
bradhe has joined #ruby
Randomage has quit [Ping timeout: 256 seconds]
timmow_ has quit [Ping timeout: 252 seconds]
natalianatalia has quit [Ping timeout: 264 seconds]
andikr has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 256 seconds]
sambio has joined #ruby
tjbiddle has quit [Client Quit]
Nanuq has quit [Read error: Operation timed out]
marcgg has joined #ruby
wolcanus has quit [Ping timeout: 268 seconds]
danshultz has joined #ruby
atno has quit [Read error: Connection reset by peer]
banjara has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 252 seconds]
atno has joined #ruby
braoru has quit [Remote host closed the connection]
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
rton has left #ruby [#ruby]
Rix has quit [Ping timeout: 248 seconds]
marcgg_ has quit [Ping timeout: 256 seconds]
adkron_ has joined #ruby
guiambros has joined #ruby
rodacato has quit [Quit: rodacato]
rton has joined #ruby
chipotle_ has joined #ruby
Rix has joined #ruby
joshwines_ has quit [Quit: Connection closed for inactivity]
icole has joined #ruby
Tectonic has quit [Quit: Tectonic]
akashj87 has quit [Ping timeout: 240 seconds]
Nanuq has joined #ruby
adkron has quit [Ping timeout: 240 seconds]
danshult_ has joined #ruby
rton has left #ruby [#ruby]
danshultz has quit [Read error: Connection reset by peer]
danshult_ has quit [Remote host closed the connection]
rton has joined #ruby
rton has left #ruby [#ruby]
danshultz has joined #ruby
miso1337 has quit [Quit: afk]
adkron_ has quit [Ping timeout: 248 seconds]
akashj87 has joined #ruby
akashj87 has quit [Read error: Connection reset by peer]
soukihei has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
andrew__ has joined #ruby
stoic_squirrel has joined #ruby
timkohrumel has quit [Remote host closed the connection]
GOMADWarrior has quit [Ping timeout: 248 seconds]
soukihei has joined #ruby
__alpaca has joined #ruby
AndChat- has quit [Quit: Bye]
JMcAfreak has joined #ruby
Banistergalaxy has joined #ruby
__alpaca has quit [Read error: Connection reset by peer]
__alpaca has joined #ruby
etcetera has joined #ruby
adkron has joined #ruby
etcetera has quit [Client Quit]
clocKwize has quit [Quit: clocKwize]
JMcAfreak has quit [Remote host closed the connection]
rodacato has joined #ruby
brennanMKE has quit [Remote host closed the connection]
bradhe has joined #ruby
etcetera has joined #ruby
mafolz has quit [Read error: Operation timed out]
Spooner has joined #ruby
Zolo has joined #ruby
_bart has quit [Quit: _bart]
skroon has quit [Ping timeout: 252 seconds]
lethjakman has joined #ruby
enricllu_ has quit [Remote host closed the connection]
sambio is now known as natalianatalia
jamie_ca_ has joined #ruby
codemonkey010101 has joined #ruby
hasse has joined #ruby
adkron has quit [Ping timeout: 256 seconds]
oneirophren has joined #ruby
banjara has joined #ruby
adkron has joined #ruby
wedgex has quit [Remote host closed the connection]
angusiguess has joined #ruby
codemonkey010101 has quit [Remote host closed the connection]
<hasse> What is the easiest way to get the beginning of month without using Rails?
classix has quit [Ping timeout: 246 seconds]
wedgex has joined #ruby
dankest has joined #ruby
classix has joined #ruby
brennanMKE has joined #ruby
krawchyk has joined #ruby
lmf40_ has quit [Remote host closed the connection]
nga4 has joined #ruby
brennanM_ has joined #ruby
thone_ has joined #ruby
<Hanmac> hasse: n=DateTime.now;n - n.day + 1
akashj87 has joined #ruby
jlast_ has joined #ruby
<hasse> Hanmac: nice, thanks, and how about beginning of week?
tommyvyo has quit [Quit:]
Voodoofish430 has joined #ruby
filipe has quit [Read error: Connection reset by peer]
thone has quit [Ping timeout: 252 seconds]
<Hanmac> hasse: n=DateTime.now;(n - n.wday)# it returns the sunday (if you want the monday just add + 1)
mark_locklear has quit [Ping timeout: 252 seconds]
adkron_ has joined #ruby
brennanMKE has quit [Ping timeout: 276 seconds]
jlast has quit [Ping timeout: 268 seconds]
synfin has joined #ruby
alekst has quit [Ping timeout: 248 seconds]
<synfin> I've installed libyaml in a nonstandard path, how do I tell Ruby to use that path?
jlast_ has quit [Ping timeout: 276 seconds]
adkron has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
tds has joined #ruby
codemonkey010101 has joined #ruby
tommyvyo has joined #ruby
senayar has quit [Quit: Quitte]
skattyadz has quit [Quit: skattyadz]
timmow has quit [Remote host closed the connection]
codemonkey010101 has quit [Remote host closed the connection]
pedda has joined #ruby
danslo has quit [Quit: danslo]
wedgex has quit [Remote host closed the connection]
tylersmith has joined #ruby
wedgex has joined #ruby
nomenkun has quit [Ping timeout: 276 seconds]
mengu has quit [Quit: This computer has gone to sleep]
sailias1 has joined #ruby
chipotle_ has quit [Quit: cya]
kreantos has quit [Remote host closed the connection]
adkron_ has quit [Ping timeout: 248 seconds]
SDr_ is now known as SDr
aspiers has joined #ruby
SDr has quit [Changing host]
SDr has joined #ruby
sailias has quit [Ping timeout: 255 seconds]
rodacato has quit [Quit: rodacato]
jbueza has joined #ruby
rakl has joined #ruby
jbueza has quit [Max SendQ exceeded]
jbueza has joined #ruby
jbueza has quit [Max SendQ exceeded]
jbueza has joined #ruby
Vainoharhainen has joined #ruby
adkron has joined #ruby
hogeo has joined #ruby
Vainoharhainen has quit [Client Quit]
hogeo_ has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
natalianatalia has quit [Remote host closed the connection]
aspiers has quit [Read error: Operation timed out]
sambio has joined #ruby
aki1 has quit [Ping timeout: 256 seconds]
sayan has quit [Ping timeout: 256 seconds]
ephemerian has left #ruby [#ruby]
cod3r has joined #ruby
jlast has quit [Remote host closed the connection]
Hobogrammer has quit [Read error: Connection reset by peer]
jlast has joined #ruby
zeade has joined #ruby
cloke has joined #ruby
huoxito has quit [Ping timeout: 256 seconds]
hogeo_ has quit [Remote host closed the connection]
io_syl has joined #ruby
tk_ has quit [Quit: ばいばい]
rodacato has joined #ruby
jacobw has joined #ruby
wolcanus has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
mityaz has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Hanmac has quit [Ping timeout: 264 seconds]
wolcanus has quit [Read error: Connection reset by peer]
schickung_ has joined #ruby
Liru has quit [Read error: Operation timed out]
renanoronfle__ has joined #ruby
wolcanus has joined #ruby
tommyvyo has quit [Quit:]
hamakn has joined #ruby
Macaveli has joined #ruby
chipotle_ has joined #ruby
frem has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #ruby
schickung has quit [Ping timeout: 264 seconds]
schickung_ is now known as schickung
tommyvyo has joined #ruby
thone has joined #ruby
timkohrumel has joined #ruby
sayan has joined #ruby
wgosling has quit [Quit: Konversation terminated!]
<codezombie> What is the point of this Rails.root.join('app', 'assets', 'images', 'logo.png'), instead of "#{Rails.root}/apps/assets/images/logo.png"?
robscomputer has joined #ruby
wgosling has joined #ruby
timmow has joined #ruby
icole has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
<codezombie> similarly, File.expand_path("app/assets/images/logo.png", Rails.root)
thone_ has quit [Ping timeout: 264 seconds]
guiambros has quit [Read error: Connection reset by peer]
<Spooner> codezombie, Using join guarantees the correct separators are used (and ensures you don't double them up).
hamakn has quit [Ping timeout: 252 seconds]
F1skr has quit [Quit: WeeChat 0.4.0]
<codezombie> that makes sense
<codezombie> thanks
fjfish has quit [Remote host closed the connection]
nessib has quit [Read error: Connection reset by peer]
<Spooner> e.g. File.join("/frog/", "fish") == File.join("/frog", "fish")
nik_-_ has joined #ruby
Macaveli has quit [Quit: This computer has gone to sleep]
jamesaxl__ is now known as jamesaxl
<LennyLinux> >> File.join("/a/", "b")
<eval-in> LennyLinux => "/a/b" (http://eval.in/17293)
Iszak has quit [Quit: Computer has gone to sleep.]
sleetdrop has quit [Quit: Computer has gone to sleep.]
<LennyLinux> Clever girl
<Spooner> codezombie expand_path has the advantage of returning an absolute path, even if it is given a relative one.
Matip has quit [Quit: Leaving]
Edward___ has joined #ruby
slainer68 has quit [Ping timeout: 258 seconds]
huoxito has joined #ruby
<Edward___> Hi is this a hash/function that will computer a unique output from a given input?
samstrasser has joined #ruby
brotatos has joined #ruby
<Edward___> And can be reversed.
<Edward___> 1 ~> a, 2 ~> b etc with a fixed length
<Spooner> I doubt there is one that gives a truly unique output.
brennanM_ has quit [Remote host closed the connection]
<Spooner> Unless it is lambda {|x| x + 1} ;)
Macaveli has joined #ruby
<Spooner> Which is unique and reversable.
fryguy- is now known as fryguy
<MrZYX> +17, -17? :P
<Spooner> Let me check, MrZYX. Yeah, that one works too ;)
Hanmac has joined #ruby
<Edward___> Ahaha Spooner
<MrZYX> Edward___: maybe describe the actual problem you're trying to solve
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
samstrasser has quit [Remote host closed the connection]
etcetera has quit []
<Edward___> Url shortener. Transposing a database primary key to be the random string
ferdev has quit [Quit: ferdev]
<Spooner> You don't need it to be reversable then. You just need to be able to look it up.
<MrZYX> have a look at base36
<Edward___> Spooner: Not saving the random string
<otters> why not?
<Edward___> Will just be using the primary key to do the lookup
<injekt> yeah you should just use base64
<injekt> iirc guillotine uses that
<Edward___> Mm
<injekt> or 36
<Edward___> otters: Could probably save headache by saving it
aki1 has joined #ruby
<MrZYX> produces a bit nicer URLS than 64 IMO
chrishough has quit [Quit: chrishough]
<Edward___> injekt: That would create the problem of random strings of 1 character early on, wouldn't it?
<otters> not if you generate a random one
<Spooner> But alphanum to base32 is 1-to-1 (in length), surely?
etcetera has joined #ruby
<injekt> it's not fixed length no
<Spooner> I mean 36
<injekt> Edward___: yes it would
lkba has joined #ruby
<otters> If you generate random 7-character base36 strings you have room for 78 trillion URLs
<Edward___> 78 trillion sounds like enough
<Edward___> Thank you y'all.
Liru has joined #ruby
<Spooner> That allows for lookup though. I thought you meant as a reversable compression.
akashj87 has quit [Quit: Leaving]
oneirophren has quit [Quit: leaving]
danslo has joined #ruby
<Hanmac> americans does not know the differnce between Chechnya and CZECH ... should the other europeans countries be scared?
<MrZYX> Hanmac: no, australia should be scared, as always
<Hanmac> MrZYX: thats not fair, australia is the most badass country ever ;P ... in this literaly everything wants to kill you ;P
Edward___ has quit [Quit: Page closed]
bean has joined #ruby
<Spooner> Hanmac, Don't you mean Austria? Where the kangaroos live, right?
bean has quit [Max SendQ exceeded]
adkron_ has joined #ruby
xlab_ has quit [Read error: Connection reset by peer]
hydrozen has quit [Quit: Computer has gone to sleep.]
oneirophren has joined #ruby
<MrZYX> the thing is european countries are too small to be mistaken as european countries, in doubt it's australia
baroquebobcat has quit [Quit: baroquebobcat]
bean has joined #ruby
xlab has joined #ruby
<Hanmac> Spooner: haha you mixed it wrong ;P australia is the ones with kangaroos
rupee has joined #ruby
sambio is now known as natalianatalia
adkron has quit [Ping timeout: 252 seconds]
aspiers has joined #ruby
dankest has quit [Quit: Leaving...]
<Spooner> No, Australia is the one where the Arnie comes from.
jlast has quit [Remote host closed the connection]
jacobw has quit [Remote host closed the connection]
kenneth has quit [Quit: kenneth]
djwonk has joined #ruby
<Hanmac> Spooner: i am not an american, i am not so easy to fooled
_nitti has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
<aedorn> Hanmac: As an American I can say, without a doubt, that I do not believe you. See? We're the ultimate skeptics ... we don't trust anyone!
<nezumi> Australia is home to none of the ten most venomous creatures in the world.
<nezumi> America has the last, American Women....
daniel_- has quit [Ping timeout: 260 seconds]
adambeynon has joined #ruby
icole has joined #ruby
mklapps__ has quit [Ping timeout: 258 seconds]
daniel_- has joined #ruby
chrishough has joined #ruby
pi3r has quit [Quit: Leaving]
tjbiddle has joined #ruby
_nitti has joined #ruby
banjara has quit [Quit: Leaving.]
Iszak has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
chipotle_ has quit [Quit: cya]
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
mmlac-bv has joined #ruby
danslo has quit [Quit: danslo]
adambeynon has quit [Client Quit]
jovy88 has joined #ruby
<Hanmac> nezumi: did you count the platypus? its venom is very evil
unflores has quit [Quit: unflores]
V8Energy has joined #ruby
schickung has quit [Quit: schickung]
nooodl has quit [Ping timeout: 258 seconds]
ferdev has joined #ruby
camilasa_ has quit [Remote host closed the connection]
oneirophren has quit [Ping timeout: 256 seconds]
<Hanmac> shevy & Spooner: "added String#scrub to verify and fix invalid byte sequence."
<Spooner> Hmm?
<mmlac-bv> Is there a way to extend the class and the instance of a class at the same time using modules? i.e. I want to define a def self.find_objet and a def do_stuff in the same module. How do I accomplish that?
sambao21 has quit [Quit: Computer has gone to sleep.]
<Spooner> mmlac-bv, You need to dynamically add the class method in the module's #included handler.
daniel_- has quit [Ping timeout: 264 seconds]
djwonk has quit [Quit: djwonk]
supernullset has joined #ruby
<Hanmac> mmlac-bv: i prefer: def self.included(klass);super;klass.extend(ClassMethods);end
<mmlac-bv> thank you both, I will take a look at this
sambao21 has joined #ruby
<Spooner> I was meaning Hanmac's technique. I just explained it very badly ;)
d2dchat has quit [Remote host closed the connection]
girija has joined #ruby
<mmlac-bv> So basically like this here: http://www.dan-manges.com/blog/27 The submodule ClassMethods is then a self.xxx() - correct?
philcrissman is now known as philcrissman_afk
ehaliewicz has joined #ruby
<Spooner> mmlac-bv, Yes, the ExtendThroughInclude example.
<mmlac-bv> thank you! :)
wolcanus_ has joined #ruby
wolcanus_ has quit [Remote host closed the connection]
aapzak has quit [Read error: Connection reset by peer]
mockra has joined #ruby
LaPetiteFromage has joined #ruby
rdark has quit [Quit: leaving]
luckyruby has joined #ruby
MistuhKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
danshultz has joined #ruby
wolcanus_ has joined #ruby
aaronmcadam has quit [Ping timeout: 260 seconds]
<Hanmac> Spooner did i show you how prepend, include and extend works combined? (very funny is prepend + singleton_class :) )
wolcanus has quit [Ping timeout: 264 seconds]
rton has joined #ruby
gaahrdner has quit [Remote host closed the connection]
csmrfx has quit [Quit: leaving]
ph^ has joined #ruby
c0rn has joined #ruby
<Spooner> You didn't, but I can imagine it all goes to pot.
pedda has quit [Quit: Computer has gone to sleep.]
atno has quit [Ping timeout: 255 seconds]
alexyz has quit [Ping timeout: 248 seconds]
wargasm has quit [Ping timeout: 256 seconds]
aapzak has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
marcdel has joined #ruby
wargasm has joined #ruby
momomomomo has quit [Quit: momomomomo]
celinedior has quit [Quit: celinedior]
djwonk has joined #ruby
KenDhia has joined #ruby
nessib has joined #ruby
<BinaryMaster> Is there a documentation standard like phpdoc for methods and classes with ruby?
nooodl has joined #ruby
<MrZYX> yup, rdoc. Some also use Yard
alexyz has joined #ruby
sepp2k has joined #ruby
ph^ has quit [Read error: No route to host]
<synfin> Trivial question, I'm installing rvm in a nonstandard location. When I have it, I set up my PATH which finds rvm but if I attempt to use rvm I get the error "Can't find rvm install!" What did I do wrong?
<BinaryMaster> okay cool, MrZYX would you happen to know if there is a plug in for auto generation for sublime text?
adkron has joined #ruby
jlast has joined #ruby
<BinaryMaster> synfin, what is your current path?
hmarr has quit [Read error: Operation timed out]
ph^ has joined #ruby
jlast has quit [Remote host closed the connection]
dmiller has joined #ruby
elaptics is now known as elaptics`away
jlast has joined #ruby
<MrZYX> BinaryMaster: package control yields a "yardoc" plugin
<BinaryMaster> synfin, have you tried running rvm using the full path to the executable?
<synfin> rvm was installed as: "curl -L https://get.rvm.io | bash -s stable --path /tmp/rubyking --ruby"
<synfin> my PATH now beings with: /tmp/rubyking/bin
pkondzior___ has quit [Quit: Connection closed for inactivity]
dankest has joined #ruby
pedda has joined #ruby
Iszak has quit [Quit: Computer has gone to sleep.]
<synfin> BinaryMaster: I just did, but I received the same error.
Heero` has joined #ruby
KenDhia has quit [Ping timeout: 268 seconds]
adkron_ has quit [Ping timeout: 276 seconds]
<BinaryMaster> synfin, I feel like I had that problem and if I remember correctly it was a problem with one of my user profile paths
foofoobar has joined #ruby
axl_ has quit [Quit: axl_]
<synfin> oh, let me try a different profile then.
Heero has quit [Ping timeout: 256 seconds]
jamescarr has quit [Quit: jamescarr]
twoism has joined #ruby
<synfin> it didn't work but that doesn't mean that isn't the problem.
mark_locklear has joined #ruby
athst has joined #ruby
kenneth has joined #ruby
Heero` has quit [Ping timeout: 264 seconds]
Nisstyre-laptop has joined #ruby
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
hasse has quit [Quit: Page closed]
forlin has quit [Remote host closed the connection]
alvaro_o has joined #ruby
mavcunha has joined #ruby
paidhi has joined #ruby
Rym has quit [Quit: Rym]
paidhi has left #ruby [#ruby]
atno has joined #ruby
Vivekananda has quit [Quit: Ex-Chat]
<lectrick> Why does defining a class return nil instead of the class itself? In other words, in my opinion, class Klass; end.new should return a Klass instance
danshultz has quit [Remote host closed the connection]
Liru has quit [Ping timeout: 268 seconds]
mavcunha has quit [Client Quit]
<MrZYX> a class definition returns the last expression
Macaveli has quit [Quit: This computer has gone to sleep]
<MrZYX> >> class Foo; 42; end
<eval-in> MrZYX => 42 (http://eval.in/17294)
<lectrick> yes so I can return "self" in it but meh
pedda has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
emmanuelux has joined #ruby
<Hanmac> Spooner damm i dropped it :( the joke was that stuff prepended to the singleton_class can not be overwritten without an addional prepend again
Gabri has joined #ruby
mklappst_ has joined #ruby
duosrx has quit [Remote host closed the connection]
banjara has joined #ruby
<peta_> is there something like maximum execution time for the ruby CLI that is set by default?
<peta_> (like in PHP)
<PigDude> peta_, and no, because that would be stupid and would be counter to ruby's use as a systems language
nooodl is now known as `echo
KenDhia has joined #ruby
Bosox20051 has joined #ruby
`echo is now known as nooodl
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
Falieson has joined #ruby
gungor_ has quit [Read error: Connection reset by peer]
<peta_> PigDude: that's not a valid reason
duosrx has joined #ruby
<peta_> but thx
<PigDude> peta_, ...
gungor has joined #ruby
troessner has quit [Ping timeout: 252 seconds]
<PigDude> peta_, a valid reason? you expect general purpose programming languages to implement an arbitrary default program timeout?
<PigDude> peta_, sorry dave, the cron jobs failed last night, we hit our 60s exec max
brotatos has quit [Read error: Operation timed out]
nooodl is now known as `nooodl
dmiller has quit [Remote host closed the connection]
d2dchat has joined #ruby
Heero` has joined #ruby
duosrx has quit [Remote host closed the connection]
brianpWins has joined #ruby
Zai00 has quit [Quit: Zai00]
<Eiam> anyone ever setup sinatra with ssl via thin? I'm generating my own ssl cert, https://gist.github.com/anonymous/bfb3b887e71fc5ba1851 but safari & chrome both show the cn as openca.steamheat.net instead of localhost
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
<Hanmac> peta_: or better: your ruby server was shutdown because of timeout ... do you want that?
brotatos has joined #ruby
mavcunha has joined #ruby
<peta_> PigDude: lol … allowing every skript (regardless of the user it is started by) to run infinitely and/or unlimiting its resource consumption imposes a serious security risk
<PigDude> peta_, maybe running random scripts is the security risk
Heero has quit [Ping timeout: 252 seconds]
mavcunha has quit [Client Quit]
enebo has quit [Quit: enebo]
<peta_> so it may be reasonable to impose kind of default limitation and allow them to be removed/unlimited on a selective basis
<Hanmac> evaling user input is a security risk
Zolo has quit [Remote host closed the connection]
<MrZYX> peta_: what's the max execution time of C? C++? Python? Perl? Java? Erlang? Node?
guitsaru has joined #ruby
<MrZYX> PHP is on a lonely island
<PigDude> also known as *everything but PHP*
girija has left #ruby ["Ex-Chat"]
<PigDude> to be fair, CLI PHP has no timeout
<PigDude> but that shows about how knowledgeable peta_ is
jdunck has joined #ruby
<PigDude> peta_, are you in the business of hosting ruby applications?
<PigDude> peta_, (for third parties)
blaxter_ has quit [Ping timeout: 255 seconds]
<PigDude> peta_, ...
kirun has joined #ruby
<peta_> similar settings exist for memory consumption
<tylersmith> php knows that tends toward using all resources and so makes it easy for you to have it suicide when needed
<tylersmith> ruby can manage memory fairly well and does not need such coddling
<tylersmith> if you want to set time limits you can, but it's not a core part of the language
havenwood has joined #ruby
<PigDude> peta_, point being, it is not something that belongs in the core language
CalebMingle has joined #ruby
<PigDude> er, what tylersmith said
cha1tanya has quit [Ping timeout: 264 seconds]
<peta_> no no … I don't want to limit execution of my script. I just asked because some CLI scripts suddently exit after 30secs or so
<PigDude> well they aren't timing out if that's what you suspect
<peta_> so i wondered if there are also default limitations (i am used to from PHP and Python)
<PigDude> ruby doesn't have that
<PigDude> nor does python!
<PigDude> python does have StackLimitExceeded exception, which might be what you're thinking of
`nooodl is now known as nooodl
codecop has joined #ruby
<tylersmith> just fill the stack a steady rate
<PigDude> sorry, I meant the RuntimeError, recursion depth exceeded
alx- has quit [Quit: alx-]
<peta_> that's not what i mean
<PigDude> how about you show your script
<PigDude> and we can help you fix it
<Hanmac> hm ruby has also SystemStackError
<peta_> you guys already helped me
mklappst_ has quit [Remote host closed the connection]
<Spooner> But our stack error is really annoyingly bad (compared to the Python one).
alx- has joined #ruby
rodacato has quit [Quit: rodacato]
AxonetBE has joined #ruby
<AxonetBE> I have a page when I visit it on my staging environment through https I got an error https://gist.github.com/DriesS/5443388, because the body passed to the function is a string. The problem is that I see no trace of my application in the logs and I don't know from where it comes. Somebody that can help me further?
<Spooner> Well, at least the CRuby one is more than vague.
brennanMKE has joined #ruby
CalebMingle has quit [Quit: CalebMingle]
<Spooner> AxonetBE, #rubyonrails channel?
<AxonetBE> Spooner: ok thanks
rodacato has joined #ruby
huoxito has quit [Ping timeout: 258 seconds]
mavcunha has joined #ruby
robscomputer has quit [Ping timeout: 256 seconds]
__alpaca has quit [Remote host closed the connection]
vikhyat_ has joined #ruby
vikhyat has quit [Read error: Connection reset by peer]
tds has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
tds has joined #ruby
schickung has joined #ruby
brennanMKE has quit [Ping timeout: 255 seconds]
twoism has quit [Read error: Connection reset by peer]
twoism has joined #ruby
Cultofmetatron has joined #ruby
rakl has quit [Quit: sleeping]
baroquebobcat has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
vikhyat has joined #ruby
c0rn has quit [Ping timeout: 255 seconds]
niceguyjames has joined #ruby
vikhyat_ has quit [Ping timeout: 256 seconds]
baroquebobcat has quit [Client Quit]
rakl has joined #ruby
newUser1234 has quit [Remote host closed the connection]
arietis has joined #ruby
Spooner has quit [Remote host closed the connection]
c0rn has joined #ruby
rwilcox has joined #ruby
alx- has quit [Quit: alx-]
oneirophren has joined #ruby
supernullset has quit [Remote host closed the connection]
<mmlac-bv> Is there a way to mask a function name but use the original function inside the masking function? In my case I want to override a database find method for certain models but be able to use the find inside the method
momomomomo has joined #ruby
<Hanmac> mmlac-bv: look for alias and alias_method
huoxito has joined #ruby
<mmlac-bv> thank you
syl has joined #ruby
newUser1234 has joined #ruby
schickung has quit [Quit: schickung]
newUser1234 has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
bghost has joined #ruby
mrsolo has joined #ruby
BSaboia has joined #ruby
tomzx_mac has joined #ruby
DarthGandalf has joined #ruby
BizarreCake has quit [Quit: Leaving]
_nitti has quit [Remote host closed the connection]
<syl> I'm trying to get gitlab running and it seems to be that unicorn isn't working right. it's failing at the starting of unicorn. I think it's a gem issue. Any suggestions?
<dankest> syl: any logs?
pettsson has joined #ruby
<dankest> syl: kinda hard to evaluate without more information
pcarrier has quit [Quit: Computer has gone to sleep.]
tjbiddle has joined #ruby
<syl> dankest: agreed. I'm very new to ruby so any guiding is helpful.
dr_ick has joined #ruby
vikhyat_ has joined #ruby
dmiller has joined #ruby
dr_ick has quit [Client Quit]
jamescarr has joined #ruby
<syl> let me make a pastebin for you.
<dankest> Thanks
Zolo has joined #ruby
_nitti has joined #ruby
<shevy> let me make a cake for you.
Gabri has quit [Remote host closed the connection]
<PigDude> a hake cake!
sayan has quit [Read error: Connection reset by peer]
<Xeago> shevy: I expect nothing but "Herman the friendship cake".
<Xeago> truly awesome cake
<Xeago> I encourage you to make a starter and hand it out to friends
tjbiddle_ has joined #ruby
<shevy> lol
<syl> dankest: http://pastebin.com/zDy9wdma my error from unicorn.stderr.log
<shevy> herman the german
supernullset has joined #ruby
supernullset has quit [Remote host closed the connection]
vikhyat has quit [Ping timeout: 240 seconds]
skroon has joined #ruby
Liru has joined #ruby
<Hanmac> shevy why did you show them the evil instance_method way? ;P
v0n has joined #ruby
_nitti has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 258 seconds]
vikhyat_ has quit [Ping timeout: 264 seconds]
vikhyat has joined #ruby
<mmlac-bv> Hanmac shevy: can I define the alias in a module that is included in the original class (that has the method to be masked)? http://pastebin.ca/2364686
<mmlac-bv> I want to alias find to find_by_id_or_slug
graydot has joined #ruby
tjbiddle has quit [Ping timeout: 252 seconds]
tjbiddle_ is now known as tjbiddle
hiyakashi has quit [Quit: お前は知りすぎた]
Zolo has quit [Remote host closed the connection]
gaahrdner has joined #ruby
_nitti has joined #ruby
chase-work has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
<peta_> Herman taste vereeery very delicious
tjbiddle has quit [Read error: Connection reset by peer]
<peta_> (at least the recipe of my mom)
momomomomo has quit [Quit: momomomomo]
momomomomo has joined #ruby
<Hanmac> mmlac-bv: klass.send(:alias_method,:new_find,:find) in the def self.included(klass) method
<Xeago> peta_: I love herman, my gf doesn't want to make a starter tho :'(
tjbiddle has joined #ruby
<peta_> Xeago: there are other moms with pretty daughters … which would also love to make a herman
<Xeago> do they also offer housing and foods?
<peta_> depends on your search algorithm
<Xeago> currently couchsurfing at her dads place
<Xeago> rofl xD
<Xeago> well, it used to be world of warcraft
<Xeago> haven't refined it for 3 years..
enebo has joined #ruby
<peta_> ouch
<peta_> :D
<mmlac-bv> Hanmac: it tells me undefined method `find_by_id_or_slug' for module `#<Module:0x007fe75ccab638>' :/
<mmlac-bv> same if I switch the names
jdripper has quit [Quit: Leaving.]
<Hanmac> mmlac-bv: show me a pastie
frem has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<aedorn> all this camel case ... my shift key will be worn out by the end of the day.
ehc has quit [Ping timeout: 246 seconds]
pcarrier has joined #ruby
chandankumar has quit [Quit: Leaving]
dv__ has joined #ruby
danshultz has quit [Remote host closed the connection]
<shevy> BETTER THAN THIS CASE AEDORN
dv_ has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
<shevy> didn't the old teleprompters being upcased all the time?
Ontolog has joined #ruby
<shevy> *be
<Morrolan> aedorn: Your keyboard layout doesn't require you to press shift to type an underscore? :o
celinedior has joined #ruby
<mmlac-bv> Hanmac: http://pastebin.ca/2364695
unixinit has joined #ruby
<Hanmac> —_–⁻-
<aedorn> Morrolan: no underscores... camel case, not snake case! Lots of things like "setUnifiedTitleAndToolBarOnMac"
cod3r is now known as baba
<aedorn> shevy: yes, and telegrams too. Let's really go old school here!
<mmlac-bv> Hanmac: found it. include order is wrong
<Morrolan> aedornm: Yea, but what I meant was, that snake case wears out the shift key just as much as camel case. ;D
<shevy> I use set* methods
<shevy> def set_title(i)
<shevy> @title = i
<shevy> end
<akhet> SHEVY
<shevy> hahaha
<shevy> I just like it visually!
<shevy> def title=(i)
<shevy> @title = i
<shevy> end
<shevy> naaaaaaah
baphled has joined #ruby
<aedorn> oh, well, right... hmmm. I guess I'm just noticing it more because C++ makes me sad sometimes.
<Morrolan> Yea, I find camel case to be less readable than snake case, too. :)
<Morrolan> But it's probably just what you're used to.
dv84 has quit [Quit: ircN 8.00 for mIRC (20100904) - www.ircN.org]
stevechiagozie has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
<Hanmac> aedorn: snake_case for methods, CamelCase for modules/class and SCREAM_CASE for constants
momomomomo has quit [Quit: momomomomo]
<Eiam> i hate my life and everything about SSL
robscomputer has joined #ruby
<aedorn> Hanmac: Trolltech, Nokia, and no Digia disagrees with you! (Qt)
<aedorn> *now
AndChat| has joined #ruby
<Hanmac> aedorn i mean in ruby
forrest has joined #ruby
mityaz has quit [Quit: See ya!]
aces1up has quit []
<aedorn> I do that in Ruby, unfortunately this is not Ruby right now. =(
<Hanmac> "this"?
nomenkun has joined #ruby
brotatos has quit [Read error: Operation timed out]
momomomomo has joined #ruby
<aedorn> Requirements from some vendors are changing, and they're somewhat different. So to simplify things I have decided to throw logic out the window and use a very simple WebKit based browser as the front end for the actual Ruby app. So it's going WebKit+ACL->Local web server->remote database + ruby app ...
brotatos has joined #ruby
brotatos has quit [Client Quit]
brotatos has joined #ruby
<aedorn> What could possibly go wrong!?
<shevy> man
<shevy> layers upon layers upon layers
<shevy> built on top of great suckage
<mmlac-bv> Hanmac: still breaks my mongoid model include…. fml -_- It still tries to find the methods in the module I include…. I updated the example to show two modules: http://pastebin.ca/2364703
danshultz has joined #ruby
<shevy> use XML aedorn
Banistergalaxy has quit [Ping timeout: 268 seconds]
<Hanmac> its layers all the way down
Zai00 has joined #ruby
<shevy> :(
brennanMKE has joined #ruby
<aedorn> shevy: that's actually a requirement for one of the vendors. It's great. So they want us to go from a central report server, export data to XML files, upload XML files to an SFTP server, wait for a response on that SFTP server, reload the response back, and use the response as a go-ahead or fail point on the Ruby application.
Davey has joined #ruby
<aedorn> Actually, it's not just XML... it's SOAP.
<Hanmac> soap should be only in a bath
jmsbrwr has quit [Quit: Leaving]
<aedorn> Because they don't want to give us REST access to their IBM DB2 system that they use for their tracking.
<shevy> hehe
<aedorn> The lesson here is that no matter how bad I say it is, it's actually worse. =)
sayan has joined #ruby
Zai00 has quit [Client Quit]
Nisstyre-laptop has quit [Quit: Leaving]
natalianatalia is now known as cojedordefrutos
braoru has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
robmuh has quit [Ping timeout: 256 seconds]
<syl> dankest: did I paste the error correctly in pastebin?
brotatos has joined #ruby
Macaveli has joined #ruby
<shevy> aedorn you need a pat on the back man
swarley-freenode is now known as swarley
tenmilestereo has joined #ruby
danneu has joined #ruby
dEPy has joined #ruby
brotatos has quit [Client Quit]
<dEPy> any1 using redis gem? I wanna know what's the default timeout value if you don't provide any when connecting
brotatos has joined #ruby
brennanMKE has quit [Ping timeout: 258 seconds]
lushious has joined #ruby
<aedorn> shevy: for letting them come up with these crazy schemes and actually doing the stuff to make it work? lol
benlieb has joined #ruby
Michael has joined #ruby
tjbiddle_ has joined #ruby
Michael is now known as Guest7234
mercwithamouth has quit [Ping timeout: 264 seconds]
<Hanmac> COOL: Nokogiri 1.6.0.rc1 has a secret, but it's a secret that should make your life better. It contains the complete source code for libxml2 and libxslt, and will compile it during gem installation.
<shevy> Hanmac lol
<droppedonmyhead> hey can someone help me understand how to test a block with stubs. I have this right now and it doesn't pass when i use rake: http://www.repl.it/IhZ
aki1 has quit [Ping timeout: 256 seconds]
sambao21 has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
sambao21 has joined #ruby
__alpaca has joined #ruby
cojedordefrutos has quit [Excess Flood]
sambio has joined #ruby
Iszak has joined #ruby
daniel_- has joined #ruby
bean has joined #ruby
freakazoid0223 has joined #ruby
sambio has quit [Client Quit]
tjbiddle has quit [Ping timeout: 258 seconds]
tjbiddle_ is now known as tjbiddle
Targen has quit [Ping timeout: 268 seconds]
momomomomo has joined #ruby
KenDhia has quit [Quit: Ex-Chat]
__alpaca has quit [Ping timeout: 260 seconds]
Cultofmetatron has quit [Remote host closed the connection]
<shevy> def n; puts; end
<shevy> am I producing clever code today?
<MrZYX> nah
<MrZYX> alias would be way shorter
wald0 has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
Targen has joined #ruby
xclite has joined #ruby
Targen has quit [Read error: Connection reset by peer]
<shevy> MrZYX yeah thinking that too hmm
<shevy> alias n puts
<shevy> that would be a little bit faster too, or?
<MrZYX> no idea
<shevy> less characters + faster
<shevy> injekt pointed out something funny a few hours ago
__alpaca has joined #ruby
<shevy> the repetitive code I used could all be solved with one method alone, and several aliases to it :D
<shevy> but my brain was not receptive to new ideas
<shevy> (on its own, that is)
wald0 has joined #ruby
wald0 has quit [Client Quit]
banisterfiend has joined #ruby
<banisterfiend> any native french speakerse here?
<banisterfiend> speakers*
<nooodl> i know intermediate french, not a native speaker
miskander has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
Opettaja has quit [Ping timeout: 252 seconds]
sailias1 has quit [Ping timeout: 264 seconds]
Neomex has joined #ruby
dEPy has left #ruby ["Leaving"]
icole has quit [Remote host closed the connection]
__alpaca has quit [Ping timeout: 260 seconds]
Neomex has quit [Client Quit]
interactionjaxsn has quit [Remote host closed the connection]
w400z has joined #ruby
interactionjaxsn has joined #ruby
Heero` has quit [Quit: Leaving]
<banisterfiend> nooodl: well i need an idiomatic expression translated, so it might be tricky
mercwithamouth has joined #ruby
<nooodl> which one?
<banisterfiend> nooodl: En avril ne te découvre pas d’un fil
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
interactionjaxsn has quit [Ping timeout: 256 seconds]
<nooodl> according to google, it's somewhat of a proverb, meaning...
<nooodl> don't wear thin clothes in the early days of spring, or you might still catch a cold
chandankumar has joined #ruby
<nooodl> it's one half of a full expression that adds "... En mai, fais ce qu'il te plaît." -- "in may, do whatever you like"
Rym has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
Cultofmetatron has joined #ruby
carloslopes has joined #ruby
rwilcox has quit []
oneirophren has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 258 seconds]
AxonetBE has quit [Quit: Leaving.]
tvw has quit []
jeebster has joined #ruby
GOMADWarrior has joined #ruby
Opettaja has joined #ruby
divout has quit [Quit: Leaving.]
Cultofmetatron has quit [Remote host closed the connection]
sailias has joined #ruby
nomenkun_ has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
<banisterfiend> nooodl: ah thx
brianpWins has quit [Quit: brianpWins]
mikepack has quit [Remote host closed the connection]
niceguyjames has joined #ruby
theRoUS has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 252 seconds]
danslo has joined #ruby
v0n has quit [Quit: WeeChat 0.4.0]
io_syl has quit [Quit: Computer has gone to sleep.]
vikhyat has quit [Read error: Connection reset by peer]
vikhyat_ has joined #ruby
renanoronfle__ has quit [Quit: This computer has gone to sleep]
mikepack has joined #ruby
<Hanmac> heay guys and banisterfiend , i need an mirco file hoster for files < 1MB
davetoo has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
mneorr has quit [Remote host closed the connection]
Cultofmetatron has joined #ruby
jtharris has joined #ruby
theRoUS has joined #ruby
jbpros has joined #ruby
dmiller has joined #ruby
dmiller has quit [Remote host closed the connection]
icole has joined #ruby
frem has quit [Ping timeout: 260 seconds]
dmiller has joined #ruby
swex has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
Hanmac has quit [Ping timeout: 252 seconds]
swex has joined #ruby
wolcanus_ has quit [Remote host closed the connection]
io_syl has joined #ruby
wolcanus has joined #ruby
<Xeago> Hanmac1: try filepicker.io
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
aytch has joined #ruby
angusiguess has joined #ruby
<banisterfiend> Hanmac1: i just use dropbox
<banisterfiend> it's free
jekotia has joined #ruby
renanoronfle__ has joined #ruby
brianpWins has joined #ruby
danslo has quit [Quit: danslo]
Beoran_ has joined #ruby
<Xeago> Hanmac1: try geturl (github.com/uams/geturl)
chrishough has joined #ruby
<Xeago> uses filepicker.io only requires a (fake) e-mail
wyhaines has joined #ruby
bb has joined #ruby
interactionjaxsn has joined #ruby
mneorr has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
fermion has quit [Quit: Computer has gone to sleep.]
chandankumar has quit [Quit: Leaving]
nomenkun has joined #ruby
bradhe has joined #ruby
Beoran__ has quit [Ping timeout: 256 seconds]
bradhe has quit [Remote host closed the connection]
etcetera has quit []
bradhe has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
<Xeago> would anyone mind doing a curl to http://ws.spotify.com/search/1/track.json?q=if%20I%20can';t ?
momomomomo has quit [Ping timeout: 256 seconds]
mneorr_ has joined #ruby
<Xeago> and telling me the status code
sayan has quit [Ping timeout: 252 seconds]
sayan has joined #ruby
sayan is now known as include
timmow has joined #ruby
philcrissman_afk is now known as philcrissman
<droppedonmyhead> how do i turn "apple" into [apple] ?
mneorr has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Do you mean "[apple]" or ["apple"]?
celinedior has quit [Quit: celinedior]
<Morrolan> droppedonmyhead: An array containing the string 'apple', or an array containing a variable called 'apple'?
<PigDude> droppedonmyhead, s = 'apple' ; s2 = "[#{apple}]"
<PigDude> sorry, "[#{s}]"
Roa has quit [Ping timeout: 264 seconds]
Targen has joined #ruby
<Morrolan> So now we've got three possible ideas. Heh.
k3rn3lito has quit [Ping timeout: 248 seconds]
<droppedonmyhead> i need [apple] as part of a larger string
athst has quit [Quit: athst]
<Mon_Ouie> So PigDude's answer
Hanmac has joined #ruby
<droppedonmyhead> k lemme try that thanks
AxonetBE has joined #ruby
<Morrolan> For the reference, #{ruby_code_here} inside a (double-quoted) string will execute the enclosed ruby code, and insert its return value in the string.
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
k3rn3lito has joined #ruby
<MrZYX> Xeago: Bad gateway
<droppedonmyhead> hmm…ok sorry misleading i have a variable storing a string that i need to remove the quotes and replace with []
bb has quit [Quit: leaving]
<droppedonmyhead> its not just apple so i can't put the string in directly
<droppedonmyhead> and it doesn't work when i go [@[s]]
<Morrolan> droppedonmyhead: So In the end you want a *string* looking like "[my_variable_here]"?
Targen has quit [Remote host closed the connection]
<droppedonmyhead> yes
<Morrolan> Then use a '#' instead of an '@' and it'll do what you want. ;)
sambao21 has quit [Quit: Computer has gone to sleep.]
crodas has quit [Ping timeout: 256 seconds]
<droppedonmyhead> like #var = input ?
davetoo has quit [Quit: Leaving.]
<Morrolan> s = "sandwich"; puts "[#{s}]"; #=> "[sandwich]"
locriani has quit [Remote host closed the connection]
<Morrolan> Might want to try it out in an interactive shell. :) (irb or pry).
<bean> >> s = "sandwich"; puts "[#{s}]";
<eval-in> bean => [sandwich] ... (http://eval.in/17295)
kofno has quit [Remote host closed the connection]
sambao21 has joined #ruby
AxonetBE has left #ruby [#ruby]
<PigDude> "#{->(s){'['+s+']'}.call('apple')}"
* Morrolan snrks
include is now known as sayan
locriani has joined #ruby
<droppedonmyhead> oh nice it worked, from the couch your { looked like a [
angusiguess has quit [Ping timeout: 276 seconds]
_nitti_ has joined #ruby
benlieb has quit [Quit: benlieb]
_nitti has quit [Read error: Connection reset by peer]
_nitti_ has quit [Remote host closed the connection]
codemonkey010101 has joined #ruby
athst has joined #ruby
codemonkey010101 has quit [Remote host closed the connection]
heliumsocket has joined #ruby
elux has quit [Read error: Connection reset by peer]
elux has joined #ruby
wmoxam has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
nessib has quit [Read error: Connection reset by peer]
mark_locklear has quit [Quit: Leaving]
wmoxam has joined #ruby
huoxito has quit [Quit: Leaving]
__alpaca has joined #ruby
<shevy> droppedonmyhead man
chase-work has quit [Quit: Computer has gone to sleep.]
<shevy> get new glasses!
tvw has joined #ruby
Joel___ has joined #ruby
<shevy> remote IRC watching
rippa has quit [Ping timeout: 240 seconds]
<droppedonmyhead> or a more comfortable chair
<PigDude> you don't crack open a couple, pop a few channels on the ol telly, kick back and lurk shevy?
<PigDude> "ah, reruns in ##linux again"
<shevy> PigDude never, I always sit tight in a chair when I hack and idle on IRC
<PigDude> funny to imagine though
<shevy> I hate using laptops and tablets, I always need a good solid keyboard
braoru has quit [Quit: Leaving]
cheese1756 has quit [Quit: ZNC - http://znc.in]
krawchyk has quit [Remote host closed the connection]
unixinit has quit [Ping timeout: 258 seconds]
jnoob22 has quit [Remote host closed the connection]
Joel has quit [Ping timeout: 258 seconds]
__alpaca has quit [Ping timeout: 255 seconds]
pagios_ has joined #ruby
akam-it has quit [Remote host closed the connection]
pagios has quit [Ping timeout: 276 seconds]
cheese1756 has joined #ruby
nomenkun_ has joined #ruby
skattyadz has joined #ruby
crodas has joined #ruby
Joel___ has quit [Ping timeout: 258 seconds]
miskander has quit [Quit: miskander]
nomenkun_ has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 255 seconds]
miskander has joined #ruby
rton has left #ruby [#ruby]
skattyadz has quit [Client Quit]
rton has joined #ruby
rton has left #ruby [#ruby]
<aedorn> My app is totally web scale now! Hah.... okay, the amusement is gone.
Nisstyre-laptop has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
Guest7234 has quit [Remote host closed the connection]
Macaveli has quit [Quit: This computer has gone to sleep]
Proshot is now known as statarb3
statarb3 has quit [Changing host]
statarb3 has joined #ruby
Michael has joined #ruby
Michael is now known as Guest54285
Guest54285 has quit [Remote host closed the connection]
brotatos has quit [Quit: WeeChat 0.4.1-dev]
haxrbyte has quit [Remote host closed the connection]
indyrl has joined #ruby
s0ber has quit [Read error: Connection reset by peer]
sayan has quit [Quit: Leaving]
haxrbyte has joined #ruby
crodas has quit [Ping timeout: 252 seconds]
mxweas has joined #ruby
nomenkun has joined #ruby
s0ber has joined #ruby
d3c has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
tanathos has joined #ruby
_nitti has quit [Remote host closed the connection]
miskander has quit [Quit: miskander]
dummies_freelanc has joined #ruby
rakl has quit [Quit: sleeping]
_nitti has joined #ruby
slainer68 has joined #ruby
blacktulip has quit [Remote host closed the connection]
fmcgeough has joined #ruby
generalissimo has quit [Remote host closed the connection]
nadirvardar has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
johnnyfuchs1 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
johnnyfuchs has quit [Read error: Operation timed out]
leonidlm has quit [Ping timeout: 252 seconds]
SexyTattoos96 has joined #ruby
cloke_ has joined #ruby
<SexyTattoos96> hi
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
cloke has quit [Ping timeout: 258 seconds]
cloke_ is now known as cloke
Davey has quit [Quit: Computer has gone to sleep.]
Targen has joined #ruby
nomenkun_ has joined #ruby
troessner has joined #ruby
sambao21 has joined #ruby
<Hanmac> nice, the trunk guys break mkmf ;P
alanp has quit []
Michael has joined #ruby
<aedorn> It was destined to be broken
Michael is now known as Guest86700
nomenkun has quit [Ping timeout: 276 seconds]
fmcgeough has quit [Quit: fmcgeough]
nic019 has joined #ruby
retry has quit [Quit: Leaving...]
graeme has joined #ruby
<A124> What is the shortest notation for.. do to every element of array?
alanp has joined #ruby
d3c has quit [Quit: Sleep]
<A124> Like multiply each value by five
geekbri has quit [Remote host closed the connection]
bean has quit [Quit: Computer has gone to sleep.]
nic019 has left #ruby [#ruby]
Targen has quit [Remote host closed the connection]
tanathos has quit [Ping timeout: 256 seconds]
<canton7> A124, [1, 2, 3, 4, 5].map{ |x| x*5 }
Xeago has joined #ruby
nic019 has joined #ruby
jamesaxl has quit [Ping timeout: 258 seconds]
<A124> canton7: Thanks. Thought there is something shorter. As far as my mind can remember, but I thought I stumbled upon something short.
rakl has joined #ruby
angusiguess has joined #ruby
<canton7> if you're applying a function to each, you can use Proc#to_symbol
<canton7> e.g. [1, 2, 3].map(&:to_s)
echevemaster has quit [Ping timeout: 256 seconds]
skattyadz has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
skattyadz has quit [Client Quit]
<A124> canton7: Hm.. noted, thank you :)
xibalba has quit [Changing host]
xibalba has joined #ruby
<banisterfiend> a1 [1,2,3,4].map(&5.method(:*))
<banisterfiend> A124:
<banisterfiend> for the lulz
<A124> banisterfiend: xD
statarb3 is now known as Proshot
<A124> And for education ;)
johnnyfuchs1 has quit [Remote host closed the connection]
crodas has joined #ruby
johnnyfuchs has joined #ruby
alanp has quit []
indyrl has left #ruby [#ruby]
kpshek has quit []
jamescarr has quit [Quit: jamescarr]
alanp has joined #ruby
bghost has left #ruby [#ruby]
nic019 has quit []
afmacedo has quit [Ping timeout: 264 seconds]
agarie has quit [Read error: Connection reset by peer]
tomsthumb has quit [Quit: Leaving.]
snuglepuss has joined #ruby
agarie has joined #ruby
wgosling has quit [Ping timeout: 256 seconds]
sailias has quit [Ping timeout: 276 seconds]
pyr0commie has joined #ruby
nomenkun has joined #ruby
athst has quit [Quit: athst]
foofoobar has quit [Quit: Computer has gone to sleep.]
nomenkun_ has quit [Ping timeout: 256 seconds]
crodas has quit [Read error: Connection reset by peer]
brennanMKE has quit [Remote host closed the connection]
mmlac-bv has quit [Quit: mmlac-bv]
jeffreylevesque has joined #ruby
rodacato has left #ruby [#ruby]
mmlac-bv has joined #ruby
Targen has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte_ has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
robscomputer has joined #ruby
crodas has joined #ruby
bean has joined #ruby
B_w has joined #ruby
brennanMKE has joined #ruby
B_w has left #ruby ["Saliendo"]
jnoob22 has joined #ruby
kpshek has joined #ruby
kpshek has quit [Remote host closed the connection]
athst has joined #ruby
jrajav has joined #ruby
gaahrdner has quit [Remote host closed the connection]
vikhyat_ has quit [Remote host closed the connection]
atmosx has joined #ruby
__alpaca has joined #ruby
gerep has joined #ruby
jnoob22 has quit [Remote host closed the connection]
markalanevans has joined #ruby
_64k has joined #ruby
evenix has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
synfin has left #ruby [#ruby]
axl_ has joined #ruby
heisenmink has quit [Remote host closed the connection]
__alpaca has quit [Ping timeout: 252 seconds]
codecop has quit [Remote host closed the connection]
speed1 has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
w400z has quit []
axl_ has quit [Client Quit]
jbpros has quit [Quit: jbpros]
nadirvardar has quit [Ping timeout: 268 seconds]
jamescarr has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
carloslopes has quit [Remote host closed the connection]
vikhyat has joined #ruby
wesside_ has quit [Quit: Computer has gone to sleep.]
axl_ has joined #ruby
progbyperm has joined #ruby
<speed1> /filter add nicks * irc_366 *
<speed1> :x
nadirvardar has joined #ruby
sambao21 has joined #ruby
mavcunha has quit [Quit: Computer has gone to sleep.]
Speed has quit [Quit: leaving]
speed1 has quit [Quit: WeeChat 0.4.0]
pcarrier has quit [Ping timeout: 255 seconds]
tenmilestereo has quit [Quit: Leaving]
ipalaus has joined #ruby
<ipalaus> morning
invisime has quit [Quit: Leaving.]
<ipalaus> anyone around that has some experience with resque-retry?
peteyg is now known as Guest59754
nateberkopec has quit [Quit: Leaving...]
peta_ has quit [Ping timeout: 252 seconds]
<gerep> Hi all. How can I make this better? if count > 0 puts "The file informed is invalid" else games end
<canton7> gerep, context?
peta_ has joined #ruby
tomsthumb has joined #ruby
<gerep> the count is incremented in a loop(each_line) and if in the line include "initgame" otherwise it will be 0
<gerep> so, if it is 0 it means no "initgames" line, so the file is invalid
<gerep> So, for each new game create the log will have a line "initgame" and that's what I'm counting, so if there is no "initgame" line in the file, the file is invalid
danshultz has quit [Remote host closed the connection]
<canton7> I was trying to figure out why one condition printed something, and the other seemed to be an implicit return value?
mxweas has quit [Quit: Computer has gone to sleep.]
LaPetiteFromage has quit [Quit: LaPetiteFromage]
<canton7> you might want to raise an exception there anyway
mxweas has joined #ruby
<gerep> If the count is 0 I'll stop the program execution, otherwise it will return the games hash
<gerep> ok..I'll do that :D
tjbiddle has joined #ruby
dustint has quit [Ping timeout: 255 seconds]
mxweas has quit [Client Quit]
mikepack has quit [Read error: Connection reset by peer]
agarie has quit [Remote host closed the connection]
mikepack has joined #ruby
pcarrier has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
agarie has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
tjbiddle_ has joined #ruby
Targen has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
djwonk has quit [Quit: djwonk]
weeb1e has quit [Read error: Connection reset by peer]
Targen has joined #ruby
weeb1e has joined #ruby
vikhyat has quit [Remote host closed the connection]
gaahrdner has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
teddyp1cker has quit [Remote host closed the connection]
etcetera has joined #ruby
tjbiddle_ is now known as tjbiddle
fedza has quit []
mockra has quit [Remote host closed the connection]
<nezumi> using the sequel gem how do I do a 'create table' if it doesn't exist?
etcetera has quit [Client Quit]
jerius has quit []
niceguyjames has quit [Quit: Computer has gone to sleep.]
acidjazz has left #ruby [#ruby]
timmow has quit [Read error: Connection reset by peer]
nomenkun_ has joined #ruby
etcetera has joined #ruby
failshell has quit [Remote host closed the connection]
d11wtq has quit [Read error: Connection reset by peer]
Caius has quit [Ping timeout: 252 seconds]
grn_ has joined #ruby
d11wtq has joined #ruby
companion has quit [Ping timeout: 252 seconds]
timmow has joined #ruby
RagingDave has quit [Ping timeout: 252 seconds]
nomenkun has quit [Ping timeout: 252 seconds]
grn has quit [Ping timeout: 252 seconds]
RagingDave has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
Caius has joined #ruby
companion has joined #ruby
retry has joined #ruby
zigomir has quit [Ping timeout: 240 seconds]
wyhaines has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
wyhaines has joined #ruby
axxT has joined #ruby
skattyadz has joined #ruby
mikestok has quit [Quit: Computer has gone to sleep.]
athst has quit [Quit: athst]
huoxito has joined #ruby
cantonic has joined #ruby
miroatme has joined #ruby
jacobw has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
forrest has quit [Quit: Leaving]
mockra has joined #ruby
mxweas has joined #ruby
sjkaliski has joined #ruby
sjkaliski has quit [Client Quit]
huismon has joined #ruby
andrew__ has quit [Remote host closed the connection]
Caius has quit [Ping timeout: 252 seconds]
brtdv has joined #ruby
soulcake has quit [Ping timeout: 252 seconds]
jamesaxl has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
Spooner has joined #ruby
havenn_ has joined #ruby
mxweas has quit [Client Quit]
gungor has quit [Remote host closed the connection]
retry has quit [Quit: Leaving...]
nate_h has quit [Ping timeout: 252 seconds]
osvico has quit []
Caius has joined #ruby
soulcake has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
atmosx has quit [Remote host closed the connection]
pkrnj has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
nomenkun_ has quit [Remote host closed the connection]
miskander has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
breakingthings has quit []
kaiwren has joined #ruby
danshultz has joined #ruby
retry has joined #ruby
kaiwren has quit [Client Quit]
mavcunha has joined #ruby
echevemaster has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
elux has quit [Quit: Bye!]
jamescarr has quit [Quit: jamescarr]
kaiwren has joined #ruby
baphled has quit [Ping timeout: 264 seconds]
dmiller has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
mavcunha has quit [Quit: Textual IRC Client: www.textualapp.com]
Weazy has joined #ruby
xlab_ has joined #ruby
baroquebobcat has joined #ruby
danshult_ has joined #ruby
akhet has quit [Remote host closed the connection]
nomenkun has joined #ruby
danshultz has quit [Ping timeout: 276 seconds]
xlab has quit [Ping timeout: 256 seconds]
nomenkun has quit [Remote host closed the connection]
RagingDave has quit [Quit: Ex-Chat]
robert_ has quit [Read error: Connection reset by peer]
kemist has joined #ruby
kemist has quit [Max SendQ exceeded]
kirun has quit [Quit: Client exiting]
Nisstyre-laptop is now known as Nisstyre
MistuhKurtz has joined #ruby
niceguyjames has joined #ruby
johnnyfuchs has quit [Ping timeout: 248 seconds]
mercwithamouth has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
brotatos has joined #ruby
banisterfiend has joined #ruby
chris___ has joined #ruby
EPIK has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
<banisterfiend> Hanmac: did u like BMO lost
adkron has quit [Ping timeout: 256 seconds]
csaunders has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
philcrissman has quit [Remote host closed the connection]
athst has joined #ruby
aytch has quit [Remote host closed the connection]
angusiguess has joined #ruby
tootubular has quit [Quit: tootubular]
stevechiagozie has quit [Quit: Textual IRC Client: www.textualapp.com]
axl_ has quit [Quit: axl_]
chessguy has joined #ruby
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adkron has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
Targen has quit [Ping timeout: 260 seconds]
cmarques has quit [Ping timeout: 256 seconds]
wagster has quit [Quit: Computer has gone to sleep.]
huoxito has quit [Ping timeout: 248 seconds]
wolcanus_ has joined #ruby
Regis__ has joined #ruby
wolcanus_ has quit [Remote host closed the connection]
idkazuma has joined #ruby
danshult_ has quit [Remote host closed the connection]
GOMADWarrior has quit [Ping timeout: 264 seconds]
pyr0commie has quit [Remote host closed the connection]
pyr0commie has joined #ruby
darrik has quit [Quit: *poof*]
pyr0commie has quit [Remote host closed the connection]
wolcanus has quit [Ping timeout: 268 seconds]
darrik has joined #ruby
Cultofmetatron has joined #ruby
MisterPostIT has quit [Quit: MisterPostIT]
brennanMKE has quit [Remote host closed the connection]
dmiller has joined #ruby
mercwithamouth has joined #ruby
hashmal has quit [Ping timeout: 256 seconds]
chipotle_ has joined #ruby
renanoronfle__ has quit [Quit: This computer has gone to sleep]
retry has quit [Quit: Linkinus - http://linkinus.com]
GOMADWarrior has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
brotatos has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
gyre007 has quit [Remote host closed the connection]
aki1 has joined #ruby
postmodern has joined #ruby
Regis__ has quit [Ping timeout: 276 seconds]
Sigma00 is now known as BetterThanSegal
eliasp has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
eliasp has joined #ruby
adkron has quit [Ping timeout: 256 seconds]
brunoro has joined #ruby
BetterThanSegal is now known as Sigma00
mercwithamouth has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
Guest86700 has quit [Remote host closed the connection]
Falieson has quit [Quit: Falieson]
timmow has quit [Read error: Connection reset by peer]
tjbiddle_ has joined #ruby
theRoUS has quit [Read error: Operation timed out]
picca has joined #ruby
angusiguess has joined #ruby
tjbiddle has quit [Ping timeout: 276 seconds]
timmow has joined #ruby
etcetera has quit []
johnnyfuchs has joined #ruby
tjbiddle has joined #ruby
m8 has quit [Quit: Sto andando via]
shinobi_one has left #ruby [#ruby]
gstamp has joined #ruby
jacobw has quit [Remote host closed the connection]
tjbiddle_ has quit [Ping timeout: 256 seconds]
ariedler has quit [Remote host closed the connection]
jrajav has quit [Quit: I tend to be neutral about apples]
adkron has joined #ruby
shinobi_one1 has joined #ruby
sepp2k has quit [Ping timeout: 258 seconds]
sepp2k has joined #ruby
picca___ has joined #ruby
picca___ has quit [Remote host closed the connection]
picca has quit [Ping timeout: 245 seconds]
spider-mario has quit [Read error: Connection reset by peer]
soulcake has quit [Ping timeout: 252 seconds]
new299 has quit [Ping timeout: 240 seconds]
new299 has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
danneu has quit [Ping timeout: 252 seconds]
etcetera has joined #ruby
soulcake has joined #ruby
mklappst_ has joined #ruby
haxrbyte_ has quit [Remote host closed the connection]
haxrbyte has joined #ruby
cloke has quit [Quit: cloke]
sambao21 has quit [Quit: Computer has gone to sleep.]
wyhaines has quit [Remote host closed the connection]
adkron has quit [Ping timeout: 264 seconds]
ckrailo has quit [Ping timeout: 276 seconds]
uris has quit [Ping timeout: 248 seconds]
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
evenix has joined #ruby
Gues_____ has joined #ruby
Gues_____ is now known as Guest8248
Guest8248 is now known as hashmal
ner0x has joined #ruby
enebo has quit [Quit: enebo]
skattyadz has quit [Quit: skattyadz]
robscomputer has quit [Remote host closed the connection]
evenix has quit [Ping timeout: 245 seconds]
pettsson has quit [Remote host closed the connection]
lsone has quit [Quit: Textual IRC Client: www.textualapp.com]
adkron has joined #ruby
<dankest> What does the g in gsub stand for?
<sam113101> global I'd say
graeme has quit [Quit: graeme]
mklappst_ has quit [Remote host closed the connection]
__alpaca has joined #ruby
xkickflip has quit [Ping timeout: 260 seconds]
bradhe has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
backjlack has quit [Ping timeout: 264 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
freeayu has joined #ruby
xkickflip has joined #ruby
wedgex has quit [Remote host closed the connection]
ToApolytoXaos has quit [Quit: Leaving]
<gerep> In a string, how can I get what matches my regexp?
freeayu__ has joined #ruby
justsee has joined #ruby
pcarrier has quit [Ping timeout: 256 seconds]
<gerep> I have this: TIME_REGEXP = /([01]?[0-9]|2[0-3]):[0-5][0-9]/ and I want to get what matches
__alpaca has quit [Ping timeout: 252 seconds]
LaPetiteFromage has joined #ruby
nanothief has joined #ruby
jonathanwallace has quit [Ping timeout: 256 seconds]
io_syl has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
pcarrier has joined #ruby
graeme has joined #ruby
freeayu has quit [Ping timeout: 264 seconds]
Hobogrammer has joined #ruby
Mattix has joined #ruby
Mattix has quit [Read error: Connection reset by peer]
freeayu__ has quit [Ping timeout: 256 seconds]
Mattix has joined #ruby
nomenkun has joined #ruby
<Spooner> TIME_REGEXP.matches(astring).captures[0]
kaiwren has quit [Ping timeout: 268 seconds]
<Spooner> gerep, Unless you mean the full match, not the capture (what is inside the () ).
<gerep> Spooner: that worked =)
<gerep> thanks
danneu has joined #ruby
ntzrmtthihu777 has joined #ruby
<Catharz> gerep: you can also use string.match(/(?<value_name>.*)/) to pull out elements of it into a hash if you need
<gerep> Catharz: thanks =)
<Spooner> Less useful when you are only making one capture (but definitely good for multiples).
Florian has joined #ruby
kaiwren has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
gaahrdner has quit [Remote host closed the connection]
LennyLinux has quit [Remote host closed the connection]
chris___ is now known as codesoda
ner0x has quit [Quit: Leaving]
mfridh has quit [Read error: Operation timed out]
Nahra has quit [Ping timeout: 264 seconds]
nga4 has quit [Ping timeout: 252 seconds]
<gerep> I'm making a loop 21 times, what I'm trying to achieve is a hash with 21 keys https://gist.github.com/anonymous/5448323
<gerep> what am I doing wrong?
Mattix has quit [Quit: Leaving]
<gerep> A hash item would be games[1] = 1, games[2] = 2, etc
dummies_freelanc has left #ruby [#ruby]
germanstudent has quit [K-Lined]
danshultz has joined #ruby
ariedler has joined #ruby
<gerep> My code is returning a hash like this: {"21"=>21}, only on item
tomsthumb has quit [Quit: Leaving.]
<miroatme> try @games[count_games] = count_games
<miroatme> maybe
brunoro has quit [Ping timeout: 255 seconds]
Florian has quit [Quit: Florian]
progbyperm has quit [Read error: Connection reset by peer]
danneu has quit [Quit: WeeChat 0.3.8]
<gerep> miroatme: it worked, thanks
<miroatme> yeah
nezumi has quit [Ping timeout: 256 seconds]
<L8D> How do I define the nil value of a hash?
<miroatme> becuse each time your loop runs it overwrites
<miroatme> the hash value
<L8D> I know `hash.new("asdf")`
<miroatme> with the way i said it is adding to the hash
nooodl has quit [Ping timeout: 258 seconds]
<miroatme> while retaining the value
<L8D> But I can't use `hash.new("asdf") end` or `hash/new("Asdf") {}`
<miroatme> hash = {}
<miroatme> ?
<L8D> Oh, it does add to the hash?
mfridh has joined #ruby
<miroatme> that was for gerep
<L8D> Oh
<miroatme> but what are you trying to do
<miroatme> ?
<L8D> Create a hash with a default value
<L8D> From what I've found, I can use `hash.new("asdf")`
<miroatme> yeah..
danshultz has quit [Ping timeout: 268 seconds]
<L8D> But then I'd have to append to it.
_64k has quit [Ping timeout: 248 seconds]
<miroatme> so you want the deafult to be nil
<miroatme> ?
<L8D> Instead of define the table in the same statement
<L8D> Let's say I want the default to be 'asdf'
<L8D> How do I do that to either an already existing hash, or when defining a hash?
LennyLinux has joined #ruby
<shinobi_one1> L8D: I don't understand your problem if you already know how to create a new hash with a default?
<shinobi_one1> L8D: On an existing hash you could use hash.default = "asdf"
jovy88 has quit [Read error: Connection reset by peer]
<L8D> But I don't want to create a hash
<L8D> I want to add it to either an already existing hash, or when I'm creating a hash with keys.
lethjakman has quit [Ping timeout: 252 seconds]
jovy88 has joined #ruby
<shinobi_one1> L8D: hashobject.default = "some default"
<L8D> I can't do `hash = Hash.new('asdf') { asdf: "blah" }`
s2013 has joined #ruby
<L8D> .default is what I need
<L8D> thanls
<L8D> thanks*
<shinobi_one1> L8D: the default is for the value not the key
<L8D> I know
marcdel has quit [Quit: marcdel]
<L8D> The default is the value of an undefined key
graeme has quit [Read error: Connection reset by peer]
<shinobi_one1> L8D: correct, so you're all good then? :)
Nahra has joined #ruby
mikepack has quit [Remote host closed the connection]
<L8D> I think so
mklappst_ has joined #ruby
miskander has quit [Quit: miskander]
BSaboia has quit [Read error: Connection reset by peer]
timkohrumel has quit [Remote host closed the connection]
Nahra has quit [Ping timeout: 252 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
TMM has quit [Ping timeout: 256 seconds]
d11wtq has quit [Ping timeout: 252 seconds]
csaunders has joined #ruby
brennanMKE has joined #ruby
brianpWins has quit [Quit: brianpWins]
jonathanwallace has joined #ruby
bitcycle has joined #ruby
predator117 has joined #ruby
nga4 has joined #ruby
mklappst_ has quit [Ping timeout: 240 seconds]
<bitcycle> Hey all. Is it possible to configure log4r loggers globally?
tylersmith has quit [Quit: tylersmith]
graeme has joined #ruby
nkts has joined #ruby
csaunders has quit [Client Quit]
agarie_ has joined #ruby
AndChat| has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
cooldman224 has joined #ruby
marcdel has joined #ruby
predator217 has quit [Ping timeout: 252 seconds]
jgarvey has quit [Quit: Leaving]
Michael__ has joined #ruby
Banistergalaxy has joined #ruby
gerep has quit [Ping timeout: 264 seconds]
Hobogrammer has quit [Read error: Connection reset by peer]
LennyLinux has quit [Remote host closed the connection]
agarie has quit [Ping timeout: 276 seconds]
chrishough has quit [Quit: chrishough]
wgosling has joined #ruby
snearch has quit [Quit: Verlassend]
<wgosling> is there something i can put in make Rakefile that does the equivilent of --suppress-backtrace '.*' ?
Michael__ has quit [Ping timeout: 255 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
ffranz has quit [Quit: Leaving]
bitcycle has quit [Ping timeout: 245 seconds]
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]