From f3e8cbf41dfffefd6d90a2b64ce559c6b19e7fb9 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 28 Nov 2011 16:45:29 -0600 Subject: [PATCH] Requires ghostscript too --- lib/gollum/tex.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gollum/tex.rb b/lib/gollum/tex.rb index f84f02e7..01318823 100644 --- a/lib/gollum/tex.rb +++ b/lib/gollum/tex.rb @@ -40,6 +40,10 @@ module Gollum if `which convert` == "" raise Error, "`convert` command not found" end + + if `which gs` == "" + raise Error, "`gs` command not found" + end end def self.render_formula(formula)