I’m running Ruby 1.9.1 (Win32) and I installed the
wxruby-1.9.10-x86-mswin32-60 gem.
But when I try to run a script with it, I get an error, “This
application has failed to start because msvcrt-ruby18.dll was not
found.”
I also get this output:
C:/Program
Files/Ruby/lib/ruby/gems/1.9.1/gems/wxruby-1.9.10-x86-mswin32-60/lib/wx.rb:12:in require': 126: The specified module could not be found. - C:/Program Files/Ruby/lib/ruby/gems/1.9.1/gems/wxruby-1.9.10-x86-mswin32-60/lib/wxruby2.so (LoadError) from C:/Program Files/Ruby/lib/ruby/gems/1.9.1/gems/wxruby-1.9.10-x86-mswin32-60/lib/wx.rb:12:in<top (required)>’
from HelloWorld.rb:2:in require' from HelloWorld.rb:2:in’
I assume that it’s looking for a legacy library from 1.8.x, how can I
fix this?
I don’t know if these problems were ever resolved.
Since the main ruby distribution for Windows is moving over to MingW,
fixing support for MSVC builds with Ruby 1.9 hasn’t been a high
priority. We’ll happily integrate any needed fixes though.