Bundler and outdated Ruby gems <3
Another cool and useful Bundler feature I've recently discovered is the ability to quickly check for outdated Ruby gems specified in your Gemfile
.
The command is very intuitive; if you happened to be a Hombrew user you are going to feel like at home:
bundle outdated
The output looks something like this:
Outdated gems included in the bundle:
* guard-rspec (4.0.4 > 4.0.3)
* kaminari (0.15.0 > 0.14.1)
* mysql2 (0.3.14 > 0.3.13)
* oj (2.2.3 > 2.1.7) Gemfile specifies "= 2.1.7"
Note that Bundler
notifies about the locked version specified in the Gemfile
.
Very handy, when you just want to check for new releases without actually updating the gems. Gemnasium from the terminal.
One thing I'm missing, and haven't figured out how to automate it so far, is the ability to quickly access the release's changelog.
Big Kudos to the Bundler team!
Written by Tadej Murovec
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#