# Alternate rubygems executable directory

**URL:** <https://www.ruby-forum.com/t/alternate-rubygems-executable-directory/91345>\
**Category:** Ruby\
**Created:** [April 7, 2007, 4:48am UTC](https://www.ruby-forum.com/t/alternate-rubygems-executable-directory/91345 "2007-04-07T04:48:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reflex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f05b48/32.png) [@reflex](https://www.ruby-forum.com/u/reflex)\
**Post date:** [April 7, 2007, 4:48am UTC](https://www.ruby-forum.com/t/alternate-rubygems-executable-directory/91345/1 "2007-04-07T04:48:48Z")

</div>

Hello

Is it possible to specify the directory for executable installation in a  
gemspec file? I’d like to install some system-administration scripts  
using rubygems, but they should be installed in /usr/sbin, and I  
couldn’t find a way to alter the default of /usr/bin.

Thanks in advance,  
Andre
