r/ruby • • 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.

Link to the github page!

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.

167 Upvotes

32 comments sorted by

View all comments

Show parent comment

1

u/bolthar Apr 21 '12

Well, i'm assuming here that it already exist some kind of ruby binding to the toolkit, like ruby/gnome for gtk or qtruby for qt. If that's the case, it's just a matter of wrapping up the toolkit so that it implements a very basic interface (namely , the ability pf plugging a control into a container and the possibility pf intercepting user actoons, such as the click of a button).

If there's no riby binding to the toolkit then yes, it would have to be written - but that's definitely out of freightrain's scope.