lib/hotch.rb in hotch-0.4.1 vs lib/hotch.rb in hotch-0.4.2
- old
+ new
@@ -84,10 +84,10 @@
end
end
def convert_svg(dir, dot, file)
svg = File.join(dir, file)
- system("dot", "-Tsvg", "-o", svg, dot) or raise "dot failed"
+ system("dot", "-Tsvg", "-o", svg, dot) or raise "dot: command not found. Please install graphviz"
svg
end
def write_file(dir, file)
path = File.join(dir, file)