-
Notifications
You must be signed in to change notification settings - Fork 1
Install JRuby
Sarah Smulligan edited this page Sep 3, 2025
·
4 revisions
It is recommended to benchmark Traject on JRuby for processing MARC input for performance. https://github.com/traject/traject.
-
To run JRuby you will need a JRE (the JVM runtime environment) version 7 or higher.
$ java --version openjdk version "21.0.8" 2025-07-15 OpenJDK Runtime Environment Homebrew (build 21.0.8) OpenJDK 64-Bit Server VM Homebrew (build 21.0.8, mixed mode, sharing) -
Install Jruby
$ rbenv install jruby-10.0.2.0 $ rbenv local jruby-10.0.2.0Note: If the version you are looking for is not listed with
rbenv install -l, try upgrading the ruby-build:$ brew update && brew upgrade ruby-buildor
$ cd ~/.rbenv/plugins/ruby-build && git pull && cd - -
Install Bundler
$ gem install bundler