Open deadlyhifi opened 11 years ago
You'll need to contact @spiritofnine about updating the plugin, but it looks like the each statement needs a .split("\n") or other means of making it an array before running on the content string.
I got this to work by changing:
f = File.new(File.expand_path(inputFile))
content = f.read
f.close
if !content.empty?
content.each do |line|
...
end
end
to:
f = File.new(File.expand_path(inputFile))
f.each_line do |line|
...
end
f.close
I'm getting the following error despite the file being written to by IFTTT https://ifttt.com/recipes/56242. Is this something to do with the Ruby version I'm using?