-
Notifications
You must be signed in to change notification settings - Fork 6
Known Issues
chadrem edited this page Mar 23, 2012
·
8 revisions
Officer's start/stop script relies on the Daemons gem so it isn't compatible with JRuby. If you try to start officer using JRuby, you will get an error about fork/exec being unsafe. The workaround is to write your own start script using something similar to this:
#/usr/bin/env jruby
require 'rubygems'
require 'officer'
Officer::Server.new.run
You will then need to run this script in the background using GNU Screen, nohup, etc. Note that I haven't tested Officer with JRuby, but I expect it to work.