Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4610

bundle install use already installed local gems in containers

$
0
0

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

Viewing all articles
Browse latest Browse all 4610

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>