bin/rougify in rouge-2.0.6 vs bin/rougify in rouge-2.0.7
- old
+ new
@@ -2,9 +2,10 @@
require 'pathname'
ROOT_DIR = Pathname.new(__FILE__).dirname.parent
load ROOT_DIR.join('lib/rouge.rb')
load ROOT_DIR.join('lib/rouge/cli.rb')
+Signal.trap('SIGPIPE', 'SYSTEM_DEFAULT')
begin
Rouge::CLI.parse(ARGV).run
rescue Rouge::CLI::Error => e
puts e.message