# Issues with visualruby on windows 10 with ruby 2.3.1

**URL:** <https://www.ruby-forum.com/t/issues-with-visualruby-on-windows-10-with-ruby-2-3-1/245067>\
**Category:** Ruby-Gnome 2\
**Created:** [September 9, 2016, 4:57pm UTC](https://www.ruby-forum.com/t/issues-with-visualruby-on-windows-10-with-ruby-2-3-1/245067 "2016-09-09T16:57:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [September 9, 2016, 4:57pm UTC](https://www.ruby-forum.com/t/issues-with-visualruby-on-windows-10-with-ruby-2-3-1/245067/1 "2016-09-09T16:57:40Z")

</div>

I’m attempting to install visualruby. Gem fetches all requirements,  
everything seems fine.

Attempting to run visualruby causes an error and several warnings (see  
attachment err.txt).

Attempting to solve this manually, I opened the file and replaced the  
call to initialize\_new\_from\_file with initialize\_new\_from\_file\_utf8.

Visualruby now runs but I am still getting these warnings (see warn.txt)

I have no idea how to fix this… help would be greatly appreciated

thanks in advance

---

<div class="post-metadata">

**Author:** ![princenamor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c0e974/32.png) [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Post date:** [September 15, 2016, 7:49am UTC](https://www.ruby-forum.com/t/issues-with-visualruby-on-windows-10-with-ruby-2-3-1/245067/2 "2016-09-15T07:49:28Z")

</div>

I just got this exact error on Windows 7, without the last part. I only  
have:

"  
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 (00000000063D0518)  
"

Do you have multiple versions of Ruby on your machine? I have 2.24 and  
I’m using uru to manage them.

---

<div class="post-metadata">

**Author:** ![princenamor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c0e974/32.png) [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Post date:** [September 16, 2016, 10:30am UTC](https://www.ruby-forum.com/t/issues-with-visualruby-on-windows-10-with-ruby-2-3-1/245067/3 "2016-09-16T10:30:42Z")

</div>

after run vr got the following error :

C:\Users\lelsheri\>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 (0000000006840518)

pls. advise
