Newbie: can't install on to os x 10.8.2

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

Hi,

In [email protected]
“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. [email protected] 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

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 nrescue 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:inrescue 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 nrequire’
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 nrequire’
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 nrequire’
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.>

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

thanks

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()