1namespace :bundle do
 
2  desc "Audit bundle for any known vulnerabilities"
 
3  task :audit do
 
4    unless system "bundle-audit check --update"
 
5      exit 1
 
6    end
 
7  end
 
8end