Using Bundler’s advanced features

Image for post
Image for post
Photo by Glenn Carstens-Peters on Unsplash

Fix vulnerable gems

$ gem install bundler-audit
$ bundle audit --update
[For each gem listed by the audit]
$ bundle update --conservative --patch <gem-name>

Update non-production gems

$ bundle update --conservative --group test development

Update production gems

$ bundle update --patch --strict
$ bundle update --minor --strict
$ bundle update --major

List constrained gems

$ bundle outdated --groups

Why?


Tips and tricks to master bundle update by following incremental, controlled and safe steps

Image for post
Image for post
“selective focus photography of faceted red gemstone” by Joshua Fuller on Unsplash

Step 1 — Fix security vulnerabilities

About

Gonzalo Rodriguez

Co-founder & Full-Stack Developer @ cedarcode - It's not about doing as much as you can, it's about doing more of what's important, meaningful and impactful.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store