[rb] Remove `prism` dependency by Earlopain · Pull Request #16437 · SeleniumHQ/selenium

@Earlopain

This project does not use prism at all. At most it is being used by rubocop during local development.

It was added in SeleniumHQ#16357 but it is unclear to me why.
I just bumped it for this repo, perhaps that JRuby issue has since been fixed.
Either way, it should not be part of the gemspec.

@selenium-ci added C-rb

Ruby Bindings

B-build

Includes scripting, bazel and CI integrations

labels

Oct 15, 2025

@diemol

It fails to build with the following error:
src/prism.c: In function ‘context_terminator’:
src/prism.c:8651:62: error: conversion to ‘unsigned int’ from ‘int’ may change
the sign of the result [-Werror=sign-conversion]
8651 |     return token->type < 32 && (context_terminators[context] & (1 <<
token->type));
      |                                                              ^
cc1: all warnings being treated as errors

@diemol