diff --git a/Gemfile b/Gemfile index 89e16449..f656ddfe 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ source 'https://rubygems.org' gemspec name: 'recog-content' +gem 'ffi', '1.16.3' gem 'recog', '~>3.1' group :test do diff --git a/bin/recog_cleanup b/bin/recog_cleanup index 234ac978..ae3070af 100755 --- a/bin/recog_cleanup +++ b/bin/recog_cleanup @@ -9,7 +9,7 @@ Dir["#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'xml'))}/*.xml"] data = File.read(f) .gsub(/\s+$/, '') # Trailing whitespace and empty lines .gsub('', "\n") # Every fingerprint should have an empty line after it - .gsub('-->', "-->\n") # Every comment should have an empty line after it + .gsub('-->', "-->\n") # Every comment should have an empty line after it File.write(f, data) end