# Ruby application

**URL:** <https://www.ruby-forum.com/t/ruby-application/80240>\
**Category:** Ruby\
**Created:** [March 13, 2006, 11:15am UTC](https://www.ruby-forum.com/t/ruby-application/80240 "2006-03-13T11:15:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 13, 2006, 11:15am UTC](https://www.ruby-forum.com/t/ruby-application/80240/1 "2006-03-13T11:15:20Z")

</div>

I’m after some general advice about creating a Ruby application that  
will be installed on Unix systems (Red Hat and HPUX, and possibly  
Windows later on). I was hoping for a document covering things like:

Dealing with a machine having more than one Ruby installed.

Where to put the application files so that people can get to them  
easily.

How to get the application to find its library files.

These are things that I already need answers to, and I expect that there  
are probably going to be other questions that I don’t know yet. Really  
I’m after a best practice guide that points out probable issues before I  
stumble over them.

Thank you for any help,  
Benjohn

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 13, 2006, 11:18am UTC](https://www.ruby-forum.com/t/ruby-application/80240/2 "2006-03-13T11:18:23Z")

</div>

You might want to look at the Rubygems packaging format:

[http://docs.rubygems.org](http://docs.rubygems.org)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 13, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/ruby-application/80240/3 "2006-03-13T14:44:04Z")

</div>

A lot of Ruby applications will come with a setup.rb that will install  
the files into somewhere that is recognizable by Ruby’s load path.

More info on setup.rb here:  
[http://i.loveruby.net/en/projects/setup/](http://i.loveruby.net/en/projects/setup/)
