Forum: Ruby Visual Ruby Installation on windows 10

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F7d9999991f66d7eb7b6cc48561a97be?d=identicon&s=25 Robin Baker (robinf_b)
on 2016-09-10 16:19
I got this error when trying to start visualruby after installing on
Windows 10:

C:/Ruby23/lib/ruby/gems/2.3.0/gems/gobject-introspection-3.0.9-x86-mingw32/lib/gobject-introspection/loader.rb:
line 302
   GLib-GObject-WARNING **:attempt to override closure->va_marshal
(63C488A0) with new marshal (04CE5CD0)
C:/Ruby23/lib/ruby/gems/2.3.0/gems/gdk_pixbuf2-3.0.9-x86-mingw32/lib/gdk_pixbuf2/pixbuf.rb:115:in
`initialize_with_hash': undefined method `initialize_new_from_file' for
#<GdkPixbuf::Pixbuf:03A47648 ptr=00000000> (NoMethodError)
Did you mean?  initialize_new_from_inline
               initialize_new_from_file_utf8
               initialize_new_from_bytes
               initialize_new_from_stream
               initialize_new_from_data


Any suggestions on what has gone wrong with install. Glade works by
itself as does Ruby
286fd83e71cbb0c91a33449ab343745c?d=identicon&s=25 Randy Mehling (randy_m)
on 2016-09-11 06:21
I also got this error in the same environment.
286fd83e71cbb0c91a33449ab343745c?d=identicon&s=25 Randy Mehling (randy_m)
on 2016-09-11 06:28
c:\>vr
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/gobject-introspection-3.0.9-x64-mingw32/lib/gobject-introspection/loader.rb:
line 302
   GLib-GObject-WARNING **:attempt to override closure->va_marshal
(0000000063A48970) with new marshal (00000000067F0518)

I uninstalled ruby, then grabbed 2.3.0 x64 version, and now I only get
this much of the error.
286fd83e71cbb0c91a33449ab343745c?d=identicon&s=25 Randy Mehling (randy_m)
on 2016-09-11 08:54
I opened loader and started using some puts to try and trace down the
error.  Here is where it errors out in def load_constructor_infos


infos: [#<GObjectIntrospection::ConstructorInfo:00000000030DAE50
ptr=0000000008F8C7A0 own=true>], klass: Gtk::WindowGroup
initialize_new
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/gobject-introspection-3.0.9-x64-mingw32/lib/gobject-introspection/loader.rb:
line 568
   GLib-GObject-WARNING **:attempt to override closure->va_marshal
(0000000063A48970) with new marshal (00000000067F0518)
F7d9999991f66d7eb7b6cc48561a97be?d=identicon&s=25 Robin Baker (robinf_b)
on 2016-09-11 13:35
Randy Mehling wrote in post #1184993:
> I opened loader and started using some puts to try and trace down the
> error.  Here is where it errors out in def load_constructor_infos
>
>
> infos: [#<GObjectIntrospection::ConstructorInfo:00000000030DAE50
> ptr=0000000008F8C7A0 own=true>], klass: Gtk::WindowGroup
> initialize_new
>
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/gobject-introspection-3.0.9-x64-mingw32/lib/gobject-introspection/loader.rb:
> line 568
>    GLib-GObject-WARNING **:attempt to override closure->va_marshal
> (0000000063A48970) with new marshal (00000000067F0518)

I have reinstalled with Ruby23-x64 and am getting exactly the same
error. But VisualRuby does not run afterwards even though this is just a
warning. Not sure how to get it to run so I can use it.
286fd83e71cbb0c91a33449ab343745c?d=identicon&s=25 Randy Mehling (randy_m)
on 2016-09-12 03:45
I tracked it down to an invoke statement in loader.rb in the directory
referenced by the error.  I am still troubleshooting it down...I'm
totally new to Ruby--I just completed the Codeacademy course this
weekend!  lol, so I'll post in a couple of days unless I can solve it
sooner.
In the meantime, I started using the Tk windows code to write simple
windows code, Tk looks simple to use and has good documentation.  It
comes with ruby; you just have to select to install it during the ruby
install.
This topic is locked and can not be replied to.