Wednesday, February 21, 2018

Re: Could not load library msvcrt-ruby240.dll

On Mi, 21 Feb 2018, Frantz Baustier wrote:

> Hello,
>
>  
>
> 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 :

did you actually use :set rubydll="..."

That does not work, since the `"` is the command character in vim.

> 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.

Are you sure, both applications are 32bit?

BTW: please do not ask the same question at the same time at several
forums:
https://github.com/vim/vim/issues/2660
https://stackoverflow.com/q/48915343/789222
and here

I do not like to have to write the same answer everywhere.

Best,
Christian

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: