diff --git a/exe/rails5-spec-converter b/exe/rails5-spec-converter index 7fcd242..7930a61 100755 --- a/exe/rails5-spec-converter +++ b/exe/rails5-spec-converter @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -$LOAD_PATH.unshift(File.expand_path('../lib', __FILE__)) +$LOAD_PATH.unshift(File.expand_path('../lib', __dir__)) require 'rails5/spec_converter/cli' result = Rails5::SpecConverter::CLI.new.run