You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when an application other than ruby(w).exe tries to load Ruby DLL ((x64-)msvcrt-ruby2X0.dll), the ruby_builtin_dlls directory must be added in the PATH environment. Otherwise, the application fails to load the Ruby DLL.
If the following manifest is embedded into the Ruby DLL, no need to add the ruby_builtin_dlls directory into the PATH environment.
Unpack gvim_8.1.1006_x86.zip and execute vim/vim81/gvim.exe.
Type :ruby p RUBY_VERSIONEnter
gvim.exe fails to load msvcrt-ruby240.dll.
If C:\Ruby24\bin\ruby_builtin_dlls is added in the PATH environment, the Ruby DLL will be loaded and the version (e.g. "2.4.4") will be shown.
If the above manifest is embedded into msvcrt-ruby240.dll, the Ruby version will be shown even without adding the ruby_builtin_dlls directory to the PATH.
To embed the manifest, you can use the mt command from VC++:
What problems are you experiencing?
Currently, when an application other than
ruby(w).exe
tries to load Ruby DLL ((x64-)msvcrt-ruby2X0.dll
), theruby_builtin_dlls
directory must be added in thePATH
environment. Otherwise, the application fails to load the Ruby DLL.If the following manifest is embedded into the Ruby DLL, no need to add the
ruby_builtin_dlls
directory into thePATH
environment.So, please embed this manifest into the Ruby DLL (for convenience).
(Currently, the dependency manifest is only embedded in
ruby.exe
andrubyw.exe
.)Steps to reproduce
gvim_8.1.1006_x86.zip
) from here.gvim_8.1.1006_x86.zip
and executevim/vim81/gvim.exe
.:ruby p RUBY_VERSION
Entergvim.exe
fails to loadmsvcrt-ruby240.dll
.If
C:\Ruby24\bin\ruby_builtin_dlls
is added in thePATH
environment, the Ruby DLL will be loaded and the version (e.g."2.4.4"
) will be shown.If the above manifest is embedded into
msvcrt-ruby240.dll
, the Ruby version will be shown even without adding theruby_builtin_dlls
directory to thePATH
.To embed the manifest, you can use the
mt
command from VC++:This is also the same for 64-bit versions and also for Ruby 2.5 and 2.6.
What's the output from
ridk version
?The text was updated successfully, but these errors were encountered: