[openstreetmap/openstreetmap-website] Prefer binstubs over `bundle exec` (PR #6874)

Pablo Brasero notifications at github.com
Thu Mar 12 13:11:32 UTC 2026


@pablobm commented on this pull request.



On bin/danger:

Theoretically all of them could change. However they are only a layer of boilerplate, the same for all (all that require Bundler), and only the last line is important.

The binstubs are generated by Bundler, rather than the individual applications. If it changes, it should change for all of them at the same time and... er... oh, what do you know, I just checked now, it changed recently and we are on an old version :sweat_smile: Looks like all that noisy check for the `bundle` executable was removed at https://github.com/ruby/rubygems/pull/8345 Also reminds me that we are on an old version of Bundler...

As for the possibility of this being less reliable than `bundle exec`:
- Theoretically, it should work better because it removes a layer of indirection.
- But I understand that things work in mysterious ways so I cannot guarantee it. Just for a data point: have you had bad experiences running `bin/rails` or similar?

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

Message ID: <openstreetmap/openstreetmap-website/pull/6874/review/3936466049 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260312/6dc8cdf2/attachment.htm>


More information about the rails-dev mailing list