2010年10月9日土曜日

ruby1.8.7 + gtk2


C:\rubyapi\gtk>ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

C:\rubyapi\gtk>gem install gtk2

C:\rubyapi\gtk>gem install gdk_pixbuf2

C:\rubyapi\gtk>gem list

*** LOCAL GEMS ***

atk (0.90.2 x86-mingw32)
cairo (1.10.0 x86-mingw32)
gdk_pixbuf2 (0.90.2 x86-mingw32)
glib2 (0.90.2 x86-mingw32)
gtk2 (0.90.2 x86-mingw32)
pango (0.90.2 x86-mingw32)
pkg-config (1.0.6)
poppler (0.90.2 x86-mingw32)
qtruby4 (2.1.0 mswin32)
rake (0.8.7)
rsvg2 (0.90.2 x86-mingw32)

C:\rubyapi\gtk>cd C:\ruby\Ruby187\lib\ruby\gems\1.8\gems\gtk2-0.90.2-x86-mingw32\sample\gtk-demo

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

0 件のコメント:

コメントを投稿