I’ve created a Ruby P. with Textmate, but now I need to create it
as an exe for Windows computers. I know there is a way to create exe
files on Windows, but I do not have the resources installed on a windows
computer…
I’ve created a Ruby P. with Textmate, but now I need to create it
as an exe for Windows computers. I know there is a way to create exe
files on Windows, but I do not have the resources installed on a windows
computer…
I am confused by a few points.
Are you trying to create an exe file on Mac OSX or are you trying to
create
a .app file in Mac OSX?
If it is the latter, checkout Titanium Desktop. I am sure there are
other
ways, but Titanium Desktop is Open and very straight forward.
To answer your question more directly I need to create an exe file for
windows… The people using the application are running windows, and I
have had a lot of trouble installing the resources on a windows computer
to even compile it at home (with something like RubyScript2Exe). I know
it’s a bit odd because unless you have an intel mac running windows, you
can’t even run the application after compiling it, but that is what I
need.
To answer your question more directly I need to create an exe file for
windows… The people using the application are running windows, and I
have had a lot of trouble installing the resources on a windows computer
to even compile it at home (with something like RubyScript2Exe). I know
it’s a bit odd because unless you have an intel mac running windows, you
can’t even run the application after compiling it, but that is what I
need.
Ocra is a gem that can make Windows .EXEs; unlike RubyScript2Exe, it’s
still maintained and works on Ruby 1.9. I think it only runs on
Windows. It does automatically include needed gems, but I had trouble
including other files my program needed (although you’re supposed to
be able to do so).
I don’t know if your program will run on Jruby, but if so, you can use
a tool like Rawr to bundle it into your choice of .app, .jar, or .exe.
Again, I had trouble with it, but I’m not very experienced with Jruby
as a whole. YMMV.
I don’t know if your program will run on Jruby, but if so, you can use
a tool like Rawr to bundle it into your choice of .app, .jar, or .exe.
If anybody knows of a tutorial for Rawr that would be greatly
appreciated. I have been searching around and have found a lot about
Cardinal and Parrot VM and compiler… Again I’m very new at this stuff,
and have never bundled or compiled a program before, so if anyone had a
tutorial on this or another program that would be immensely appreciated
as well!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.