Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
Remove Usage of --rdoc and --ri
Browse files Browse the repository at this point in the history
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: rubygems/rubygems#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".
  • Loading branch information
kevin-j-m committed Jan 2, 2019
1 parent 2f6c99d commit af2e056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/bin/brakeman
Original file line number Diff line number Diff line change
Expand Up @@ -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=$?
Expand Down

0 comments on commit af2e056

Please sign in to comment.