This is just a quick informational post, made in the hopes that one day someone else will not have to wade through seven pages of Google search to find an obscure blog answer to: The Program can’t start because msvcrt-ruby18.dll is missing.

What is happening is you have probably typed:gem install wxrubylike I did. In that funny way that Ruby/Rails likes to punish you every day, this has now been silently updated to:gem install wxruby-ruby19Remember to uninstall the old gem first. In true Ruby/Rails fashion this is not made obvious, but has now been updated somewhere in the wiki for wxRuby. In my opinion wxRuby should be defaulted for 1.9 and a separate gem should be made for older versions. Even better – have a little look and see which Ruby is running and install the right version automatically. This would save thousands of man hours and make the world a better place. I would do it, but do not yet know the inner workings of Ruby. I am dedicated, however, to one day help updating wxRuby.

Here is a picture of the error, I hope you found it quickly instead of the hell I went through:

missing picture saying it can't find msvcrt-ruby18.dll

2 Comments on Apr 26th 2012

2 comments
kevin
kevin

You're welcome Jim :)

Jim
Jim

Your instructions work. Thanks for the post, it's kind of you to share your experience.