X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea59d95f4aad7cafe3a0d0b4d5ef533b0662e365..99a64ba8c16d5d8b5baaac4e4d9d994d17103b3e:/script/update-spam-blocks diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 86e853cfc..40f2cb03c 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require File.dirname(__FILE__) + "/../config/environment" +require File.join(File.dirname(__FILE__), "..", "config", "environment") require "generator" addresses = User.count(