Provides rake tasks that allow you to check for out of date gems in a project using Bundler.
$ rake gemlock:outdated rails is out of date! Installed version: 3.0.10. Latest version: 3.1.0
Gemlock looks at what gems you've specified in your Gemfile, checks the version that that Bundler has set in Gemfile.lock, and lets you know if there's a newer version available.
If you're using Gemlock in a Rails project, whenever you start your server, Gemlock will check for updates. Then, it will check again in 2 weeks or when you restart your server, whichever comes first. If you specify an email in the configuration file, you'll also get notified when these automatic checks run and gem updates are found.
gem 'gemlock'to your
- If you're using Rails, you're done! Otherwise, add
require 'gemlock/rake_tasks'to your Rakefile
Configuration options should be placed in the file config/gemlock.yml. Currently Gemlock does not auto-create this file, so for the moment you will need to create the file by hand. There are a few parameters:
releases- What kind of releases you'd like to know about (e.g.
interval- How often you'd like to check for updates
An example file would look like:
releases: - minor - patch interval: 2 weeks email: email@example.com