Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 95708
BY: Dan Tenenbaum (dandante)
DATE: 2011-01-10 20:17
SUBJECT: msvcrt-ruby18.dll looked for on ruby 1.9.2p13

 

Hello,

I installed win32-process (I'll describe how I did it below).
The output of 'ruby -v' is:
ruby 1.9.2p136 (2010-12-25) [i386-mingw32]

When I try:
require 'win32/process'
I see a dialog box that says:
"This application has failed to start because msvcrt-ruby18.dll was not found. Re-installing the application may fix this problem."

Of course, I am running Ruby 1.9.2, so c:\ruby192\bin does not contain msvcrt18.dll. It does contain msvcrt-ruby191.dll.

How can I get it to look for the correct DLL?

First I tried the simple install of win32-process:

gem install win32-process

Then I uninstalled all windows packages, installed the devkit (devkit-3.4.5r3-20091110.7z), and tried:

gem install win32-process --platform x86-mingw32

(I'm not sure if this is necessary as I already have the mingw compiler set up on my system).

In both cases, the gem seems to install without any manual compilation step (I never see "building native extensions").

Is there a way to force the compilation of the C code?
Either that, or perhaps there is some other way to download a version of win32-process that is prebuilt for ruby 1.9.2?

Thanks
Dan


Thread View

Thread Author Date
msvcrt-ruby18.dll looked for on ruby 1.9.2p13Dan Tenenbaum2011-01-10 20:17
      RE: msvcrt-ruby18.dll looked for on ruby 1.9.2p13Dan Rathbun2011-01-11 07:46
            RE: msvcrt-ruby18.dll looked for on ruby 1.9.2p13Jarmo Pertman2011-01-11 07:52

Post a followup to this message