<yorickpeterse>
this reminds me of too much code I've seen which behaved like `foo.flatten.compact.uniq.flatten.lol.more.methods`
Iskarlar has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
siwica has quit [Ping timeout: 252 seconds]
cantonic has quit [Quit: cantonic]
shubhamgoyal has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
loincloth has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caseypatrickdris has joined #ruby-lang
druznek has joined #ruby-lang
elwampa_ has joined #ruby-lang
elwampa has joined #ruby-lang
elwampa_ has quit [Client Quit]
loincloth has quit [Ping timeout: 258 seconds]
siwica has joined #ruby-lang
pithagorians has joined #ruby-lang
Iskarlar has joined #ruby-lang
<pithagorians>
hi guys, any idea why i get such an error "Could not find thor-0.19.1.gem for installation" when doing bundle package --all for a provided ror app ?
<yorickpeterse>
because you need to run `bundle install` first
<pithagorians>
what if i don't need to install them ?
<pithagorians>
but just to package
arBmind has quit [Quit: Leaving.]
<pithagorians>
if i do /usr/local/bin/bundle install i get the same
<pithagorians>
Could not find thor-0.19.1.gem for installation
<yorickpeterse>
You can't package something you don't have installed
<yorickpeterse>
and that sounds like your environment is messed up. Are you using any Ruby version managers?
<pithagorians>
no
<yorickpeterse>
does `gem install thor -v 0.19.1` work?
Forgetful_Lion has quit [Remote host closed the connection]
<pithagorians>
yes
<pithagorians>
it worked
<yorickpeterse>
Does your Gemfile have a line along the lines of `source '....'` ?
caseypatrickdris has quit [Remote host closed the connection]
<yorickpeterse>
if instead of `/usr/local/bin/bundle` you just use `bundle` (without the full path)?
nofxx has quit [Ping timeout: 240 seconds]
chinmay_dd has joined #ruby-lang
<pithagorians>
ive first installed bundler from apt
mostlybadfly has joined #ruby-lang
<pithagorians>
than tried to do package
<pithagorians>
and it complained about the version of bundler
<pithagorians>
and i purged it and installed as gem
<pithagorians>
so now if i just call bundle it says bash: /usr/bin/bundle: No such file or directory
jds has joined #ruby-lang
<yorickpeterse>
Hm, sounds like it installed things in the wrong directory
<jds>
Is GC.start guaranteed to clean up all objects that no longer have references? Or is it just a hint to the collector that now might be a good time to cleanup?
<yorickpeterse>
jds: No, it's a hint
<jds>
I'm calling GC.start, then looking at stuff in ObjectSpace, and I'm seeing objects there that I'm struggling to explain
<jds>
yorickpeterse: damn. Is there a way of giving it a stronger hint?
<yorickpeterse>
also both JRuby and Rubinius completely ignore it, so it's useless on those platforms
arBmind has joined #ruby-lang
<yorickpeterse>
jds: No, you shouldn't fiddle with the GC manually
<yorickpeterse>
If you're seeing objects that should be freed I believe on MRI ObjectSpace has some stuff for tracing where objects are referenced from
Sadin has joined #ruby-lang
<yorickpeterse>
I think that requires something like `require 'objspace'` though
<yorickpeterse>
or require 'ospace', something like that
<yorickpeterse>
objspace apparently
druznek has quit [Quit: Leaving]
<jds>
I'll take a look. I've got a big rails app that easily consumes 700MB per instance, and I'm really struggling to figure out where all that space is going
<yorickpeterse>
jds: tools such as valgrind (and Massif in particular) should be able to help with this
<yorickpeterse>
There's some Gem that traces allocations as well on MRI, but it does so by fully disabling the GC during a tracing run
Sadin has quit [Remote host closed the connection]
<yorickpeterse>
which basically means your app is almost guaranteed to run out of memory
shubhamgoyal has quit [Remote host closed the connection]
Sadin has joined #ruby-lang
hinbody has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamninja has joined #ruby-lang
nofxx has joined #ruby-lang
tcopeland has joined #ruby-lang
<jds>
Is there a way of counting the number of allocated symbols?
<jds>
ObjectSpace doesn't seem to know about them
<jds>
Oh, nvm. Symbol.all_symbols
caseypatrickdris has joined #ruby-lang
Iskarlar has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
Iskarlar has quit [Client Quit]
Sadin has joined #ruby-lang
Iskarlar has joined #ruby-lang
<jds>
Eeenteresting. Several thousand :_inline_template__73387703_115045540 symbols
<yorickpeterse>
jds: HAML?
<jds>
Yep
<jds>
Well, I do use HAML. Not sure yet whether it's the cause
<yorickpeterse>
HAML isn't exactly the most efficient of template libraries
<apeiros_>
I've repeatedly heard SLIM was a lot more efficient. never bothered to look up actual comparisons, though.
caseypatrickdris has quit [Remote host closed the connection]
<yorickpeterse>
same here
scampbell has joined #ruby-lang
sankaber has joined #ruby-lang
goodcodeguy has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
sankaber has quit [Read error: Connection reset by peer]
<whitequark>
frontend devs i used to talk to said the same about slim
sankaber has joined #ruby-lang
yfeldblum has joined #ruby-lang
marr has joined #ruby-lang
malconis has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
malconis has quit [Remote host closed the connection]
<jds>
Rails repeatedly creates methods named, eg, _inline_template__73387703_115045540. It later removes the method, but since ruby's interned the method name it leaves a trace behind
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
cantonic has joined #ruby-lang
gix has quit [Ping timeout: 244 seconds]
gix has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
shambrarian has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
bin7me has joined #ruby-lang
setanta_ has joined #ruby-lang
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby-lang
[H]unt3r has joined #ruby-lang
arBmind has joined #ruby-lang
yfeldblum has joined #ruby-lang
arBmind has quit [Client Quit]
iamninja has joined #ruby-lang
kiyote23 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
stamina has joined #ruby-lang
kapil__ has quit [Quit: Connection closed for inactivity]
elwampa has quit [Ping timeout: 244 seconds]
cmhobbs has joined #ruby-lang
klmlfl has joined #ruby-lang
jxie has quit [Ping timeout: 265 seconds]
|jemc| has quit [Ping timeout: 264 seconds]
solars has quit [Ping timeout: 272 seconds]
arBmind has joined #ruby-lang
cmhobbs has quit [Ping timeout: 264 seconds]
gbanis has joined #ruby-lang
rahul_j has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
tkuchiki has quit [Ping timeout: 245 seconds]
corecode has joined #ruby-lang
<corecode>
hi
<corecode>
i'm trying to track down a bug - what could be the reason that on my mri 2.1.2 i can't require 'fiddle' - I get a LoadError
elwampa has joined #ruby-lang
elwampa has quit [Client Quit]
<corecode>
isn't that part of the standard lib? i can see it in rvm's ruby source tree, but it doesn't seem to be installed
Bwild has joined #ruby-lang
<corecode>
ah, it failed to build -_-
stamina has quit [Ping timeout: 245 seconds]
cmhobbs has quit [Ping timeout: 244 seconds]
Yserz_ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
midhir has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
mattyohe has joined #ruby-lang
midhir has quit [Read error: Connection reset by peer]
midhir has joined #ruby-lang
cantonic has quit [Quit: cantonic]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
prc has joined #ruby-lang
prc has left #ruby-lang [#ruby-lang]
kiyote23 has joined #ruby-lang
mliqu has quit [Quit: Leaving]
gwendall has joined #ruby-lang
pithagorians has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
yfeldblum has joined #ruby-lang
cmhobbs has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
cantonic has joined #ruby-lang
elia has joined #ruby-lang
__butch__ has joined #ruby-lang
deryl has joined #ruby-lang
yfeldblum has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
cantonic has quit [Client Quit]
cantonic has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
David_H_Smith has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
elia has quit [Ping timeout: 245 seconds]
ahmetkapikiran has joined #ruby-lang
tsou has joined #ruby-lang
Iskarlar has joined #ruby-lang
symm- has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
momomomomo has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
momomomomo has quit [Client Quit]
tenderlove has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
hahuang61 has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby-lang
hahuang61 has quit [Ping timeout: 265 seconds]
<headius>
jds: as far as I know, GC.start on MRI actually forces a full GC
solars has joined #ruby-lang
<headius>
just to clarify whether it directly triggers GC or not
saltsa has quit [Ping timeout: 250 seconds]
SHyx0rmZ has quit [Ping timeout: 264 seconds]
corecode has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
Miphix has quit [Quit: Leaving]
gwendall has joined #ruby-lang
rahul_j has quit [Ping timeout: 244 seconds]
rahul_j has joined #ruby-lang
oleo has quit [Ping timeout: 244 seconds]
oleo has joined #ruby-lang
snoopybbt has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snoopybbt has left #ruby-lang [#ruby-lang]
__butch__ has quit [Quit: Leaving.]
Iskarlar has joined #ruby-lang
__butch__ has joined #ruby-lang
RobertBirnie has joined #ruby-lang
ahmetkapikiran has quit [Quit: ahmetkapikiran]
yfeldblum has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
ahmetkapikiran has quit [Client Quit]
yfeldblum has quit [Ping timeout: 245 seconds]
bin7me has quit [Read error: Connection reset by peer]
malconis has joined #ruby-lang
deegill has joined #ruby-lang
deegill has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
havenwood has joined #ruby-lang
David_H_Smith has quit []
hahuang61 has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
mistym has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
Blackhol_ has quit [Remote host closed the connection]
saltsa has joined #ruby-lang
[H]unt3r has quit [Quit: Leaving]
deegill has joined #ruby-lang
Blackhol_ has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mnngfltg has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
gbanis has quit [Quit: gbanis]
djbkd has joined #ruby-lang
nathanstitt has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
gwendall has quit []
GBrawl has joined #ruby-lang
arBmind has joined #ruby-lang
ironcame1 is now known as ironcamel
simi has quit [Ping timeout: 244 seconds]
jgpawletko has quit [Quit: jgpawletko]
jgpawletko has joined #ruby-lang
hahuang61 has quit [Quit: WeeChat 1.0.1]
hahuang61 has joined #ruby-lang
yfeldblum has joined #ruby-lang
kiyote23 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 244 seconds]
Guest93887 has joined #ruby-lang
solars has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby-lang
Guest93887 is now known as mattwildig
momomomomo has quit [Quit: momomomomo]
malconis has quit [Ping timeout: 240 seconds]
malconis has joined #ruby-lang
mattwildig has quit []
momomomomo has joined #ruby-lang
ur5us has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
scampbell has joined #ruby-lang
nifoc has quit [Remote host closed the connection]
nifoc has joined #ruby-lang
solars has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
amsi has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
thisirs has quit [Remote host closed the connection]
thisirs` has joined #ruby-lang
AKASkip has joined #ruby-lang
jgpawletko is now known as jgpawletko_lunch
cornerma1 has joined #ruby-lang
matp_ has joined #ruby-lang
matp has quit [Ping timeout: 240 seconds]
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
Musashi007 has joined #ruby-lang
darix has quit [Quit: may the packets be with you...]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GBrawl has quit [Quit: (null)]
momomomomo has quit [Ping timeout: 244 seconds]
momomomomo has joined #ruby-lang
mattwildig has joined #ruby-lang
shinnya has quit [Ping timeout: 255 seconds]
darix has joined #ruby-lang
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 240 seconds]
momomomomo_ is now known as momomomomo
JohnBat26 has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby-lang
chills42 has joined #ruby-lang
shinnya has joined #ruby-lang
jgpawletko_lunch is now known as jgpawletko
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
fclausen has joined #ruby-lang
djellemah has joined #ruby-lang
djellemah has quit [Client Quit]
rahul_j has quit [Quit: rahul_j]
_fritchie has joined #ruby-lang
_fritchi_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
_fritchie has quit [Read error: Connection reset by peer]
tockitj has joined #ruby-lang
_fritchie has joined #ruby-lang
_fritchi_ has quit [Read error: Connection reset by peer]
aef has quit [Remote host closed the connection]
aef has joined #ruby-lang
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
mliqu has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
boadie has quit [Remote host closed the connection]
DivineEntity has quit [Ping timeout: 252 seconds]
DivineEntity has joined #ruby-lang
nathanstitt has joined #ruby-lang
pwnz0r has joined #ruby-lang
Blackhol_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
scampbell has quit [Quit: Leaving]
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
Sadin has joined #ruby-lang
deryl has quit []
Sadin has quit [Ping timeout: 244 seconds]
deryl has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 258 seconds]
cornerma1 is now known as cornerman
kerunaru has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
yfeldblum has joined #ruby-lang
kerunaru has quit [Client Quit]
Iskarlar has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
momomomomo has quit [Quit: momomomomo]
kfpratt has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
tcopeland has quit [Ping timeout: 265 seconds]
marr has joined #ruby-lang
Sadin has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
Sadin has joined #ruby-lang
iamninja has quit [Remote host closed the connection]
Guest26597 has joined #ruby-lang
thisirs` has quit [Read error: Connection reset by peer]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
aef has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
iamninja has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
michaeldeol has joined #ruby-lang
kiyote23 has quit [Ping timeout: 250 seconds]
aef has joined #ruby-lang
sankaber_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bwild has quit [Ping timeout: 244 seconds]
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby-lang
yfeldblum has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
devgiant has joined #ruby-lang
baggle has joined #ruby-lang
baggle has left #ruby-lang [#ruby-lang]
yfeldblum has quit [Ping timeout: 252 seconds]
gianlucadv has quit [Ping timeout: 250 seconds]
tenderlove has quit [Ping timeout: 264 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
pwnz0r has quit [Remote host closed the connection]
tenderlove has quit [Ping timeout: 245 seconds]
hahuang61 has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
hinbody has quit [Quit: leaving]
dmitrygolyshev has joined #ruby-lang
stamina has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
dmitrygolyshev has quit [Client Quit]
caseypatrickdris has quit [Remote host closed the connection]
Menorah has quit [Quit: This computer has gone to sleep]
shambrarian has quit [Quit: bye!]
leonmaia has joined #ruby-lang
matp has joined #ruby-lang
tcopeland has joined #ruby-lang
Ruby_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
matp_ has quit [Ping timeout: 252 seconds]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
Lewix has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
kiyote23 has joined #ruby-lang
AKASkip has quit [Ping timeout: 272 seconds]
Ruby_ has quit [Quit: Page closed]
yfeldblum has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
nofxx_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
mattwildig has quit []
nofxx has quit [Ping timeout: 240 seconds]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
TheRinger_ has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
apeiros has quit []
ishikawa has joined #ruby-lang
yield_rb has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
yield_rb has quit [Client Quit]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yield_rb has joined #ruby-lang
solars has quit [Ping timeout: 252 seconds]
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
symm- has joined #ruby-lang
duderonomy has joined #ruby-lang
duderonomy has quit [Max SendQ exceeded]
arBmind1 has joined #ruby-lang
duderonomy has joined #ruby-lang
arBmind has quit [Ping timeout: 256 seconds]
klmlfl has quit [Remote host closed the connection]
bb010g has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jxie has joined #ruby-lang
revans has joined #ruby-lang
Musashi007 has joined #ruby-lang
Menorah has joined #ruby-lang
Guest26597 has quit [Ping timeout: 265 seconds]
egypt has left #ruby-lang [#ruby-lang]
yfeldblum has joined #ruby-lang
djbkd has quit [Remote host closed the connection]