Skip to content
Snippets Groups Projects
Commit 17104c0b authored by Lars Kanis's avatar Lars Kanis
Browse files

Update to RubyInstaller2-2.4.1-1rc1 which moved the add_dll_directory function.

parent 9e55ec43
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ rescue LoadError
add_dll_path = proc do |path, &block|
begin
require 'ruby_installer'
RubyInstaller.add_dll_directory(path, &block)
require 'ruby_installer/runtime'
RubyInstaller::Runtime.add_dll_directory(path, &block)
rescue LoadError
old_path = ENV['PATH']
ENV['PATH'] = "#{path};#{old_path}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment