Automatically update gems after running msfupdate

unstable
Brandon Turner 2013-04-05 09:42:15 -05:00
parent d8863c789a
commit 1d83c7e211
1 changed files with 6 additions and 0 deletions

View File

@ -193,6 +193,12 @@ if is_git
system("git", "checkout", branch)
system("git", "fetch", remote)
system("git", "merge", "#{remote}/#{branch}")
$stdout.puts "[*] Updating gems..."
require 'bundler'
Bundler.with_clean_env do
system("bundle", "install")
end
end
if is_installed