aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/tools/platform_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/tools/platform_check.rb')
-rw-r--r--src/ruby/tools/platform_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/tools/platform_check.rb b/src/ruby/tools/platform_check.rb
index e891ec23a8..c058deb5f5 100644
--- a/src/ruby/tools/platform_check.rb
+++ b/src/ruby/tools/platform_check.rb
@@ -46,7 +46,7 @@ module PLATFORM
case RbConfig::CONFIG['host_cpu']
when /x86_64/
'x86_64'
- when /x86|i686/
+ when /x86|i686|i386/
'x86'
else
fail 'cpu architecture detection failed'