From: Mike Bethany Date: 2012-05-18T00:38:38+09:00 Subject: Re: GUI with ruby on windows You could also try using IronRuby in Visual Studio 2010. You can develop using the standard WinForms libraries but you can't use the visual interface designer like with C#; you have to hand code all your forms. There's currently a bug that causes VS 2010 to not know where the IronRuby interpreter is but if you install NuGet then Install IronRuby it works fine. http://nuget.codeplex.com/ http://ironruby.codeplex.com/releases http://www.microsoft.com/visualstudio/en-us Here's what the default WinForms app looks like: # Code Start # require 'System.Windows.Forms' include System::Windows::Forms class MyForm < Form def initialize button = Button.new button.text = 'Click Me' controls.add button end end form = MyForm.new Application.run form # Code End # On Thu, May 17, 2012 at 7:45 AM, ashbb wrote: > Hi Wybo, J and folks, > > @J, > > Thank you for forwarding this post to Shoes-ML. > I didn't notice this post in ruby-talk ML. xx-P > > > @Wybo, > > What platform are you using? > > >> According to http://rubydoc.info/gems/green_shoes/1.1.358/frames, >> all you need is >> Ruby 1.9 or above >> Gems 1.5 or above >> ruby-gtk2 package 0.90.7 or above > Ah, sorry. This information may not be correct for now. xx-P > > > You wrote: >> I have: >> Ruby 1.9.3 >> Gem  1.8.11 >> ruby-gtk2 1.0.3-1 > > And got this error: > >> Gem files will remain installed in /var/lib/gems/1.9.1/gems/glib2-1.1.3 >> for inspection. >> Results logged to >> /var/lib/gems/1.9.1/gems/glib2-1.1.3/ext/glib2/gem_make.out > > I'm not sure, but that looks like a conflict of glib2 version. > Could you try to use the latest gtk2 and dependent gems? > I think the latest version is 1.1.3. > > http://rubygems.org/gems/gtk2 > > If `gem install green_shoes` doesn't work well, try out doing first `gem > install gtk2`, then `gem install green_shoes`. > > ashbb