The fast_xor README actually says to use xorcist. I believe the code was simply moved there and expanded to support JRuby.
Here’s the complete list of exts with status as I know it today.
- bootsnap: https://github.com/Shopify/bootsnap/issues/129
- fast_blank: Should no longer be transitive dep of onebox, could be MRI-only in Gemfile, or could support JRuby. JRuby support by headius · Pull Request #21 · SamSaffron/fast_blank · GitHub
- fast_xor: Switch to xorcist. https://github.com/fny/xorcist
- fast_xs: This would be an easy port, or could possibly be omitted. https://github.com/brianmario/fast_xs/issues/6
- cppjieba_rb: JRuby support using jieba-analysis library for Java · Issue #1 · fantasticfears/cppjieba_rb · GitHub
- libv8: Transitive dependency of mini_racer. Replace with therubyrhino or the Nashorn equivalent?
- nokogumbo: Transitive dependency of sanitize. Library wrapper for Gumbo HTML5 parser. Probably could use FFI effectively…it’s very small. https://github.com/rubys/nokogumbo/issues/24
- oj: Get Tom Enebo (or help him) to finish his port: https://github.com/enebo/oj
- pg: Use pg_jruby and improve it as needed.
- rinku: https://github.com/vmg/rinku/issues/75
- unicorn: Only needed on MRI.
I updated the gist I linked above, now excluding or replacing all the gems above. With these changes, bundle install completes.
I have no idea if Discourse actually works yet though