How to make exe of ruby program on windows?

I tried using Rubyscript2exe.rb
using command prompt i have written rubyscript2exe.rb programname.rb
but it is giving error.
Can someone please help?

Try ocra (gem install ocra)

Hi Thanks.
But when i try to install ocra then also I am getting error
http://gems.rubyforge.org/does not appear to be a repository
If you have some idea??

You can also get ocra here : http://rubyforge.org/projects/ocra/

https://github.com/rdp/ruby_tutorials_core/wiki/ruby-talk-faq

search for “distributable_executable”
might be helpful for you

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 15.04.2011 13:12, schrieb shilvi parikh:

Hi Thanks.
But when i try to install ocra then also I am getting error
http://gems.rubyforge.org/does not appear to be a repository
If you have some idea??

Which version of Ruby are you running? If you’re running 1.8.6 I’ll
strongly recommend you to update to either 1.8.7 or 1.9.2, because 1.8.6
is outdated. http://rubyinstaller.org

Vale,
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNqEW/AAoJELh1XLHFkqha8+sH/1Q/j0zfyG2NnI3v1WPI9bus
//5wpjBAxoKapVEMMI+HFTWgh5o6sq/OQJtyNCgp0IkZehBe0EOu1JXiffyEVrTL
QWj671HT6kk++0Afnxw4ikwpxFWZo6Mil8a7R9J5yLozztOsOEJexE3r0RkQO2LJ
9RtXzvGyM9pB16f23eprUiESMHyh85Qrgq2yt0lgZ2ZCen9u7XxXvnVDtyaIhb1o
dd6kWS1hpE2FHYWlBK+b1DB/jT08KlBIROHhGkz9/wbOnSItuha3pjL3f4rJZ0tk
qK3bHN57fTtqIvLRVeW29L9Ml7ZmiefkAG+/F/DQB8QMJI+BEuPWMrvfw3XnMuE=
=mzQN
-----END PGP SIGNATURE-----

I remember that i saw some time ago a newer tool, which created .exe
files on Windows from Ruby scripts without doing the extraction into
temp directory as orca is doing when running the .exe. I’m unable to
find that tool now. Does anyone else know about that tool i’m
referring to?

Jarmo

Cool. That was the thing.

Thank You, Luis!

Jarmo

On Apr 16, 6:50am, Jarmo P. [email protected] wrote:

I remember that i saw some time ago a newer tool, which created .exe
files on Windows from Ruby scripts without doing the extraction into
temp directory as orca is doing when running the .exe. I’m unable to
find that tool now. Does anyone else know about that tool i’m
referring to?

Yes, is called exerb, is not new:

http://exerb.sourceforge.jp/index.en.html

Coming directly from Japan :wink:

But to work with newer RubyInstaller, you will need the MinGW “port”
of it.

A tutorial on getting that working is here:

http://vert.igino.us/2011/01/05/exerb-101-building-windows-executables-with-ruby/

Written by Gordon T., the author of Pik.

Thanks alll…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs