From e4a6251097f6ac5258846d6eeb0defd21faf39a0 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 18 Mar 2026 14:13:10 +0100 Subject: doctor: do not make an exact match on the platform MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- bin/doctor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/doctor.rb b/bin/doctor.rb index 9770cf7..3b5071e 100755 --- a/bin/doctor.rb +++ b/bin/doctor.rb @@ -21,8 +21,8 @@ require 'pathname' ## # Early checks. -raise 'Only Linux on x86/ARM64 supported!' if RUBY_PLATFORM != 'x86_64-linux' && - RUBY_PLATFORM != 'aarch64-linux' +raise 'Only Linux on x86/ARM64 supported!' if !RUBY_PLATFORM.start_with?('x86_64') && + !RUBY_PLATFORM.start_with?('aarch64') raise 'Only CRuby, sorry!' if RUBY_ENGINE != 'ruby' ## -- cgit v1.2.3