How i can mage EXE file after write program

hi every body

im sajjad from iran but studetn in india

i have 2 problems

frist problem has my english languige it has not good sometimes

2th problem is i have one program means i wrot one program like :

puts "Hi Ruby..."

ok now i wanna make it to EXE file

now i wanna know what should i do ?

please help
its that right i m from iran but i wanna learning ruby .

thank you from all of you dears

thank you .

I wating :x

···

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

if its possible please but here for me one program for make EXE file and
learn it

THANK YOU ALL OF YOU

···

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

Sajjad Seyyed wrote:

if its possible please but here for me one program for make EXE file and
learn it

THANK YOU ALL OF YOU

If you would look what has been discussed in several threads in the last
two days, you would have found what to do.

···

-----------------------
gem install ocra

ocra yourscript.rb
-----------------------

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

Marvin Gülker wrote:

Sajjad Seyyed wrote:

if its possible please but here for me one program for make EXE file and
learn it

THANK YOU ALL OF YOU

If you would look what has been discussed in several threads in the last
two days, you would have found what to do.
-----------------------
gem install ocra

ocra yourscript.rb
-----------------------

Marvin

Thank you
but whats is this ocra ? how i can find it?
where is the ocra?
please tell meeeeeeeeeee

···

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

Sajjad Seyyed wrote:

Thank you
but whats is this ocra ? how i can find it?
where is the ocra?
please tell meeeeeeeeeee

Do this in a command line:
gem update --system
gem install ocra
cd "X:\path\to your\script's directory"
ocra yourscript.rb

That
1. updates your RubyGems software
2. installs the ocra gem
3. Changes your working directory to your script's directory
4. Compiles your script to an executable file.

Marvin

···

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

Thank you

i downloaded OCRA in here :
http://rubyforge.org/frs/?group_id=8185&release_id=41615

and i saw it worded

THANK YOU ALL OF YOU

···

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

I'm also interested in this.
Can ocra handle the complicated scripts?
For example, a ruby script which includes many external libraries.

Thank you.

···

2009/11/23 Marvin Gülker <sutniuq@gmx.net>:

Sajjad Seyyed wrote:

Thank you
but whats is this ocra ? how i can find it?
where is the ocra?
please tell meeeeeeeeeee

Do this in a command line:
gem update --system
gem install ocra
cd "X:\path\to your\script's directory"
ocra yourscript.rb

That
1. updates your RubyGems software
2. installs the ocra gem
3. Changes your working directory to your script's directory
4. Compiles your script to an executable file.

Ruby Newbee wrote:

I'm also interested in this.
Can ocra handle the complicated scripts?
For example, a ruby script which includes many external libraries.

Thank you.

I would wonder if not. ocra compiles much better than the old
rubyscript2exe, so many external libraries shouldn't be the problem.
When I'm working on my Windows Vista and creating GUIs with wxRuby it
handles that just fine (but most of my time I'm working on Linux Ubuntu,
so I may be not up to date...). As far as I know, ocra has an option to
include DLLs as well. So, just try it!

Marvin

···

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

ocra looks very interesting.

Another approach I've seen is http://rawr.rubyforge.org/, which
outputs suitable files for Windows, Java, and OS X from JRuby. I
haven't used RAWR, but that's what the page says.

Ron