Raafat
Raafat

Reputation:

running ruby as a windows exe program

can we use our Ruby code to generate a Windows executable program, is it possible even if one of the required libraries is not from the stranded Ruby (like Qt or MySql) ???

Upvotes: 1

Views: 472

Answers (3)

DSimon
DSimon

Reputation: 3420

My favorite is Ocra; heck, I liked it so much I sent in a patch to add Bundler support to it! Anyways, I know for a fact that it can include local DLLs (i.e. as required for SQLite or MySQL) along with the app.

Upvotes: 2

Mark Rushakoff
Mark Rushakoff

Reputation: 258158

It takes about 3 seconds to find RubyScript2Exe on Google. Sounds like it includes the necessary libraries as well.

Upvotes: 0

Ben Hughes
Ben Hughes

Reputation: 14185

You can try using JRuby to package it up in a jar or war.

This is an old link, but it might be helpful http://www.nearinfinity.com/blogs/bryan_weber/jruby_script_in_a_signed.html

Upvotes: 1

Related Questions