How to package ruby shoes apps on OSX 10.7
Asked Answered
H

2

27

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?

Harcourt answered 20/4, 2012 at 2:7 Comment(7)
It'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 simplerHarcourt
For 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?Amiraamis
Have a look if this helps github.com/shoes/shoes/wiki/…Tompion
This might help (or not) github.com/shoes/shoes/wiki/…Bucci
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.Creech
Have you tried asking Shoes maintainer Steve Klabnik directly? steveklabnik.comGraniteware
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?Hypesthesia
M
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.

Millham answered 3/6, 2013 at 22:29 Comment(0)
C
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."

Continuator answered 15/6, 2013 at 23:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.