From af2e0566a886b08dcc972c4ef918f797fadd3955 Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Tue, 1 Jan 2019 21:08:46 -0500 Subject: [PATCH] Remove Usage of --rdoc and --ri Rubygems 3.0.0 removed the --rdoc and --ri options from install and update, which were deprecated previously. This was removed in the following pull request: https://github.com/rubygems/rubygems/pull/2354. This removes the use of these options in favor of the new `--no-document` option. The documentation states that this option will, "disable documentation generation". --- templates/bin/brakeman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/bin/brakeman b/templates/bin/brakeman index e5da2827..f627ed55 100755 --- a/templates/bin/brakeman +++ b/templates/bin/brakeman @@ -2,7 +2,7 @@ # # Script for running Brakeman tests # Brakeman is a security scanner https://github.com/presidentbeef/brakeman. -gem install --no-rdoc --no-ri brakeman +gem install brakeman --no-document brakeman --exit-on-warn --separate-models -o tmp/brakeman.html -o tmp/brakeman.text . brakeman_exit_code=$?