bin/sxp2json in sxp-1.1.0 vs bin/sxp2json in sxp-1.2.0
- old
+ new
@@ -1,5 +1,5 @@
-#!/usr/bin/env ruby -rubygems
-$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))
+#!/usr/bin/env ruby
+$::unshift(File.expand_path("../../lib", __FILE__))
require 'sxp'
abort "Usage: #{File.basename($0)} input.sxp > output.json" if ARGV.empty?