X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/124ec2e9d560e0df291e5a8e5aa67ef5db2f5d46..93b8c47c8fa1aac86d2d9c730c327c076b578a84:/script/statistics?ds=sidebyside 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 "