Skip to content

Commit 409bc26

Browse files
author
Brent Cook
committed
whitelist rather than blacklist
1 parent e6baaf5 commit 409bc26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ group :development do
2121
# module documentation
2222
gem 'octokit', '~> 4.0'
2323
# session aggregator, native builds have issues on arm platforms for now
24-
gem 'metasploit-aggregator' if !RUBY_PLATFORM =~ /arm|aarch64/
24+
gem 'metasploit-aggregator' if [
25+
'x86-mingw32', 'x64-mingw32',
26+
'x86_64-linux', 'x86-linux',
27+
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
2528
end
2629

2730
group :development, :test do

0 commit comments

Comments
 (0)