-
Notifications
You must be signed in to change notification settings - Fork 1
Install JRuby
Sarah Smulligan edited this page May 17, 2023
·
3 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 java 9 Java(TM) SE Runtime Environment (build 9+181) Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
-
Install Jruby
$ rbenv install jruby-9.3.9.0 $ rbenv local jruby-9.3.9.0
Note: If the version you are looking for is not listed with
rbenv install -l
, try upgrading the ruby-build:$ brew update && brew upgrade ruby-build
or
$ cd ~/.rbenv/plugins/ruby-build && git pull && cd -
-
Install Bundler
$ gem install bundler