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

Marwin Hochfelsner notifications at github.com
Sat Mar 21 13:44:39 UTC 2026


hlfan left a comment (openstreetmap/openstreetmap-website#6874)

For 3, 4 and https://github.com/openstreetmap/openstreetmap-website/pull/6784#discussion_r2779409714 something like this could also work:

```bash
bx() {
  if [ "$1" = "yarn" ] || [ "$1" = "dev" ] || [ "$1" = "setup" ]; then
    cmd="$1"
    shift
    "./bin/$cmd" "$@"
  else
    bundle exec "$@"
  fi
}
```

It would even be one character shorter

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

Message ID: <openstreetmap/openstreetmap-website/pull/6874/c4103368513 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260321/982614d1/attachment.htm>


More information about the rails-dev mailing list