BUG: undefined method `prepend_environment_path' for GLib:Module

Hi,

with the last changes a bug in glib2 was introduced. With a fresh
installation you get this error:

irb(main):001:0> require ‘gtk2’
NoMethodError: undefined method prepend_environment_path' for GLib:Module from /usr/local/lib/site_ruby/1.9.1/gtk2/base.rb:20:in<top
(required)>’
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
from /usr/local/lib/site_ruby/1.9.1/gtk2.rb:11:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from (irb):1 from /usr/bin/irb:12:in

Cheers detlef

Hi,

In [email protected]
“[ruby-gnome2-devel-en] BUG: undefined method
`prepend_environment_path’ for GLib:Module” on Sat, 13 Apr 2013 15:35:58
+0200,
Detlef R. [email protected] wrote:

from /usr/local/lib/site_ruby/1.9.1/gtk2.rb:11:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require’
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from (irb):1 from /usr/bin/irb:12:in

Thanks for your report.
I’ve fixed it. :slight_smile:

Thanks,

kou