I am using containers (podman). Whenever we bundle during the image build, bundler fetches and installs the gems every time. How can I get bundler to use local gems already installed on the system?
I have the gem home on a volume as well as the bundler cache so these are already populated before bundle install
runs.
The command I am calling is:
bundle --prefer-local