bin/orats in orats-5.2.0 vs bin/orats in orats-5.2.1

- old
+ new

@@ -5,13 +5,11 @@ # different because the lib directory is not on the $LOAD_PATH # since git directories are not included in gem releases we can # determine if the gem is being actively developed by searching # for a git repo -git_path = File.expand_path('../../.git', __FILE__) +git_path = File.expand_path('../.git', __dir__) -if File.exist?(git_path) - $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__)) -end +$LOAD_PATH.unshift(File.expand_path('../lib', __dir__)) if File.exist?(git_path) require 'orats/cli' Orats::CLI.start