# \[Q\] include shell script in my RubyGems package

**URL:** <https://rubytalk.org/t/q-include-shell-script-in-my-rubygems-package/16630>\
**Category:** ruby-talk\
**Created:** [20 February 2005 14:49 UTC](https://rubytalk.org/t/q-include-shell-script-in-my-rubygems-package/16630 "2005-02-20T14:49:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makoto\_Kuwata](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@Makoto\_Kuwata](https://rubytalk.org/u/Makoto_Kuwata)\
**Post date:** [20 February 2005 14:49 UTC](https://rubytalk.org/t/q-include-shell-script-in-my-rubygems-package/16630/1 "2005-02-20T14:49:46Z")

</div>

Question about creating RubyGems package:

I want to include a shell script into bin/ directory.  
I tried to create and install my package. It was done successfully.  
But gem command cannot detect the shell script is not a ruby script.  
It means that '/usr/local/bin/myscript', for example, load a script  
'/usr/local/lib/ruby/gems/1.8/gems/myapp-0.0.1/bin/myscript' as  
Ruby script, and got error becasuse the latter is not ruby script  
but a shell script.

Give me some advice.

> **···**
>
> --  
> regards,  
> kwatch
