Running ruby-gnome 3.1.0 on win10/ruby 2.2


#1

Hello,
Happy to have a new version :slight_smile:

Trying new version, I get some issues:

gdk3 sample :

C:\Ruby22\lib\ruby\gems\2.2.0\gems\gdk_pixbuf2-3.1.0-x86-mingw32\sample>ruby
composite.rb
C:/Ruby22/lib/ruby/2.2.0/rubygems/specification.rb:2112:in
raise_if_conflicts': Unable to activate gobject-introspection-3.1.0-x86-mingw32, because glib2-3.0.9-x86-mingw32 conflicts with glib2 (= 3.1.0) (Gem::ConflictError) from C:/Ruby22/lib/ruby/2.2.0/rubygems/specification.rb:1280:inactivate’
from C:/Ruby22/lib/ruby/2.2.0/rubygems.rb:198:in `rescue in
try_activate’

with
C:\Ruby22\lib\ruby\gems\2.2.0\gems>ll -ld go*
drwxr-xr-x 6 rdaubare Administ 4096 May 9 2016
gobject-introspection-3.0.7-x86-mingw32/
drwxr-xr-x 4 rdaubare Administ 4096 Aug 9 18:37
gobject-introspection-3.0.8-x86-mingw32/
drwxr-xr-x 6 rdaubare Administ 4096 Aug 16 14:42
gobject-introspection-3.0.9-x86-mingw32/
drwxr-xr-x 6 rdaubare Administ 4096 Nov 14 11:09
gobject-introspection-3.1.0-x86-mingw32/
drwx

Then trying gtk3 demos :
C:\Ruby22\lib\ruby\gems\2.2.0\gems\gtk3-3.0.7-x86-mingw32\sample\gtk-demo>ruby
main.rb
C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require': cannot load such file -- pango.so (LoadError) from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire’
from
C:/Ruby22/lib/ruby/gems/2.2.0/gems/pango-3.1.0-x86-mingw32/lib/pango.rb:20:in
rescue in <top (required)>' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/pango-3.1.0-x86-mingw32/lib/pango.rb:16:in<top (required)>’

with
C:\Ruby22\lib\ruby\gems\2.2.0\gems>gfind pa* -name ‘*.so’
pango-3.0.7-x86-mingw32/lib/2.0/pango.so
pango-3.0.7-x86-mingw32/lib/2.1/pango.so
pango-3.0.7-x86-mingw32/lib/2.2/pango.so
pango-3.0.8-x86-mingw32/lib/2.2/pango.so
pango-3.0.9-x86-mingw32/lib/2.2/pango.so
pango-3.0.9-x86-mingw32/lib/2.3/pango.so
pango-3.1.0-x86-mingw32/lib/2.2/pango.so
pango-3.1.0-x86-mingw32/lib/2.3/pango.so


#2

installing cairo manually (gem install cairo) seem has resolve issues
by installing cairo-1.15.3-x86-mingw32

Then, after a second ‘gem install gtk3’, all works …