tenderlove has quit [Remote host closed the connection]
havenwood has joined #rubygems
huoxito has quit [Remote host closed the connection]
tenderlove has joined #rubygems
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubygems
huoxito has joined #rubygems
tenderlove has quit [Quit: Leaving...]
bbrowning_away has quit [Read error: Connection reset by peer]
bbrowning_away has joined #rubygems
havenwood has quit [Ping timeout: 246 seconds]
huoxito has quit [Remote host closed the connection]
havenwood has joined #rubygems
havenwood has quit [Ping timeout: 244 seconds]
frg133 has quit [Quit: Leaving]
djbkd has quit [Quit: My people need me...]
rikkipitt has joined #rubygems
bbrowning_away is now known as bbrowning
huoxito has joined #rubygems
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #rubygems
huoxito_ has joined #rubygems
huoxito has quit [Ping timeout: 265 seconds]
imperator has joined #rubygems
huoxito has joined #rubygems
huoxito_ has quit [Ping timeout: 250 seconds]
havenwood has joined #rubygems
niska has quit [Ping timeout: 240 seconds]
niska has joined #rubygems
tubbo has joined #rubygems
<tubbo>
when i try to use this line to get all my files in the Git repo for my gem, Bundler will fail to install the gem: s.files = `git ls-files`.split("\n")
<tubbo>
because "File name too long"
<tubbo>
what is going on here?
rikkipitt has quit [Quit: Leaving...]
<tubbo>
switching it to s.files = Dir.glob... worked but why can't i use git ls-files in this gem anymore?
havenwood has quit [Read error: Connection reset by peer]
<imperator>
tubbo, is there anything odd about the output of git ls-files ?
bffff_ has joined #rubygems
havenwood has joined #rubygems
bbrowning is now known as bbrowning_away
<tubbo>
imperator: this is the longest file in there... 'app/decorators/legacy_passwords/controllers/weblinc/api/products_controller_decorator.rb'
<imperator>
shouldn't be any issue up to 256 characters at least
<imperator>
sounds like a bundler issue, or git ls-files isn't returning what you think
<havenwood>
tubbo: Have you tried?: `git ls-files -z`.split("\x0")
bbrowning_away is now known as bbrowning
tcopeland has joined #rubygems
djbkd has joined #rubygems
<tubbo>
ahhhhhh
<tubbo>
yeah you have to do that whole complicated command, not just `git ls-files`
<tubbo>
havenwood: thank you so much this has been bugging me for days
<imperator>
why's that?
<imperator>
does it sometimes use a different line ending or something?
<tubbo>
imperator: you tell me, i didn't write rubygems ;)
<tubbo>
j/k j/k
<imperator>
tubbo, i mean, do you see different output if you run that command
<tubbo>
no, it just works
<tubbo>
oh you mean when i just run it?
<imperator>
yeah, if you run just that bit
<Freaky>
-rw-r--r-- 1 root wheel 3790376 Feb 23 2006 /usr/local/lib/libruby-static.a
<Freaky>
that explains that weird ruby-pg compile problem then..
<tubbo>
imperator: docs say "\0 line termination on output."