I ran this command in my rails project:
bundle --binstubs
This created a bin/
directory and generated all of the executables for the gems in my Gemfile.
But I don't need them. Every time I run bundle install
, it will generate all of that executables.
How can ignore them when I run bundle install
?
--binstubs
is one of Bundler's "remembered options", which means as soon as you use it once, it saves that value to a local config file (.bundle/config
, relative to your Gemfile's location). You can always open up that file and edit it yourself, or you can run:
bundle install --no-binstubs
And bundler should remember instead to not install binstubs in the future. Now, if the above doesn't work on your version of bundler, you may need to run:
bundle config --delete bin