As a reminder, and for those that didn’t know, the Ruby-GNOME2 project
is a set of bindings for the GNOME 2.x and 3.x libraries to use from
Ruby 2.1, 2.2 and 2.3.
The Ruby-GNOME2 project provides the following gems:
Since the version 3.0.0, the Ruby-GNOME2 gems are based on the
gobject-instropection whenever it is possible. The platforms supported
are Linux, Windows and OS X.
In order to install a gem (gtk3 for example) just do :
GTK+ is a highly usable, feature rich toolkit for creating
graphical user interfaces which boasts cross platform
compatibility and an easy to use API. GTK+ it is written
in C, but has bindings to many other popular programming
languages such as C++, Python and C# among others. GTK+ is
licensed under the GNU LGPL 2.1 allowing development of
both free and proprietary software with GTK+ without any
license fees or royalties.
The GNOME project provides two things: The GNOME desktop
environment, an intuitive and attractive desktop for
users, and the GNOME development platform, an extensive
framework for building applications that integrate into
the rest of the desktop.
Some say that this kind of error (Gem::RemoteFetcher::UnknownHostError)
are related to a problem of internet connection other say that they were
able to solve this kind of problem with the following command:
but then, when i run my tests scripts, some have this error:
d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:120:in require': cannot load such file -- glib2.so (LoadError) from d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:120:inrequire’
from
d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/glib2-3.0.8-x86-mingw32/lib/glib2.rb:115:in rescue in <top (required)>' from d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/glib2-3.0.8-x86-mingw32/lib/glib2.rb:111:in<top (required)>’
from
d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:68:in require' from d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:68:inrequire’
from
d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/gobject-introspection-3.0.8-x86-mingw32/lib/gobject-introspection.rb:17:in <top (required)>' from d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:68:inrequire’
from
d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:68:in require' from d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/gtk3-3.0.8-x86-mingw32/lib/gtk3.rb:17:in<top (required)>’
from
d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:133:in require' from d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:133:inrescue in require’
from
d:/usr/ruby/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:40:in require' from d:/usr/Ruby/local/dsl-gtk/lib/Ruiby.rb:25:in<top
(required)>’
from test.rb:15:in require_relative' from test.rb:15:in’
from d:/usr/Ruby/local/dsl-gtk/lib/Ruiby.rb:25
is :
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application’s support team for more information.
I have many other application which use sames commands for drawing some
vector. All them works find, except those which modify chrome() on
button press in drawing widget (gadget* in Ruiby/samples).
B)
the bar title (windows 10) show strange icon for iconify/full-display
button.
(see attached png)
Thank you for all this work !!!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.