I have been making an app using Ruby Shoes. I am happy with how it turned out and would like to share it with some friends. However, the GUI packager doesn't work in OSX and the Windows packager only seems to make a .shy
file. I've been reading around looking for solutions and I don't understand any of them. Can someone clearly explain step-by-step how to package a Ruby Shoes app to say a DMG or an EXE file?
Asked
Active
Viewed 2,371 times
27

Lynn
- 10,425
- 43
- 75

dharris001
- 409
- 1
- 6
- 14
-
1It's a .shy file extension. It's an executable file but you need to have Shoes installed to launch it. Preferably I would like to able to package .exe and .dmg files, to make distribution simpler – dharris001 Apr 20 '12 at 18:23
-
1For the .dmg file, I think a more relevant question is how to package into a stand alone mac app. The .dmg is just a disk image--it could have anything on it--but I think what you want is a file that someone could just drag into their applications folder and run, right? – philosodad May 28 '12 at 14:32
-
3Have a look if this helps https://github.com/shoes/shoes/wiki/Building-Shoes-on-Mac-OS-X-10.6-and-10.7 – Dhaval Aug 16 '12 at 17:33
-
This might help (or not) https://github.com/shoes/shoes/wiki/A-Developer%27s-Tour-Through-The-Magic-Packager – Paulo Casaretto Sep 24 '12 at 16:38
-
The old Raisins (V2) release of Shoes use to package to shy, exe and dmg. These options still exist but do not work and the question is how to get this functionality back. – Morgan Nov 12 '12 at 16:24
-
Have you tried asking Shoes maintainer Steve Klabnik directly? http://www.steveklabnik.com/ – Dave Everitt Dec 24 '12 at 13:23
-
if you right click on the .shy file and select show contents, what does that directory structure look like - what kinds of files are in there? – Richard Jordan Mar 24 '13 at 08:46
2 Answers
1
Personally, I prefer to use green_shoes. Green_shoes is a pure ruby gem that you require in your ruby code instead of a program that packages your ruby code. This way, you can use a program such as ocra to make your ruby file into exe. While it is sort of a hack, I feel that it is better than requiring your users to install shoes to run your program.

projectdelphai
- 451
- 1
- 4
- 10
0
Check this out.
Compiling/Package a Shoes.app to a standalone Mac.app?
[How?] "By compiling your app and Shoes together. This is what I do with Hackety Hack. Totally works."