You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
Robert Szkutak edited this page Nov 27, 2016
·
6 revisions
Run as a Jar
Roxy can be packaged up as a Java Jar file and run in environments where Ruby is not installed. Be warned that there is considerable startup cost for running a jarred version of JRuby. Roxy Jar will run slower than regular Roxy.
Creating the Jar file
Prerequisites
Roxy uses a Ruby gem called Warbler to package the jar.
Install and use this version of the Warbler gem: $ gem install warbler -v 1.4.9
Create Jar
$ ml jar
If everything goes well you should get a jar version or Roxy called roxy.jar.
Using the Jar file
Use the Jar file just as you would use Roxy but with a few extra bits to make it run:
$ java -jar roxy.jar {normal roxy arguments}
Example
Bootstrap
Roxy: $ ml local bootstrap
Roxy Jar: $ java -jar roxy.jar local bootstrap
Troubleshooting
If the Jar throws an error about app_specific not being found, you built it with the wrong version of warbler.