Skip to content

Instantly share code, notes, and snippets.

@alexrothenberg
Created February 25, 2013 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexrothenberg/5030245 to your computer and use it in GitHub Desktop.
Save alexrothenberg/5030245 to your computer and use it in GitHub Desktop.
1. gem install bundler-audit 2. run this script 3. learn what you need to upgrade
#! /usr/bin/env ruby
Dir['/srv/*/current'].each do |dir|
if File.exist?("#{dir}/Gemfile.lock")
puts dir
puts `cd #{dir} && bundle-audit`
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment