Please use the exact name of the executable and not the gem name.
You can add or remove gems from the list of wrapped commands.
Please **use the exact name of the executable** and not the gem name.
### Add additional gems to be wrapped
#### Include gems to be wrapped (`BUNDLED_COMMANDS`)
Add this before the plugin-list in your `.zshrc`:
Add this before the pluginlist in your `.zshrc`:
```sh
BUNDLED_COMMANDS=(rubocop)
...
...
@@ -37,10 +51,9 @@ plugins=(... bundler ...)
This will add the wrapper for the `rubocop` gem (i.e. the executable).
#### Exclude gems from being wrapped (`UNBUNDLED_COMMANDS`)
### Exclude gems from being wrapped
Add this before the plugin-list in your `.zshrc`:
Add this before the plugin list in your `.zshrc`:
```sh
UNBUNDLED_COMMANDS=(foreman spin)
...
...
@@ -49,13 +62,13 @@ plugins=(... bundler ...)
This will exclude the `foreman` and `spin` gems (i.e. their executable) from being wrapped.
## Excluded gems
### Excluded gems
These gems should not be called with `bundle exec`. Please see [issue #2923](https://github.com/ohmyzsh/ohmyzsh/pull/2923) on GitHub for clarification.
These gems should not be called with `bundle exec`. Please see [issue #2923](https://github.com/ohmyzsh/ohmyzsh/pull/2923) on GitHub for clarification: