# Re: Oh the pain! Distributing Ruby apps

**URL:** <https://www.ruby-forum.com/t/re-oh-the-pain-distributing-ruby-apps/108753>\
**Category:** Ruby\
**Created:** [July 6, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/re-oh-the-pain-distributing-ruby-apps/108753 "2007-07-06T18:23:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stickstone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Post date:** [July 6, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/re-oh-the-pain-distributing-ruby-apps/108753/1 "2007-07-06T18:23:10Z")

</div>

> I’ve tried rubyscript2exe (we’re talking Windows boxes), and it seems  
> to work fine for some things but breaks the Oracle bindings.

(rubyscript2exe works for Linux too)

It might be worth spending a little while trying to nail down what’s  
going  
wrong with Oracle - perhaps you’re just missing an Oracle DLL or two,  
which  
you can instruct rubyscript2exe to include by hand, or something like  
tnsnames.ora

If you post the actual errors you see, someone might be able to offer  
more  
specific suggestions.

> I’ve considered a web app, but I don’t have access to a place to  
> serve it.

You can always serve it locally on the client machine, i.e. the bundle  
you  
provide is a webserver, and the client points to [http://127.0.0.1:3000/](http://127.0.0.1:3000/)  
or  
whatever. That is, distributing a pure-ruby web framework like Rails  
might  
be less work than distributing binary libraries like Qt or Fox. But this  
still doesn’t fix your OCI8 problem unfortunately.

There is another, rather heavyweight, solution I can suggest: vmware.  
Both  
vmware player and vmware server are completely free now. You can use  
vmware  
server to build a virtual machine image containing, say, a small Linux  
distribution plus ruby plus all the libraries you need. You can then  
distribute vmware player plus this VM image to your Windows clients.

(I suggest using Linux as the guest VM operating system simply because  
it  
avoids you having to buy more Windows licences)

But it won’t be fast to start up, as the virtual machine has to boot up,  
and  
it will be quite RAM hungry.

Regards,

Brian.
