Error starting Visualruby

ruby

#1

Hey,

I’m new and want to lern Ruby.
so i installed Ruby and ConEmu.
and with ruby it works.

the next step was to install Visualruby.

want to start it with “vr” and i get an error.
working with Win 7 x64

Traceback (most recent call last):
        11: from C:/Ruby25-x64/bin/vr:23:in `<main>'
        10: from C:/Ruby25-x64/bin/vr:23:in `load'
         9: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/visualruby-3.2.3/vr:1:in `<top (required)>'
         8: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         7: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/gtk3-3.2.4-x64-mingw32/lib/gtk3.rb:18:in `<top (required)>'
         5: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         4: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/atk-3.2.4/lib/atk.rb:26:in `<top (required)>'
         2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/atk-3.2.4/lib/atk.rb:34:in `<module:Atk>'
         1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/gobject-introspection-3.2.4-x64-mingw32/lib/gobject-introspection/loader.rb:37:in `load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/gobject-introspection-3.2.4-x64-mingw32/lib/gobject-introspection/loader.rb:37:in `require': Typelib file for namespace 'Atk' (any version) not found (GObjectIntrospection::RepositoryError::TypelibNotFound)

i searched the web, but i didnt found something :frowning:

gem list :

atk (3.2.9 x64-mingw32, 3.2.4)
bigdecimal (1.3.5, default: 1.3.4)
bundler (1.16.3, default: 1.16.2)
cairo (1.15.13 x64-mingw32)
cairo-gobject (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
cmath (default: 1.0.0)
csv (3.0.0, default: 1.0.0)
date (default: 1.0.0)
dbm (default: 1.0.0)
did_you_mean (1.2.1, 1.2.0)
etc (1.0.1, default: 1.0.0)
fcntl (default: 1.0.0)
fiddle (default: 1.0.0)
fileutils (1.1.0, default: 1.0.2)
gdbm (default: 2.0.0)
gdk3 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
gdk_pixbuf2 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
gio2 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
glib2 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
gobject-introspection (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
gtk3 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
gtksourceview3 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
io-console (default: 0.4.6)
ipaddr (default: 1.2.0)
json (default: 2.1.0)
minitest (5.11.3, 5.10.3)
native-package-installer (1.0.6)
net-telnet (0.2.0, 0.1.1)
openssl (2.1.1, default: 2.1.0)
pango (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
pkg-config (1.3.1)
power_assert (1.1.3, 1.1.1)
psych (default: 3.0.2)
rake (12.3.1, 12.3.0)
rdoc (6.0.4, default: 6.0.1)
require_all (2.0.0, 1.4.0)
rsvg2 (3.2.9 x64-mingw32, 3.2.4 x64-mingw32)
rubygems-update (2.7.7)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
stringio (default: 0.0.1)
strscan (default: 1.0.0)
test-unit (3.2.8, 3.2.7)
visualruby (3.2.3)
webrick (default: 1.4.2)
xmlrpc (0.3.0)
zlib (default: 1.0.0)

could someone help me?

thanks

Helado


#2

I’m not familiar with VisualRuby. You can easily use Ruby without it being VisualRuby with https://rubyinstaller.org/ . Is there a particular reason why you chose VisualRuby?