How can I tell if I’m running from JRuby vs. Ruby? May 25, 2023 by Tarik I believe you can check the RUBY_PLATFORM constant.