From: Peter Vandenabeele Date: 2012-01-24T01:22:34+09:00 Subject: Re: Building desktop application using Ruby and any GUI Framework --00235429cbb80f4bdb04b734705d Content-Type: text/plain; charset=UTF-8 On Mon, Jan 23, 2012 at 5:05 PM, Zachary Scott wrote: > You should give green_shoes[1] a try. > > It's an ever so pleasant DSL built on top of Ruby GTK2, here's a > sample from the readme: > > ```ruby > require 'green_shoes' > > Shoes.app( :width => 250, :height => 250 ) do > para 'Hello, world!' > image 'images/shoes.png' > end > ``` > > All you need to get started is ruby 1.9.2, rubygems 1.5+, and the gtk2 > gem (which may be automatically installed for you when installing the > green_shoes gem): then you're ready to install green_shoes: > > gem install green_shoes > > The best part, other than the super friendly api, is that your apps > will run on linux and windows without any modification. They may even > work on OSX, but I'm not sure the current state of support for mac. > Just tried on Ubuntu 10.04 (in rvm with 1.9.3) and it installed like a charm :-) The test program also worked immediately. $ cat Gemfile source :rubygems gem 'green_shoes' $ bundle install Fetching source index for http://rubygems.org/ Installing pkg-config (1.1.2) Installing glib2 (1.1.2) with native extensions Installing atk (1.1.2) with native extensions Installing cairo (1.10.2) with native extensions Installing gdk_pixbuf2 (1.1.2) with native extensions Installing pango (1.1.2) with native extensions Installing gtk2 (1.1.2) with native extensions # this took a minute or so Installing green_shoes (1.1.354) Using bundler (1.0.21) HTH, Peter --00235429cbb80f4bdb04b734705d--