[openstreetmap/openstreetmap-website] Use require_relative in script/statistics (PR #5997)

Anton Khorev notifications at github.com
Fri May 9 08:20:15 UTC 2025


I tried running the statistics script because of #5994:

```
ruby script/statistics
```

and it didn't work until I made this change. `config/environment.rb` already uses `require_relative`.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5997

-- Commit Summary --

  * Use require_relative in script/statistics

-- File Changes --

    M script/statistics (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5997.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5997.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5997
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5997 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250509/adc9be68/attachment.htm>


More information about the rails-dev mailing list