14 lines
437 B
Diff
14 lines
437 B
Diff
|
diff --git a/lib/glfm_markdown/loader.rb.orig b/lib/glfm_markdown/loader.rb
|
||
|
index 295d549..6718619 100644
|
||
|
--- a/lib/glfm_markdown/loader.rb.orig
|
||
|
+++ b/lib/glfm_markdown/loader.rb
|
||
|
@@ -2,7 +2,7 @@
|
||
|
|
||
|
def load_rust_extension
|
||
|
ruby_version = /(\d+\.\d+)/.match(RUBY_VERSION)
|
||
|
- require_relative "./#{ruby_version}/glfm_markdown"
|
||
|
+ require_relative "../../lib/glfm_markdown"
|
||
|
rescue LoadError
|
||
|
require 'glfm_markdown/glfm_markdown'
|
||
|
end
|