diff --git a/lib/suspenders/generators/advisories_generator.rb b/lib/suspenders/generators/advisories_generator.rb index e97b87faa..65be53ff6 100644 --- a/lib/suspenders/generators/advisories_generator.rb +++ b/lib/suspenders/generators/advisories_generator.rb @@ -3,7 +3,10 @@ module Suspenders class AdvisoriesGenerator < Generators::Base def bundler_audit_gem - gem "bundler-audit", require: false, group: %i[development test] + gem "bundler-audit", + require: false, + group: %i[development test], + git: "https://github.com/rubysec/bundler-audit.git", branch: "0.7.0" Bundler.with_clean_env { run "bundle install" } end