How to distribute my ruby script

Hi All,

I am new to Ruby. I have created a new script that requires couple of
gems to work. Now how do i make an executable of my script to make sure
that:
The script runs on a machine where no Ruby is installed and no gems are
there.

I would appreciate if someone could describe the flow as to how to
achieve this. I have looked over the internet and found ocra as one
option to create executable. But what about the gems? how would script
executable run?

If there is a clear web link that i can follow or an example in reply,
that would be great.

Thanks.

···

--
Posted via http://www.ruby-forum.com/.

So have you actually tried Ocra? It'll package the gems as well.

···

On Sun, 24 Mar 2013 17:37:19 +0100, Rochit Sen <lists@ruby-forum.com> wrote:

I would appreciate if someone could describe the flow as to how to
achieve this. I have looked over the internet and found ocra as one
option to create executable. But what about the gems? how would script
executable run?

--
Matma Rex

Rochit Sen wrote in post #1103019:

If there is a clear web link that i can follow or an example in reply,
that would be great.

Here are a couple of resources to get you started:
http://www.erikveen.dds.nl/rubyscript2exe/
http://rubini.us/2011/03/17/running-ruby-with-no-ruby/

···

--
Posted via http://www.ruby-forum.com/\.