Skip to content

Could not load library msvcrt-ruby240.dll #2660

@FR4N7Z

Description

@FR4N7Z

I have install the last version of the x86 version of vim 8 and I have an issue whith the ruby integration.
My plugins like LustyExplorer can’t work and when I enter

:ruby –version
I got the following error :

E370: Could not load library msvcrt-ruby240.dll
E266 : Sorry, this command is disabled, the Ruby Library could not be loaded.
When I run

:version
I have : +ruby/dyn and

-DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=24 -
DDYNAMIC_RUBY_DLL="msvcrt-ruby240.dll"
Ruby is install in C:\Ruby24 and the bin folder containing the msvcrt-ruby240.dll is in %PATH%.
I also tried to put in my vimrc file

set rubydll="C:\Ruby24\bin\msvcrt-ruby240.dll"
but I got the following error :

E370: Could not load Library
E266 : Sorry, this command is disabled, the Ruby Library could not be loaded.
Both ruby and vim are x86.

I am working on windows 10. Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions