Hello People,

I tried to install Ruby GTK using the following command on my Ubuntu:

$ sudo gem install gtk2

and it spits out some error as shown:

Building native extensions.  This could take a while...
ERROR:  Error installing gtk2:
  ERROR: Failed to build gem native extension.

/usr/local/ruby/bin/ruby extconf.rb
checking for GCC... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for Win32 OS... no
checking for gobject-2.0... no

How to fix it?

-- 
Posted via http://www.ruby-forum.com/.