Hello,
I’m using wxRuby as my favourite GUI toolkit with Ruby 1.9. But after I
updated my Ruby installation from Ruby 1.9.1-p0 to Ruby 1.9.1-p129, I
cannot do a require “wx” anymore. Every time I try I get an error that
says that Windows isn’t able to find some procedure. I have a German
Windows XP installation, so I don’t know the English equivalent of this
error (sorry):
irb(main):001:0> require “rubygems”
=> false
irb(main):002:0> require “wx”
LoadError: 127: Die angegebene Prozedur wurde nicht gefunden. -
C:/ruby19/ruby
-1.9.1-p129-i386-mingw32/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86-mingw3
2/lib/wxruby2.so
from
C:/ruby19/ruby-1.9.1-p129-i386-mingw32/lib/ruby/gems/1.9.1/gems/wxr
uby-ruby19-2.0.0-x86-mingw32/lib/wx.rb:12:in require' from C:/ruby19/ruby-1.9.1-p129-i386-mingw32/lib/ruby/gems/1.9.1/gems/wxr uby-ruby19-2.0.0-x86-mingw32/lib/wx.rb:12:in
<top (required)>’
from (irb):2:in require' from (irb):2 from C:/ruby19/ruby-1.9.1-p129-i386-mingw32/bin/irb:12:in
’
I would translate it this way: “The given procedure wasn’t found”. At
the same time I get a Windows error window, saying:
Der Prozedureinsprungpunkt “DLLMain@12” wurde in der DLL
“msvcrt-ruby191.dll” nicht gefunden.
I don’t know how to translate “Prozedureinsprungpunkt”, but it must be
something like “procedure definition point”, so I would say:
The procedure definition point “DLLMain@12” wasn’t found in the
“msvcrt-ruby19.dll” DLL file.
I’m using the mingw version of ruby from
Downloads.
My full ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]