Forum: Ruby Creating desktop application in visual ruby

81dcb2f6f10ccfbd330ed2e6b4a03177?d=identicon&s=25 Abhirama Sundram (abhiram)
on 2013-03-19 10:44
Hi,

I am creating an application using visualruby. I want to make it as .exe
i.e i want to use it as a desktop application so that i can use it
independently. I am using windows.

Could anyone please guide me in this.

Thanks in advance.
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2013-03-19 11:39
There are many options. Personally I use a combination of TCL/Tk and the
OCRA gem in combination with Inno.
81dcb2f6f10ccfbd330ed2e6b4a03177?d=identicon&s=25 Abhirama Sundram (abhiram)
on 2013-03-19 14:50
Thanks alot Joel for replying. Could you please suggest me any tutorials
or documentation to achieve it.
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2013-03-19 15:24
Well, you'll want to try out a few different tools and work out the best
one for you, but here's something to get your started:

GUI: http://www.tkdocs.com/tutorial/

EXE Builder: https://github.com/larsch/ocra

Shiny-looking windows installer: http://www.jrsoftware.org/isinfo.php

I should note that when combining OCRA with Tk, you need to do something
a bit special with the build instruction. The trick is to add all the Tk
directory explicitly. The command looks something like this:

ocra "My Script.rbw" C:\Ruby193\lib\tcltk\ --no-autoload --add-all-core
81dcb2f6f10ccfbd330ed2e6b4a03177?d=identicon&s=25 Abhirama Sundram (abhiram)
on 2013-03-19 15:33
Thank you joel, thanks for spending your time. It will be very useful
for me.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.