2011年3月8日火曜日

ruby1.9.2 + gtk2 (0.90.8 x86-mingw32)



ruby 1.9.2p180 (2011-02-18) [i386-mingw32]

C:\Documents and Settings\takashi>gem list

*** LOCAL GEMS ***

atk (0.90.8 x86-mingw32)
cairo (1.10.0 x86-mingw32)
gdk_pixbuf2 (0.90.8 x86-mingw32)
glib2 (0.90.8 x86-mingw32)
gtk2 (0.90.8 x86-mingw32)
minitest (2.0.2)
mkrf (0.2.3)
pango (0.90.8 x86-mingw32)
pkg-config (1.0.8)
rake (0.8.7)
rdoc (3.5.3)
rubygems-update (1.6.1)

C:\Documents and Settings\takashi>cd C:\ruby\Ruby192\lib\ruby\gems\1.9.1\gems\gtk2-0.90.8-x86-mingw32\sample\gtk-demo

C:\ruby\Ruby192\lib\ruby\gems\1.9.1\gems\gtk2-0.90.8-x86-mingw32\sample\gtk-demo>ruby main.rb

ruby1.8.7 + gtk2-0.90.8


gtk2の最新版でsampleを実行しました。
C:\Documents and Settings\takashi>gem install gtk2
Fetching: pkg-config-1.0.8.gem (100%)
Fetching: glib2-0.90.8-x86-mingw32.gem (100%)
Fetching: atk-0.90.8-x86-mingw32.gem (100%)
Fetching: cairo-1.10.0-x86-mingw32.gem (100%)
Fetching: pango-0.90.8-x86-mingw32.gem (100%)
Fetching: gdk_pixbuf2-0.90.8-x86-mingw32.gem (100%)
Fetching: gtk2-0.90.8-x86-mingw32.gem (100%)
Successfully installed pkg-config-1.0.8
Successfully installed glib2-0.90.8-x86-mingw32
Successfully installed atk-0.90.8-x86-mingw32
Successfully installed cairo-1.10.0-x86-mingw32
Successfully installed pango-0.90.8-x86-mingw32
Successfully installed gdk_pixbuf2-0.90.8-x86-mingw32
Successfully installed gtk2-0.90.8-x86-mingw32
7 gems installed
Installing ri documentation for pkg-config-1.0.8...
Installing ri documentation for glib2-0.90.8-x86-mingw32...
Installing ri documentation for atk-0.90.8-x86-mingw32...
Installing ri documentation for cairo-1.10.0-x86-mingw32...
Installing ri documentation for pango-0.90.8-x86-mingw32...
Installing ri documentation for gdk_pixbuf2-0.90.8-x86-mingw32...
Installing ri documentation for gtk2-0.90.8-x86-mingw32...
Installing RDoc documentation for pkg-config-1.0.8...
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Installing RDoc documentation for glib2-0.90.8-x86-mingw32...
Installing RDoc documentation for atk-0.90.8-x86-mingw32...
Installing RDoc documentation for cairo-1.10.0-x86-mingw32...
Could not find main page README.txt
Could not find main page README.txt
Could not find main page README.txt
Could not find main page README.txt
Installing RDoc documentation for pango-0.90.8-x86-mingw32...
Installing RDoc documentation for gdk_pixbuf2-0.90.8-x86-mingw32...
Installing RDoc documentation for gtk2-0.90.8-x86-mingw32...

C:\Documents and Settings\takashi>cd C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.8-x86-mingw32\sample\gtk-demo

C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.8-x86-mingw32\sample\gtk-demo>ruby -rubygems main.rb