Skip to content

Commit 653f852

Browse files
authored
Support Ruby 4.0+ development versions for extension building (#341)
1 parent d8a6b8f commit 653f852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pg_query/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def export_ruby_abi_version
2929
return false if m.nil?
3030
major = m[1].to_i
3131
minor = m[2].to_i
32-
major >= 3 && minor >= 2
32+
((major >= 3 && minor >= 2) || major >= 4)
3333
end
3434

3535
def ext_symbols_filename

0 commit comments

Comments
 (0)