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.
paxtonhare edited this page Oct 31, 2014
·
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. To get started you need to install some dependencies.
Install JRuby
You should consider using a tool like RVM or RBEnv to manage your Ruby versions
Install the Warbler gem: $ gem install warbler
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: