Forum: Ruby-Gnome 2 BUG: undefined method `prepend_environment_path' for GLib:Module

4913bcb685792f601ae9813b4713abb9?d=identicon&s=25 Detlef Reichl (Guest)
on 2013-04-13 15:36
(Received via mailing list)
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:in `require'
  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 `<main>'


Cheers detlef
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-04-13 16:35
(Received via mailing list)
Hi,

In <51695F3E.6060101@gmx.org>
  "[ruby-gnome2-devel-en] BUG: undefined method
`prepend_environment_path' for GLib:Module" on Sat, 13 Apr 2013 15:35:58
+0200,
  Detlef Reichl <detlef.reichl@gmx.org> 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 `<main>'

Thanks for your report.
I've fixed it. :-)

Thanks,
--
kou
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.