Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Keep in mind that shipping "compiled" ruby can still be reverse engineered, but it will take time and be painful, so it's not really a protection but more like a due-diligence to deter lazy thieves. JRuby + Warbler is a good option, but JRuby is incompatible with C extensions, so you'll need to find pure-Ruby or JRuby-compatible alternatives or use FFI gem alternatives. If your app is small enough, you could possibly port it to Crystal which compiles to a native binary. If your app is really small, possibly try porting it to mruby, compile all of the source code to mrb bytecode, and embed that into a C program.