lib/tasks/diagrams_ps.rake in modaldiagrams-1.0.0 vs lib/tasks/diagrams_ps.rake in modaldiagrams-1.0.1

- old
+ new

@@ -7,10 +7,10 @@ out_dir = Rails.root.join("db/diagrams/#{cmd}_ps") mkdir_p out_dir Dir[Rails.root.join('db/diagrams/*.dot')].each do |fn| fn = Pathname(fn) out_fn = out_dir.join(fn.basename.sub_ext('.ps')) - `#{cmd} #{fn} -o#{out_fn} -Tps2` + `#{cmd} '#{fn}' -o '#{out_fn}' -Tps2` end puts "Output has been generated in #{out_dir}" end end