From 409bc26f25391ea47351fd1ef960fc87da9840fc Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 14 Mar 2017 13:42:42 -0500 Subject: [PATCH] whitelist rather than blacklist --- Gemfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 59515dc0b0..3c42e7a909 100755 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,10 @@ group :development do # module documentation gem 'octokit', '~> 4.0' # session aggregator, native builds have issues on arm platforms for now - gem 'metasploit-aggregator' if !RUBY_PLATFORM =~ /arm|aarch64/ + gem 'metasploit-aggregator' if [ + 'x86-mingw32', 'x64-mingw32', + 'x86_64-linux', 'x86-linux', + 'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin')) end group :development, :test do