Developing and distributing a portable and cross-platform Ruby / JRuby application
I was trying to start developing a ruby / jruby desktop app as I was googled before, ruby lacks a distribution / deployment system so I didn't decide which one to use, it's ruby with green_shoes (gtk) or JRuby with purple_shoes (swing). if i go with green_shoes then i have to provide GTK Runtime and if JRuby then i have to provide JRE or if possible portable internet browser and portable server (like PHP UniServer).
is there any other alternative to overcome this so that I could distribute my program, ruby, with all necessary dependencies for my program, just by copying the folder in this portable way?
so if i / they want to use it on windows, I need to create a shortcut for my program in the copied folder, and when I / they want to use it on linux, I only need "ln -s" to $ PATH so that my program in copied folder
source to share
for JRuby only:
- GUI toolkit, we can use Monkeybars https://github.com/monkeybars/monkeybars-core
- Deployment we can use rawr http://rawr.rubyforge.org/
replies from: Moh Hasbi Assidiqi
source to share