Skip to content

Commit e8f3383

Browse files
committed
Update outdated comment for compile cache support
2.3 support was dropped in 88b8cd4 TruffleRuby was added in acffd63
1 parent 640c126 commit e8f3383

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/bootsnap/compile_cache.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ def self.permission_error(path)
5353
end
5454

5555
def self.supported?
56-
# only enable on 'ruby' (MRI), POSIX (darwin, linux, *bsd), Windows (RubyInstaller2) and >= 2.3.0
57-
%w[ruby truffleruby].include?(RUBY_ENGINE) && RUBY_PLATFORM.match?(/darwin|linux|bsd|mswin|mingw|cygwin/)
56+
# only enable on 'ruby' (MRI) and TruffleRuby for POSIX (darwin, linux, *bsd), Windows (RubyInstaller2)
57+
%w[ruby truffleruby].include?(RUBY_ENGINE) &&
58+
RUBY_PLATFORM.match?(/darwin|linux|bsd|mswin|mingw|cygwin/)
5859
end
5960
end
6061
end

0 commit comments

Comments
 (0)