Fixed a bug that broke the application on non-JRuby installs