barttenbrinke has quit [Ping timeout: 246 seconds]
bf4 has quit [Ping timeout: 246 seconds]
nXqd has quit [Read error: Operation timed out]
mikecmpbll has joined #ruby-lang
xcess_denied has quit [Quit: Leaving...]
benlovell has quit [Ping timeout: 252 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
bastilian has quit [Read error: Connection reset by peer]
bastilian_ has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 272 seconds]
unrealhoang has joined #ruby-lang
sandeepk has quit [Quit: Leaving...]
Xzyx987X has joined #ruby-lang
mfmfmfmfmfmf has joined #ruby-lang
datanoise has joined #ruby-lang
datanoise has quit [Ping timeout: 246 seconds]
barttenb_ has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
mfmfmfmfmfmf has quit [Ping timeout: 272 seconds]
barttenbrinke has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
marr has quit [Ping timeout: 245 seconds]
hogeo has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
schaary has joined #ruby-lang
andrewvos has joined #ruby-lang
snarfmason has quit [Read error: Connection reset by peer]
lacrosse_ has joined #ruby-lang
<andrewvos>
Hello. I was under the impression that `bundle install --local` after a `bundle package` would be a bit faster... It's not really. Am I missing a switch or something?
<andrewvos>
All gems are in vendor/cache after a package
bungoman has joined #ruby-lang
xcess_denied has joined #ruby-lang
sandeepk has joined #ruby-lang
jaska has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
h_kon has joined #ruby-lang
snarfmason has joined #ruby-lang
bungoman has quit [Ping timeout: 264 seconds]
mfmfmfmfmfmf has joined #ruby-lang
postmodern has quit [Quit: Leaving]
benlovell has joined #ruby-lang
nofxx has joined #ruby-lang
mfmfmfmfmfmf has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby-lang
jaska has left #ruby-lang [#ruby-lang]
nofxx has quit [Ping timeout: 240 seconds]
lubro1 has joined #ruby-lang
xcess_denied has quit [Quit: Leaving...]
unrealhoang has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lubro1 has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby-lang
barttenbrinke has joined #ruby-lang
mnngfltg has joined #ruby-lang
heftig has joined #ruby-lang
bf4 has joined #ruby-lang
sandeepk has quit [Quit: Leaving...]
soba has quit [Ping timeout: 240 seconds]
xcess_denied has joined #ruby-lang
sandeepk has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
realDAB has joined #ruby-lang
relix has joined #ruby-lang
bf4 has quit [Ping timeout: 264 seconds]
barttenbrinke has quit [Ping timeout: 264 seconds]
<yorickpeterse>
Found the best bug of the week, borken by yours truly:
<yorickpeterse>
USER_AGENTS.shuffle
<yorickpeterse>
and here I was wondering why this website gave back 400s
heftig has quit [Ping timeout: 264 seconds]
nathanstitt has joined #ruby-lang
heftig has joined #ruby-lang
NomadiContent has quit [Quit: NomadiContent]
cored has joined #ruby-lang
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
unrealhoang has joined #ruby-lang
bungoman has joined #ruby-lang
NomadiContent has joined #ruby-lang
datanoise has joined #ruby-lang
mytrile has joined #ruby-lang
nathanstitt has quit [Client Quit]
mytrile has quit []
datanoise has quit [Ping timeout: 272 seconds]
yalue has joined #ruby-lang
unrealho_ has joined #ruby-lang
unrealhoang has quit [Ping timeout: 272 seconds]
heftig has quit [Quit: Quitting]
heftig has joined #ruby-lang
imperator has joined #ruby-lang
realDAB has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
tkuchiki has quit [Ping timeout: 248 seconds]
nXqd has joined #ruby-lang
nXqd has quit [Ping timeout: 272 seconds]
bjh13 has joined #ruby-lang
momomomomo has joined #ruby-lang
scampbell has joined #ruby-lang
mistym has joined #ruby-lang
serroft has joined #ruby-lang
nofxx has joined #ruby-lang
mannyt has joined #ruby-lang
mistym has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
hhatch has quit [Ping timeout: 252 seconds]
nofxx has quit [Ping timeout: 252 seconds]
bjh13 has quit [Quit: leaving]
hogeo has joined #ruby-lang
bjh13 has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
lacrosse_ has joined #ruby-lang
nigerianceo has joined #ruby-lang
nathanstitt has joined #ruby-lang
dhruvasagar has joined #ruby-lang
bf4 has joined #ruby-lang
nXqd has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 245 seconds]
Karunamon has joined #ruby-lang
NomadiContent has quit [Quit: NomadiContent]
NomadiContent has joined #ruby-lang
NomadiContent has quit [Client Quit]
<Karunamon>
Hey folks, trying to find out if my understanding of inheritance is busted or I'm doing something else wrong. I've written a module that, when included elsewhere, requires a bunch of files containing Active Record classes. Problem is, when I try to use those classes, I get a NameError. Gist: https://gist.github.com/Karunamon/7642592
<nXqd>
hi guys, what is the sites you use to get updated ruby news ?
robbyoconnor has quit [Ping timeout: 272 seconds]
<maloik_>
I quite like the ruby weekly newsletter
<Karunamon>
+1 to that. The whole archive is available on their site too.
bzalasky has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
h_kon has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
riffraff_ has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
h_kon has quit [Ping timeout: 248 seconds]
hogeo has joined #ruby-lang
rippa has joined #ruby-lang
riffraff_ has left #ruby-lang [#ruby-lang]
riffraff has joined #ruby-lang
<workmad3>
Karunamon: you definitely see the file names you expect with your 'puts file' line?
seanlinsley has quit [Quit: seanlinsley]
imperator has quit [Ping timeout: 245 seconds]
sandeepk has joined #ruby-lang
sandeepk has left #ruby-lang [#ruby-lang]
sandeepk has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 272 seconds]
<Karunamon>
workmad3: that's my other problem, I think this framework (Cinch IRC bot) is intercepting console output so I never se anything
<Karunamon>
problems upon problems as it were
<workmad3>
Karunamon: ok, well my suspicion is that you're not loading your model files
scampbell has quit [Ping timeout: 252 seconds]
<workmad3>
Karunamon: because the model location relative to where you start the command isn't '../app/models' ;)
<workmad3>
Karunamon: so I suspect if you did 'File.dirname(__FILE__) + "/../app/models/*" ' in your self.included you may have better luck
<workmad3>
Karunamon: just wanted to double-check that with your confirmed output
Czupa has joined #ruby-lang
NomadiContent has joined #ruby-lang
<realDAB>
Karunamon: on line 14 you've got << instead of <. I don't know it that's the case inside your actual model file.
bzalasky has quit [Remote host closed the connection]
rue_XIW has quit [Remote host closed the connection]
<Karunamon>
realDAB: That was a typo in my gist, it is indeed single
bzalasky has joined #ruby-lang
rue|w has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
<Karunamon>
workmad3: That was my big question: doing a require inside a module which is included inside something else makes everything defined in those requires accessible in the context of whatever you included it in
rue|w has joined #ruby-lang
<workmad3>
Karunamon: it does
<workmad3>
Karunamon: but your path to the require needs to be correct
<workmad3>
Karunamon: and 'File.expand_path("../app/models/")' will be expanded with your CWD, not the directory the file containing that line is in
<Karunamon>
workmad3: There's where some confusion is, then. If I drop to a pry shell in the middle of the include, the code works as written
bzalasky has quit [Ping timeout: 246 seconds]
wmoxam_ has joined #ruby-lang
<workmad3>
Karunamon: as I said, try 'Dir[File.dirname(__FILE__) + "/../app/models/*.rb"].each{|f| require f}' ;)
<workmad3>
(somewhat reworded :) )
realDAB has quit [Quit: realDAB]
rue|w has quit [Ping timeout: 264 seconds]
NomadiContent has quit [Quit: NomadiContent]
<Karunamon>
workmad3: Nope. same thing.
wmoxam has quit [Ping timeout: 252 seconds]
<workmad3>
Karunamon: hmm...
cored has quit [Ping timeout: 272 seconds]
nofxx has joined #ruby-lang
<Karunamon>
would be really nice if I could find out why I can't get any proper console output - the logger takes over everything.
wmoxam has joined #ruby-lang
realDAB has joined #ruby-lang
mikecmpbll has joined #ruby-lang
bzalasky has joined #ruby-lang
lubro1 has joined #ruby-lang
mistym has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
fijimunkii has joined #ruby-lang
imperator has joined #ruby-lang
lubro1 has quit [Ping timeout: 272 seconds]
lun___ has joined #ruby-lang
lubro1 has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
benwoody has joined #ruby-lang
lun__ has quit [Ping timeout: 248 seconds]
nathanstitt has quit [Quit: I growing sleepy]
hogeo has quit [Remote host closed the connection]
bougyman has joined #ruby-lang
mistym has quit [Remote host closed the connection]
barttenbrinke has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
bzalasky has joined #ruby-lang
havenwood has joined #ruby-lang
<whitequark>
yorickpeterse: it's the default travis rbx thing
<yorickpeterse>
thing is, rbx-18mode doesn't exist anymore I Think
ldnunes has joined #ruby-lang
bzalasky has quit [Ping timeout: 272 seconds]
datanoise has joined #ruby-lang
robbyoconnor has joined #ruby-lang
<riffraff>
Karunamon, why don't you try using an append file for your debug prints?
<riffraff>
e.g. MYERR= open('out.myerr', 'a+'); MYERR.puts("debug")
<Karunamon>
riffraff: Just found the problem there.. the default settings on my IDE was scrolling the output off screen before I could locate it
<riffraff>
ah :)
<Karunamon>
Thought I was going crazy for a sec :3
<Karunamon>
so if i do: puts Dir.pwd
<Karunamon>
i get the project root folder as the output
<Karunamon>
under that is the app/models/hierarchy
schaary has joined #ruby-lang
cads has joined #ruby-lang
<Karunamon>
Got it. I needed to lose the __FILE__ on the original code
<Karunamon>
Dir.glob(File.expand_path('app/models/*.rb')).each { |f| require f }
yfeldblum has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 272 seconds]
<Karunamon>
moral of today's story: debugging blind is no way to go through life, son
mistym has joined #ruby-lang
<Karunamon>
thanks for the help riffraff :)
xcess_denied has joined #ruby-lang
dhruvasagar has joined #ruby-lang
nathanstitt has joined #ruby-lang
seanlinsley has joined #ruby-lang
wmoxam_ has quit [Quit: leaving]
xcess_denied has quit [Read error: Connection reset by peer]
manoj_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
hogeo has joined #ruby-lang
bungoman_ has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
bungoman has quit [Ping timeout: 272 seconds]
hogeo has quit [Ping timeout: 245 seconds]
bungoman has joined #ruby-lang
bungoman_ has quit [Read error: Connection reset by peer]
macmartine has joined #ruby-lang
bzalasky has joined #ruby-lang
shinnya has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
kek has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
yfeldblum has quit [Remote host closed the connection]
A124 has quit [Remote host closed the connection]
bzalasky_ has joined #ruby-lang
A124 has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
dalegribble80 has joined #ruby-lang
nofxx has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
MaddinXx has joined #ruby-lang
cannie_ has quit [Ping timeout: 246 seconds]
tylersmith has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
nofxx has quit [Ping timeout: 265 seconds]
hogeo has joined #ruby-lang
benwoody has quit [Quit: benwoody]
cannie has joined #ruby-lang
schaary has quit [Quit: I sleep ZZZzzz…]
hogeo has quit [Ping timeout: 272 seconds]
benwoody has joined #ruby-lang
cannie_ has joined #ruby-lang
iliketur_ has joined #ruby-lang
setmeaway has joined #ruby-lang
vsorlov has joined #ruby-lang
cannie has quit [Ping timeout: 252 seconds]
scampbell has joined #ruby-lang
Snaury has quit [Quit: Leaving.]
Snaury has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
imperator has quit [Ping timeout: 246 seconds]
tharindu has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
CaptainJet has quit []
sausyn has quit []
hhatch has joined #ruby-lang
jsullivandigs has joined #ruby-lang
elcontrastador has joined #ruby-lang
CaptainJet has joined #ruby-lang
sandeepk has quit [Read error: Connection reset by peer]
sandeepk has joined #ruby-lang
paul_k has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky_ has quit [Read error: Connection reset by peer]
schaary has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
cored has quit [Ping timeout: 246 seconds]
tharindu_ has joined #ruby-lang
tharindu has quit [Ping timeout: 245 seconds]
benwoody has quit [Quit: benwoody]
houndstooth has joined #ruby-lang
mmorga has joined #ruby-lang
tbuehlmann has quit [Quit: Konversation terminated!]
mnngfltg has quit [Remote host closed the connection]
ruby-lang942 has joined #ruby-lang
tharindu has joined #ruby-lang
tharindu_ has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
macmartine has quit []
cored has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<ben5e>
dorei: thanks, is this what you would suggest for troubleshooting a read_nonblock related issue on a TCPSocket?
snarfmason has quit [Read error: Connection reset by peer]
<ben5e>
dorei: we are getting different results on different OS's which is why I'm trying to debug the internals of TCPSocket
cored has quit [Ping timeout: 245 seconds]
rwk1 has quit [Remote host closed the connection]
CoreData1 has joined #ruby-lang
snarfmason has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
CoreData has quit [Ping timeout: 272 seconds]
realDAB has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
<dorei>
ben5e: i think for such low level inspection, wireshark/tcpdump would be ideal, since you can inspect what's actually travelling over the network
hogeo has quit [Ping timeout: 245 seconds]
michael_mbp is now known as zz_michael_mbp
benwoody has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
marr has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
MaddinXx_ has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zz_michael_mbp is now known as michael_mbp
bjoska has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
mannyt_ has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
mannyt_ is now known as mannyt
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
mdedetrich has joined #ruby-lang
elia has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
dorei has quit [Read error: Connection reset by peer]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
mistym is now known as mistym_lunch
bzalasky has quit [Ping timeout: 264 seconds]
JoshuaPaling has joined #ruby-lang
yfeldblum has joined #ruby-lang
fijimunkii has quit [Ping timeout: 245 seconds]
r0bgleeson has joined #ruby-lang
nathanstitt has joined #ruby-lang
kirin` has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
nathanstitt has quit [Read error: Connection reset by peer]
fijimunkii has joined #ruby-lang
mistym has joined #ruby-lang
benlovell has joined #ruby-lang
realDAB has quit [Quit: realDAB]
scampbell has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
benlovell has quit [Ping timeout: 246 seconds]
kirin` has joined #ruby-lang
havenwood has joined #ruby-lang
zoo-zed has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
<mark06>
yorickpeterse: ruby works with arbitrary length numbers... log doesn't work, but division for example, does with that 'really bigger' number
<mark06>
akerl: due to?
iliketur_ has joined #ruby-lang
<akerl>
?
<akerl>
It's overflowing due to the lunar cycle
bf4 has quit [Read error: Operation timed out]
<mark06>
havenwood: linux, right? can you try 2.0.0 out?
<akerl>
That, or it's overflowing due to an overflow in the size of the value
<mark06>
akerl: thank you so much!
michael_mbp is now known as zz_michael_mbp
arBmind has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
hogeo has quit [Ping timeout: 245 seconds]
<havenwood>
mark06: 2.1.0preview1 & 2.1.0preview2 a Float but 2.0.0-p247- is Infinity
nathanstitt has joined #ruby-lang
jonahR has joined #ruby-lang
fijimunkii has quit [Ping timeout: 248 seconds]
<mark06>
havenwood: thanks, I'm on windows, you linux?
<mark06>
well, ideone probably is... sounds like a fixed bug to me...
MaddinXx_ has quit [Quit: Leaving...]
<havenwood>
mark06: some result in OS X and Linux, i don't think a bug so much as implementation detail on the point of inflection for this, but dunno
nathanstitt has quit [Read error: Connection reset by peer]
<mark06>
ok, thanks anyway...
cnivolle has quit []
mark06 has left #ruby-lang [#ruby-lang]
adambeynon has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
nathanstitt has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
seanlinsley has joined #ruby-lang
Johz has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
nisstyre has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
woollyams has joined #ruby-lang
<Mon_Ouie>
I know he left, but the overflow was on the conversion from integer to float for n
elia has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie>
(It's 1e309, which more than can be placed in a float)
fumduq has quit [Ping timeout: 240 seconds]
fumduq has joined #ruby-lang
nathanstitt has quit [Ping timeout: 252 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
ledestin has joined #ruby-lang
mfmfmfmfmfmf has joined #ruby-lang
benwoody has quit [Quit: benwoody]
<postmodern>
is there a small library or something in stdlib for quickly implementing on_* style callbacks?
jonahR has quit [Quit: jonahR]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
jonahR has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
lubro1 has quit [Ping timeout: 246 seconds]
nathanstitt has joined #ruby-lang
realDAB has joined #ruby-lang
styped has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
mdedetrich has quit [Quit: Computer has gone to sleep.]
nXqd has quit [Quit: leaving]
bjoska has quit [Ping timeout: 245 seconds]
mfmfmfmfmfmf has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
mdedetrich has joined #ruby-lang
mistym_lunch is now known as mistym
zz_michael_mbp is now known as michael_mbp
mmorga has quit [Remote host closed the connection]
mfmfmfmfmfmf has joined #ruby-lang
serroft has quit [Quit: Leaving.]
riffraff has quit [Quit: Leaving]
<|jemc|>
anybody know of a markup language that's similar to LaTeX in power and extensibility - but more modern and not as clunky or inconsistent as LaTeX?
enebo has quit [Quit: enebo]
ledestin has quit [Quit: ledestin]
bzalasky has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
enebo has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
nathanstitt has quit [Read error: Connection reset by peer]
zz_michael_mbp is now known as michael_mbp
hogeo has joined #ruby-lang
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]