bin/srrepl in shen-ruby-0.12.1 vs bin/srrepl in shen-ruby-0.13.0

- old
+ new

@@ -1,10 +1,8 @@ #!/usr/bin/env ruby root = File.expand_path('../..', __FILE__) -%w(lib shen/lib).each do |path| - full_path = File.join(root, path) - $LOAD_PATH << full_path unless $LOAD_PATH.include? full_path -end +lib_path = File.join(root, 'lib') +$LOAD_PATH << lib_path unless $LOAD_PATH.include? lib_path require 'shen_ruby' # Leave gracefully if someone hits Control-C during loading Signal.trap("INT") { puts "\nLeaving..."; exit 1 }