February 2019
Intermediate to advanced
240 pages
5h 25m
English
Our current approach for managing gems is to rebuild the image any time we need to update our gems. However, you may have noticed that any time we change our Gemfile, even if it’s just adding a single gem, all our gems have to be reinstalled from scratch. As a result, updating our gems takes longer than we’re typically used to.
Why does this happen?
Bundler and Docker images are both trying to achieve the same goal of ensuring a consistent environment, but they achieve it in different ways. Docker’s image-build process breaks some of Bundler’s key assumptions, which means it doesn’t quite work how we’re used to.
Bundler was primarily designed for use on a long-running system where installed gems hang around; ...
Read now
Unlock full access