Skip to content

Commit

Permalink
Automatically update gems after running msfupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
bturner-r7 committed Apr 5, 2013
1 parent d8863c7 commit 1d83c7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions msfupdate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d83c7e

Please sign in to comment.