Putting executables in sbin in gems

Hi all,

My project[1] has a couple of daemons, which should go in sbin, but I
can’t seem to find a way to get my gem specification to do so. Heck,
I can’t even find any evidence that gems support sbin at all. Does
anyone know if they do? If so, any hints you can give on how to get
it working?

I’m using the rake task to create the gems, which creates a Gem
specification and sets the bindir, but it doesn’t seem to support
sbin at all.

Thanks.

1 - http://puppet.reductivelabs.com/


I don’t always know what I’m talking about, but I’m always pretty much
convinced that I’m right.
– musician Mojo Nixon

Luke K. | http://reductivelabs.com | http://madstop.com

Surely all you want to do is put a fresh symlink in /sbin?

On May 26, 2007, at 16:00, Luke K. wrote:

My project[1] has a couple of daemons, which should go in sbin, but
I can’t seem to find a way to get my gem specification to do so.
Heck, I can’t even find any evidence that gems support sbin at
all. Does anyone know if they do? If so, any hints you can give
on how to get it working?

I haven’t seen any code to put stuff in sbin, not entries in
Gem::Specification.

On May 27, 2007, at 1:08 AM, James T. wrote:

Surely all you want to do is put a fresh symlink in /sbin?

No, I want to install daemon executables into (usually) /usr/sbin.
What do you mean, a fresh symlink?


What’s the good of having mastery over cosmic balance and knowing the
secrets of fate if you can’t blow something up?
– Terry Pratchett, “Reaper Man”

Luke K. | http://reductivelabs.com | http://madstop.com

On May 27, 2007, at 5:17 AM, Eric H. wrote:

I haven’t seen any code to put stuff in sbin, not entries in
Gem::Specification.

That’s what I feared, thanks.


He is indebted to his memory for his jests and to his imagination for
his facts. --Richard Brinsley Sheridan

Luke K. | http://reductivelabs.com | http://madstop.com