Shopify / ruby-lsp

An opinionated language server for Ruby
https://shopify.github.io/ruby-lsp/
MIT License
1.6k stars 164 forks source link

Investigate disabling `BUNDLE_BIN` automatically #2440

Open vinistock opened 3 months ago

vinistock commented 3 months ago

Apparently, there's a BUNDLE_BIN option to automatically create binstubs for installed gems. I was not aware of this setting, but we need to turn it off when setting up the custom bundle or else we accidentally create binstubs for the application.

andyw8 commented 3 months ago

Let's review the others too: https://bundler.io/v2.5/man/bundle-config.1.html#LIST-OF-AVAILABLE-KEYS

(perhaps it may be safe to filter on a set that we do allow).

vinistock commented 3 months ago

Yeah, that's a good idea.