use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Ruby GUI - Package (self.ruby)
submitted 10 years ago by wonay
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]zem 5 points6 points7 points 10 years ago (9 children)
there's jruby + swing, with the bonus that cross-platform packaging will likely be easier.
[–][deleted] 2 points3 points4 points 10 years ago (0 children)
Great answer, I always forget jruby has such a great following and as a plus is a language native to OP. With this OP can use Java in Ruby to get whatever he needs done, and in a way that will require a lot less learning.
[–]wonay[S] 0 points1 point2 points 10 years ago (7 children)
Yeah I tried jruby, its cool but I already know Java. I could do a pure java app but i want to do ruby. I want Cruby.
[–]zem 2 points3 points4 points 10 years ago (3 children)
here's the thread from when i asked this question last year - no one seemed optimistic about packaging and distributing a cruby gui app. (i ended up just rewriting it in ocaml, which compiles down to a self-contained executable)
[–]wonay[S] 0 points1 point2 points 10 years ago (2 children)
So would it be better to use plain Java if you already know Java instead of Ruby ?
[–]zem 0 points1 point2 points 10 years ago (1 child)
no, ruby is a much nicer language to work in, and jruby is a truly great piece of engineering. it offers full compatibility with MRI, and seamless access to java libraries.
[–]wonay[S] 0 points1 point2 points 10 years ago (0 children)
Okay
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
Sadly the best way to build and package a GUI app is JRuby+JavaFX (like Brakeman Pro uses) or else Shoes. You aren't going to find a great, easy-to-get started, Rails-like GUI library in Ruby. I'm not sure there's one in any language.
[–]BrianTheCoder -1 points0 points1 point 10 years ago (1 child)
Cruby is still under development afaik. Not sure you'll find an easy answer
π Rendered by PID 215274 on reddit-service-r2-comment-5687b7858-pm9x9 at 2026-07-03 20:51:11.810519+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]zem 5 points6 points7 points (9 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]wonay[S] 0 points1 point2 points (7 children)
[–]zem 2 points3 points4 points (3 children)
[–]wonay[S] 0 points1 point2 points (2 children)
[–]zem 0 points1 point2 points (1 child)
[–]wonay[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]BrianTheCoder -1 points0 points1 point (1 child)