Skip to content

Commit 1d83c7e

Browse files
committed
Automatically update gems after running msfupdate
1 parent d8863c7 commit 1d83c7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

msfupdate

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,12 @@ if is_git
193193
system("git", "checkout", branch)
194194
system("git", "fetch", remote)
195195
system("git", "merge", "#{remote}/#{branch}")
196+
197+
$stdout.puts "[*] Updating gems..."
198+
require 'bundler'
199+
Bundler.with_clean_env do
200+
system("bundle", "install")
201+
end
196202
end
197203

198204
if is_installed

0 commit comments

Comments
 (0)