[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Putting executables in sbin in gems

Luke A. Kanies

5/26/2007 11:00:00 PM

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.reductiv...

--
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 Kanies | http://reducti... | http://m...



4 Answers

James Tucker

5/27/2007 6:08:00 AM

0

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

Luke Kanies wrote:
> 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.reductiv...
>
> --
> 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 Kanies | http://reducti... | http://m...
>
>
>
>


Eric Hodel

5/27/2007 10:17:00 AM

0

On May 26, 2007, at 16:00, Luke Kanies 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.

Luke A. Kanies

5/28/2007 9:35:00 PM

0

On May 27, 2007, at 1:08 AM, James Tucker 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 Kanies | http://reducti... | http://m...



Luke A. Kanies

5/28/2007 9:35:00 PM

0

On May 27, 2007, at 5:17 AM, Eric Hodel 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 Kanies | http://reducti... | http://m...