Exporting Applications
Ruby-Processing can now export Mac/Windows/Linux applications. Just use:
script/application path/to/my_sketch.rb
It will pack up your app, it’s data folder, all of the libraries that it’s loading, and tuck them into a brand-new MySketch.app, ready to share. If you happen to have a .icns icon file in your data folder, it will use that for the icon of your application (for Macs). Now you can distribute the application without any need to install JRuby.
For Windows and Linux, the .app acts as a folder containing executable programs. You can rename it or share it as is.
A Ruby-Processing application, running in the Dock
Check out the Gallery to grab some application examples.
Last edited by jashkenas, 13 days ago
Versions:
