# Need Help Creating Gems

**URL:** <https://www.ruby-forum.com/t/need-help-creating-gems/123803>\
**Category:** Ruby\
**Created:** [December 20, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/need-help-creating-gems/123803 "2007-12-20T19:51:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roxah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/54ee81/32.png) [@roxah](https://www.ruby-forum.com/u/roxah)\
**Post date:** [December 20, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/need-help-creating-gems/123803/1 "2007-12-20T19:51:27Z")

</div>

Hello all,

I’ve successfully created a RubyGem, but I do have one problem. I have  
a  
bin/ directory in my Gem, and I assumed any file in that directory would  
automatically get added to the bin/ directory of the location where gems  
are  
stored locally on a machine. However, this does not happen. Is there  
an  
extra argument I need to supply in the Rakefile to make this happen?

Thanks in advance! – BTR

---

<div class="post-metadata">

**Author:** ![roxah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/54ee81/32.png) [@roxah](https://www.ruby-forum.com/u/roxah)\
**Post date:** [December 20, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/need-help-creating-gems/123803/2 "2007-12-20T20:51:20Z")

</div>

On 20 dic, 15:50, Bryan R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks in advance! – BTR  
> Gem Spec documentation:  
> [http://docs.rubygems.org/](http://docs.rubygems.org/)

bindir:  
[http://docs.rubygems.org/read/chapter/20#bindir](http://docs.rubygems.org/read/chapter/20#bindir)

executables:  
[http://docs.rubygems.org/read/chapter/20#executables](http://docs.rubygems.org/read/chapter/20#executables)

if executables array is empty, no script will be made executable.

HTH,

Luis

---

<div class="post-metadata">

**Author:** ![roxah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/54ee81/32.png) [@roxah](https://www.ruby-forum.com/u/roxah)\
**Post date:** [December 20, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/need-help-creating-gems/123803/3 "2007-12-20T20:57:46Z")

</div>

Luis,

Worked perfectly. Thanks for the great references.

Bryan
