# Newbie: can't install on to os x 10.8.2

**URL:** <https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404>\
**Category:** Ruby-Gnome 2\
**Created:** [March 14, 2013, 4:14pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404 "2013-03-14T16:14:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@chas](https://www.ruby-forum.com/u/chas)\
**Post date:** [March 14, 2013, 4:14pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404/1 "2013-03-14T16:14:34Z")

</div>

I am very eager basically excited to use VisualRuby unfortunately:

went thru the entire homebrew , gtk , vr install , and it all seemed to  
have installed ok, but when I tried to launch vr I got the following

process:53754): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:53754): GLib-CRITICAL \*\*: void g\_once\_init\_leave(volatile void  
\*, gsize): assertion `result != 0’ failed

(process:53754): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:53754): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:53754): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:53754): GLib-GObject-CRITICAL \*\*: void  
g\_type\_add\_interface\_static(GType, GType, const GInterfaceInfo \*):  
assertion `G\_TYPE\_IS\_INSTANTIATABLE (instance\_type)’ failed

(process:53754): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:53754): GLib-GObject-CRITICAL \*\*: void  
g\_type\_interface\_add\_prerequisite(GType, GType): assertion  
`G\_TYPE\_IS\_INTERFACE (interface\_type)’ failed

(process:53754): GLib-CRITICAL \*\*: void g\_once\_init\_leave(volatile void  
\*, gsize): assertion `result != 0’ failed

(process:53754): GLib-GObject-CRITICAL \*\*: void  
g\_type\_add\_interface\_static(GType, GType, const GInterfaceInfo \*):  
assertion `G\_TYPE\_IS\_INSTANTIATABLE (instance\_type)’ failed

(process:53754): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

what do I need to do ?

thanks

---

<div class="post-metadata">

**Author:** ![chas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@chas](https://www.ruby-forum.com/u/chas)\
**Post date:** [March 17, 2013, 11:36am UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404/2 "2013-03-17T11:36:28Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] newbie: can’t install on to os x 10.8.2”  
on Thu, 14 Mar 2013 16:57:36 +0100,  
Charles M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> C:/Ruby193/lib/ruby/gems/1.9.1  
> /gems/glib2-1.2.2-x86-mingw32/lib/glib2.so (LoadError)  
> from  
> C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:60:i  
> n `rescue in require’

Sorry. The package is broken. I’ve released a new  
package. Could you try again?

## Thanks

kou

---

<div class="post-metadata">

**Author:** ![chas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@chas](https://www.ruby-forum.com/u/chas)\
**Post date:** [March 14, 2013, 4:57pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404/3 "2013-03-14T16:57:36Z")

</div>

first of all I should mention that on my Mac attempt that X11 starts  
when I try to run VR. I had to install X11 to install and run a  
diagramming app called DIA.

so I also tried on a Windows 7 Pro 64 bit installation , followed all  
the steps which provided no error output and then attempted to launch vr  
, got the following:

ruby 1.9.3p392 (2013-02-22) [i386-mingw32]

C:\Users\Charles M.\>vr  
C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:60:in  
`require': 126: The specified module could not be found. - C:/Ruby193/lib/ruby/gems/1.9.1 /gems/glib2-1.2.2-x86-mingw32/lib/glib2.so (LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:i n`rescue in require’  
from  
C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:35:i  
n `require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/glib2-1.2.2-x86-mingw32/lib/gli b2.rb:100:in`rescue in \<top (required)\>’  
from  
C:/Ruby193/lib/ruby/gems/1.9.1/gems/glib2-1.2.2-x86-mingw32/lib/gli  
b2.rb:96:in `<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i n`require’  
from  
C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:i  
n `require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gtk2-1.2.2-x86-mingw32/lib/gtk2 /base.rb:12:in`\<top (required)\>’  
from  
C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:i  
n `require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i n`require’  
from  
C:/Ruby193/lib/ruby/gems/1.9.1/gems/gtk2-1.2.2-x86-mingw32/lib/gtk2  
.rb:11:in `<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i n`require’  
from  
C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:i  
n `require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/visualruby-0.1.2/vr:5:in`\<top  
(required)\>’  
from C:/Ruby193/bin/vr:23:in `load' from C:/Ruby193/bin/vr:23:in`’

C:\Users\Charles M.\>

---

<div class="post-metadata">

**Author:** ![chas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@chas](https://www.ruby-forum.com/u/chas)\
**Post date:** [March 18, 2013, 2:55pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404/4 "2013-03-18T14:55:05Z")

</div>

by package do we mean the VisualRuby package that has the GTK gem  
referenced or to install GTK via homebrew again ?

thanks

---

<div class="post-metadata">

**Author:** ![chas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@chas](https://www.ruby-forum.com/u/chas)\
**Post date:** [March 18, 2013, 3:04pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404/5 "2013-03-18T15:04:48Z")

</div>

homebrew would not reinstall gtk nor gtksourceview i.e. it thinks it has  
the latest installed

I went ahead and re-installed VisualRuby via gem install visualruby

and it went through its process and all native extensions built without  
complaint. However, when I try to to launch vr i.e. via the command line  
, all that happens is that the XQuartz 2.7.4 Server is launched and in  
the shell I get the following errors which seem to be the same as  
previously reported:

monteiro:~ charles$ vr

(process:11910): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:11910): GLib-CRITICAL \*\*: void g\_once\_init\_leave(volatile void  
\*, gsize): assertion `result != 0’ failed

(process:11910): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:11910): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:11910): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:11910): GLib-GObject-CRITICAL \*\*: void  
g\_type\_add\_interface\_static(GType, GType, const GInterfaceInfo \*):  
assertion `G\_TYPE\_IS\_INSTANTIATABLE (instance\_type)’ failed

(process:11910): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()

(process:11910): GLib-GObject-CRITICAL \*\*: void  
g\_type\_interface\_add\_prerequisite(GType, GType): assertion  
`G\_TYPE\_IS\_INTERFACE (interface\_type)’ failed

(process:11910): GLib-CRITICAL \*\*: void g\_once\_init\_leave(volatile void  
\*, gsize): assertion `result != 0’ failed

(process:11910): GLib-GObject-CRITICAL \*\*: void  
g\_type\_add\_interface\_static(GType, GType, const GInterfaceInfo \*):  
assertion `G\_TYPE\_IS\_INSTANTIATABLE (instance\_type)’ failed

(process:11910): GLib-GObject-CRITICAL \*\*: gtype.c:2720: You forgot to  
call g\_type\_init()
