Standalone Ruby executable with GUI

I have been using Ruby in a Rails environment.

Now I would like to create a (fairly simple) standalone application and I would love to hear suggestions as to the best environment and tools for my problem. Cross platform would be nice but Windows is a must. Development on Windows is a must.

The core problem is fairly simple: Have the user select a file or a directory. If the user selects a directory, spit out a list of all files and subdirectories in the selected directory.

Of course there is more to it ... but that's the core problem.

My Google search shows that there are several solutions to creating a standalone executable.

Exerb, RubyScript2Exe, and AllInOneRuby are the ones that seem to come up the most.

Then there is the added complication of slapping a GUI onto Ruby.

Suggestions as to a simple/powerful GUI that could be used in a standalone environment would, of course, be appreciated by me and, I presume, others in the same boat.

Ralph Shnelvar

Hi Ralph,

You might want to look here for choosing a GUI framework:
http://wiki.github.com/rdp/ruby_talk_faq/ruby-gui-toolkit-comparison/15

skim

···

On Thu, Jul 8, 2010 at 09:14, Ralph Shnelvar <ralphs@dos32.com> wrote:

I have been using Ruby in a Rails environment.

Now I would like to create a (fairly simple) standalone application and I
would love to hear suggestions as to the best environment and tools for my
problem. Cross platform would be nice but Windows is a must. Development on
Windows is a must.

The core problem is fairly simple: Have the user select a file or a
directory. If the user selects a directory, spit out a list of all files
and subdirectories in the selected directory.

Of course there is more to it ... but that's the core problem.

My Google search shows that there are several solutions to creating a
standalone executable.

Exerb, RubyScript2Exe, and AllInOneRuby are the ones that seem to come up
the most.

Then there is the added complication of slapping a GUI onto Ruby.

Suggestions as to a simple/powerful GUI that could be used in a standalone
environment would, of course, be appreciated by me and, I presume, others in
the same boat.

Ralph Shnelvar

Ralph Shnelvar wrote:

I have been using Ruby in a Rails environment.

Now I would like to create a (fairly simple) standalone application and
I would love to hear suggestions as to the best environment and tools
for my problem. Cross platform would be nice but Windows is a must.
Development on Windows is a must.

The core problem is fairly simple: Have the user select a file or a
directory. If the user selects a directory, spit out a list of all
files and subdirectories in the selected directory.

Of course there is more to it ... but that's the core problem.

My Google search shows that there are several solutions to creating a
standalone executable.

Exerb, RubyScript2Exe, and AllInOneRuby are the ones that seem to come
up the most.

Then there is the added complication of slapping a GUI onto Ruby.

Suggestions as to a simple/powerful GUI that could be used in a
standalone environment would, of course, be appreciated by me and, I
presume, others in the same boat.

Ralph Shnelvar

On Windows, I've had good results using wxRuby as the GUI. I used to use
RubyScript2Exe to create the standalone executables but have more
recently been using Ocra.

  GitHub - larsch/ocra: One-Click Ruby Application Builder

David

···

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

Now I would like to create a (fairly simple) standalone application and
I would love to hear suggestions as to the best environment and tools
for my problem. Cross platform would be nice but Windows is a must.
Development on Windows is a must.

Recommend Jruby (some GUI framework or other) + rawr for packaging.
Though it appears that there are several viable options.
http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#ruby_to_exe

-r

···

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

Re[2]: Standalone Ruby executable with GUI

Hi Ralph,

You might want to look here for choosing a GUI framework:

s> http://wiki.github.com/rdp/ruby_talk_faq/ruby-gui-toolkit-comparison/15

skim

Wow … what a great pointer. Thanks!

Now … which one do you use … if any?

And which one is best in terms of creating a standalone executable?

Hello Ralph and David:

I've had good success with wxRuby too.

FYI, here's a little quickstart page for Ocra that someone mentioned in a previous thread:

Michael

···

"David Mullet" <david.mullet@gmail.com> wrote:
On Windows, I've had good results using wxRuby as the GUI. I used to use
RubyScript2Exe to create the standalone executables but have more
recently been using Ocra.
GitHub - larsch/ocra: One-Click Ruby Application Builder