<evan>
I feel bad we sat on mame's issue for so long
<evan>
but glad it got sorted out.
tekin has joined #rubygems
<evan>
i'm going to bang on the vagrant and staging setups today
<evan>
to protect myself from further production embarrassment
<karlfreeman>
hey everyone, I've decided that I'm going to try and contribute some time towards helping out ( where possible ). Thought I'd drop by and say hi and witness a deploy ;).
roidrage has joined #rubygems
<evan>
karlfreeman: morning karl!
<qrush>
yo
<karlfreeman>
morning ( afternoon ) :)
<qrush>
honestly if mame needed his gem desperately he could have renamed it months ago
<qrush>
or just installed via github/bundler
<qrush>
not an excuse for us sitting on it
<qrush>
but just saying
tekin has quit [Client Quit]
karmi___ has quit [Ping timeout: 256 seconds]
<evan>
qrush: yeah, i'm sure he worked around it
<evan>
samkottler: i'd like to make it possible to have 1 VM that is app, balancer, and db
<evan>
all in one
<evan>
for testing, etc.
<evan>
any issue with that?
<samkottler>
evan: nope, that sounds great
<evan>
cool.
<evan>
i've been doing A LOT of vagrant/chef stuff for work the last week or so.
havenn_ has joined #rubygems
havenwood has quit [Read error: Connection reset by peer]
<raggi>
evan: i'm sorry
<evan>
why are you sorry little raggi?
<raggi>
evan: those tools get really horrible really fast, when you have to leave the happy path
mikewintermute has joined #rubygems
<raggi>
i wouldn't wish them on anyone who actually reads code and debugs issues
<evan>
which tools?
<raggi>
chef and vagrant
<evan>
well
<evan>
last week I was fixing bugs in chef
<evan>
so, to be honest, the happy path includes shipping my own patches for tools
<evan>
if need be :)
<evan>
it's a very WIDE path.
<raggi>
haha
<samkottler>
it includes 2am code reviews every night
mikewintermute has quit [Remote host closed the connection]
<raggi>
i have ended up helping folks with integration problems in both places, and found rats nests
<raggi>
don't get me wrong, as far as products go, at a high level, they're both great
<samkottler>
raggi: it's software - everything is ultimately a rat's nest
<evan>
rats nests are something i'm comfortable with now
mikewintermute has joined #rubygems
<evan>
after debugging other peoples code and tests for 5 years in rubinius
whit537 has quit [Quit: BLAM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
tcopeland1 has quit [Read error: Connection reset by peer]
tcopeland has joined #rubygems
karmi has quit [Quit: Leaving.]
ericmathison has joined #rubygems
pipework has quit [Remote host closed the connection]
dvu has quit [Ping timeout: 246 seconds]
autojack has joined #rubygems
x1337807x has joined #rubygems
<autojack>
I have a gem whose gemspec specifies a default executable, and when I install that gem the executable goes into /usr/local/bin. is there any way I can get rubygems to put it in /usr/bin instead? so far I can't see a flag for that in the gemspec, etc.
<drbrain>
autojack: by default it goes next to `ruby` so you just need to set $PATH and things work
<drbrain>
you can change it with --bindir
stevenharman has quit [Quit: Leaving...]
<autojack>
hmm. my ruby is in /usr/bin.
<drbrain>
how did you install ruby?
<autojack>
it's a system package.
<drbrain>
what does ruby -rrbconfig -e 'p RbConfig::CONFIG["bindir"]' say?
<autojack>
Ubuntu Precise.
<autojack>
/usr/bin
raggi has quit [Quit: bye]
<drbrain>
huh
<drbrain>
can you paste `gem env`?
<drbrain>
maybe /etc/gemrc or ~/.gemrc has --bindir set
<autojack>
well, the gem was installed by Puppet. I wonder if it is specifying a bindir in its gem provider.
<autojack>
let me look into that.
<autojack>
that would be annoying.
dvu has joined #rubygems
raggi has joined #rubygems
pipework has joined #rubygems
<autojack>
no, it doesn't seem to.
<autojack>
when I do 'gem env' it lists - EXECUTABLE DIRECTORY: /usr/local/bin
<autojack>
so there's the problem I guess.
<autojack>
I was hoping I could specify something different in this gem's gemspec file to get around this.
<autojack>
but it's not sounding like I can do that.
tcopeland has quit [Ping timeout: 246 seconds]
<drbrain>
you can't specify it in the gemspec since the directory may make no sense when installing (such as windows)
<drbrain>
is there any clue in the GEM CONFIGURATION section?
<autojack>
section of what?
<autojack>
I am guessing this is an oddity of the Ubuntu rubygems package.
<autojack>
I see what you mean. no, nothing else in the 'gem env' output.
<autojack>
I was hoping that the puppet 'gem' package provider would let me pass --binder as an option in this case, but it doesn't.
<autojack>
er, bindir.
<autojack>
I'm going to have to change some other stuff I guess.
pipework has quit [Remote host closed the connection]
cowboyd has quit [Remote host closed the connection]
<autojack>
christ, on Debian Squeeze: EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
<autojack>
what the hell's the point of that? whose path would ever have /var/lib/gems/1.8/bin in it??
<drbrain>
that's debian rubygems
<autojack>
yeah but Lenny has /usr/bin
<autojack>
sheesh
<autojack>
adding the 'executables' entry to my gemspec has not been at all worth the additional headache of supporting it in multiple distros in our environment :)
<autojack>
it's requiring me to add 20 more lines of puppet code.
<drbrain>
I'm rather surprised that Linux doesn't seem to have an equivalent of OS X /etc/paths.d
<raggi>
yeah, kinda surprised there isn't a freedesktop standard at least
<samkottler>
raggi: it should totally go into systemd :P
<raggi>
o0
<raggi>
because that's taking over everything?
<autojack>
in theory since /usr/bin and /usr/local/bin are in everyone's path by default, I could just add the retarded Squeeze /var/lib/gems/1.8/bin to $PATH and then stop specifying an absolute path when my scripts call this binary.
<autojack>
but. eughghhgghhgh.
<raggi>
autojack: i would recommend that, at least in the profiles of users that run ruby services
<samkottler>
/usr/local/bin is definitely not in everyone's path by default
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dvu has quit [Remote host closed the connection]
<autojack>
samkottler: yeah by everyone I meant everyone in my environment.
x1337807x has joined #rubygems
tcopeland has joined #rubygems
dvu has joined #rubygems
<samkottler>
ah
brixen has quit [Excess Flood]
pipework has joined #rubygems
brixen has joined #rubygems
dvu has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]