X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/124ec2e9d560e0df291e5a8e5aa67ef5db2f5d46..033c3b28b3b2708634f3015449d0c2ed222e26d6:/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('
')}

" end -puts "

Report took #{(Time.new - start_time)} seconds to run

" +puts "

Report took #{Time.new - start_time} seconds to run

" puts "" puts ""