[openstreetmap/openstreetmap-website] Prefer binstubs over `bundle exec` (PR #6874)
Andy Allan
notifications at github.com
Wed Mar 11 18:40:25 UTC 2026
gravitystorm left a comment (openstreetmap/openstreetmap-website#6874)
Thanks @pablobm . I think I need to mull over this because I have an initial reaction against it.
> 1. It's the form used in the Rails Guides, and therefore should be better known to new contributors.
That's a good reason.
> 2\. It is clearer that we are running scripts bundled with the app.
I think it's a bit confusing though, since most of the things are coming from 3rd-party software. So we're just adding wrappers and adding indirection
> 5\. It's more autocomplete-friendly.
Do you mean that autocomplete as in `bin/anno<tab>` works whereas `bundle exec anno<tab>` doesn't? Perhaps that's worthwhile too.
---
The downsides I see are:
* Using `bundle exec` is common across many non-rails projects, like running jekyll sites etc. It's certainly in my own muscle memory!
* `bundle exec` allows you to run anything from any gem that you have installed, without having to create/maintain any binstubs
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6874#issuecomment-4041330759
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6874/c4041330759 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260311/ea209418/attachment.htm>
More information about the rails-dev
mailing list