bin/rougify in rouge-3.18.0 vs bin/rougify in rouge-3.19.0
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'pathname'
ROOT_DIR = Pathname.new(__FILE__).dirname.parent
-load ROOT_DIR.join('lib/rouge.rb')
-load ROOT_DIR.join('lib/rouge/cli.rb')
+Kernel::load ROOT_DIR.join('lib/rouge.rb')
+Kernel::load ROOT_DIR.join('lib/rouge/cli.rb')
Signal.trap('PIPE', 'SYSTEM_DEFAULT') if Signal.list.include? 'PIPE'
begin
Rouge::CLI.parse(ARGV).run
rescue Rouge::CLI::Error => e