We use a private gem in our application, which is located at a private gem server.
There is no access to that gem server outside of VPC.
We put them into a group called “private” and tell circleci bundler to ignore that group.
dependencies: bundler: without: [production, staging, private]
But circleci also run
bundle check before
bundle install and it tries to install all the missing gems.