We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4045d82 commit 53404f7Copy full SHA for 53404f7
1 file changed
lib/libxml-ruby.rb
@@ -3,9 +3,9 @@
3
# Load the C-based binding.
4
begin
5
RUBY_VERSION =~ /(\d+.\d+)/
6
- require "#{$1}/libxml_ruby"
+ require_relative "#{$1}/libxml_ruby"
7
rescue LoadError
8
- require "libxml_ruby"
+ require_relative "libxml_ruby"
9
end
10
11
# Load Ruby supporting code.
0 commit comments