X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/124ec2e9d560e0df291e5a8e5aa67ef5db2f5d46..c3815a8f6d8610267bd0ed6e8181c1173b3d7cf9:/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 "