Update one or more specific gems(s) defined in the Gemfile but only to the next patch version

bundle

  • Dependency manager for the Ruby programming language.
    More information: <https://bundler.io/man/bundle.1.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

bundle update --patch {{gem_name}} {{gem_name}}

click the source code to copy install bundle on any operating system with command-not-found.com