We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff49ee3 commit 9a634e2Copy full SHA for 9a634e2
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_relative "#{$1}/libxml_ruby"
+ require "#{$1}/libxml_ruby"
7
rescue LoadError
8
- require_relative "libxml_ruby"
+ require "libxml_ruby"
9
end
10
11
# Load Ruby supporting code.
0 commit comments