“msvcrt-ruby18.dll is missing" pop-up error appears on the latest rubyinstaller-1.9.2-p136

48 views
Skip to first unread message

the_zonker

unread,
Dec 30, 2010, 8:07:58 AM12/30/10
to RubyInstaller
Hi guys

Steps:

1. I installed the latest version of Ruby installer
rubyinstaller-1.9.2-p136.
2. Got “msvcrt-ruby18.dll is missing" during running Cucumber
The complete Ruby output are following:


126: The specified module could not be found. - C:/Ruby192/lib/ruby/
gems/1
.9.1/gems/win32-api-1.4.7-x86-mingw32/lib/win32/api.so (LoadError)
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/
api.rb:1:i
n `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/windows-pr-1.1.2/lib/windows/
error.rb:12
:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-process-0.6.5/lib/win32/
process.rb
:1:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-1.6.7/lib/watir/ie-
process.rb:1:in
`<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-1.6.7/lib/watir/ie.rb:5:in
`<top (
required)>'
D:/My Dropbox/personal activity/work/automation/SigmaSure_dupl/mfg/
features/
support/env.rb:28:in `<top (required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
rb_support/
rb_language.rb:143:in `load'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
rb_support/
rb_language.rb:143:in `load_code_file'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
runtime/sup
port_code.rb:176:in `load_file'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
runtime/sup
port_code.rb:78:in `block in load_files!'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
runtime/sup
port_code.rb:77:in `each'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
runtime/sup
port_code.rb:77:in `load_files!'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
runtime.rb:
137:in `load_step_definitions'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/
runtime.rb:
39:in `run!'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/cli/
main.rb
:43:in `execute!'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/lib/cucumber/cli/
main.rb
:20:in `execute'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-0.10.0/bin/cucumber:14:in
`<top
(required)>'
C:/Ruby192/bin/cucumber:19:in `load'
C:/Ruby192/bin/cucumber:19:in `<main>'


I search for a way to resolve this issue and find following:
1. install DevKit - I got the latest DevKit-tdm-32-4.5.1-20101214-1400-
sfx and install it successfully
2. gem uninstall json
3 gem install json --platform=ruby

But it doesn't resolve error pop-up.

Please, help.

Regards, Vadim.

Luis Lavena

unread,
Dec 30, 2010, 8:18:48 AM12/30/10
to rubyin...@googlegroups.com
On Thu, Dec 30, 2010 at 10:07 AM, the_zonker <the.z...@gmail.com> wrote:
> Hi guys
>
> Steps:
>
> 1. I installed the latest version of Ruby installer
> rubyinstaller-1.9.2-p136.
> 2. Got “msvcrt-ruby18.dll is missing" during running Cucumber
> The complete Ruby output are following:
>
>
> 126: The specified module could not be found.   - C:/Ruby192/lib/ruby/
> gems/1
> .9.1/gems/win32-api-1.4.7-x86-mingw32/lib/win32/api.so (LoadError)
> <internal:lib/rubygems/custom_require>:29:in `require'
> <internal:lib/rubygems/custom_require>:29:in `require'
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/
> api.rb:1:i
> n `<top (required)>'

Please uninstall win32-api-1.4.7 gem and install with:

gem install win32-api --platform=ruby

>
> I search for a way to resolve this issue and find following:
> 1. install DevKit - I got the latest DevKit-tdm-32-4.5.1-20101214-1400-
> sfx and install it successfully
> 2. gem uninstall json
> 3 gem install json --platform=ruby
>

JSON was the common gem having this issue, seems there are others.

Please report to the gem author about generating a fat-binary for both
1.8 and 1.9.

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Reply all
Reply to author
Forward
0 new messages