# Question: Ruby application packaging

**URL:** <https://www.ruby-forum.com/t/question-ruby-application-packaging/71743>\
**Category:** Ruby\
**Created:** [October 11, 2006, 7:31am UTC](https://www.ruby-forum.com/t/question-ruby-application-packaging/71743 "2006-10-11T07:31:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadatoshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e9bcb4/32.png) [@tadatoshi](https://www.ruby-forum.com/u/tadatoshi)\
**Post date:** [October 11, 2006, 7:31am UTC](https://www.ruby-forum.com/t/question-ruby-application-packaging/71743/1 "2006-10-11T07:31:03Z")

</div>

I have a trivial question.

I would like to package a Ruby application and run it.  
What is the convention in Ruby to do so?

I tried Gem.  
I could generate Gem and successfully install it locally.  
But I don’t know how to add executable file like .bat file like you can  
do when you install Rake by Gem.  
Is there a way to auto-generate executable file by Gem or Rake?  
(And how do you make Gem add executable file under ruby/bin? Or is it a  
feasible approach?)  
If not, is there a convention in Ruby about how to execute an  
application installed as Gem?  
Or is there any other packaging option?

Thank you.

Tadatoshi
