X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..a11572f3e176d284e2815712884828df17ed7a08:/script/statistics diff --git a/script/statistics b/script/statistics index 8b79523b7..cd9e9afa7 100755 --- a/script/statistics +++ b/script/statistics @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require File.dirname(__FILE__) + "/../config/environment" +require File.join(File.dirname(__FILE__), "..", "config", "environment") start_time = Time.now @@ -86,7 +86,7 @@ rescue StandardError => e puts "
Exception: #{e}
#{e.backtrace.join('
')}
Report took #{(Time.new - start_time)} seconds to run
" +puts "Report took #{Time.new - start_time} seconds to run
" puts "