X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..033c3b28b3b2708634f3015449d0c2ed222e26d6:/script/statistics diff --git a/script/statistics b/script/statistics index 912302c2e..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 @@ -15,7 +15,7 @@ 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 "