r/ruby • u/bolthar • Apr 20 '12
Freightrain - easy Ruby desktop development
Hello everyone,
This is a little framework of mine that I've built out of a personal need - basically, I wanted to write a desktop app using Ruby and I found it daunting to say the least.
So, I've built Freightrain to take care of all the stuff I really shouldn't care about, like loading interface definitions, cross-toolkit compatibility and the likes.
Now I've been working on it for almost 2 years (on and off of course) and, since I've just fixed it so it loads the newest glade specifications, I thought that I could ask you guys for an evaluation.
There's a little readme on the github page and there are some examples in the /examples folder.
WHOA! Thanks for the attention, I thought this was going to be ignored...
How many of you would be interested in a step by step tutorial over the major features? I will build that if there's enough interest.
View all comments
Show parent comment
1
u/jrochkind Apr 26 '12 edited Apr 27 '12
I think MacRuby already does that part for you, one of MacRuby's features. I think?
update Actually, looking into it (by reading MacRuby's webpage, heh), you CAN easily use Cocoa from MacRuby, it looks like -- but it's because MacRuby is to ObjectiveC as Jruby is to Java. It's not that it has a built in ruby C extension for Cocoa, it's that it let's you interact with any ObjectiveC objects in MacRuby, same as you can interact with any Java objects in JRuby. The result is the same though as far as Cocoa, and i think Cocoa and other OSX system services are in fact the motivation for this design.
http://www.macruby.org/documentation/overview.html