Closed aumars closed 6 years ago
Got the same error.
For me, the fix was to replace line 1 of jekyll-exiftag-mod.rb
, and include exifr/jpeg
instead of exifr
:
diff --git a/plugin/_plugins/jekyll-exiftag-mod.rb b/plugin/_plugins/jekyll-exiftag-mod.rb
index 18305f1..4afccdc 100644
--- a/plugin/_plugins/jekyll-exiftag-mod.rb
+++ b/plugin/_plugins/jekyll-exiftag-mod.rb
@@ -1,4 +1,4 @@
-require 'exifr'
+require 'exifr/jpeg'
#Based on https://github.com/benib/jekyll-exiftag by Beni Buess (MIT License)
#Edited to work as a Liquid-Block instead of a Liquid-Tag, reads the filename from between the
diff --git a/sample-installation/_plugins/jekyll-exiftag-mod.rb b/sample-installation/_plugins/jekyll-exiftag-mod.rb
index 18305f1..4afccdc 100644
--- a/sample-installation/_plugins/jekyll-exiftag-mod.rb
+++ b/sample-installation/_plugins/jekyll-exiftag-mod.rb
@@ -1,4 +1,4 @@
-require 'exifr'
+require 'exifr/jpeg'
#Based on https://github.com/benib/jekyll-exiftag by Beni Buess (MIT License)
#Edited to work as a Liquid-Block instead of a Liquid-Tag, reads the filename from between the
@Sjlver Thanks 👍 I've applied your fix to the project!
I cloned the repository and built
/sample-installation/
, it immediately gave me this error:I checked
jekyll-exiftag-mod.rb
and this is the if-statement that is causing the issue:Any help would be greatly appreciated!