trinidad/trinidad_init_services — Issue #14: no such file to load -- rack/handler
Author: jkutner
Created: 2012-02-16 21:10:06+00:00
State: open

I'm encountering this error on a server that used to work:

JRubyDaemon: Script raised an error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- rack/handler
org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- rack/handler
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at Kernel.require(/opt/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36)
at #.(root)(/opt/jruby-1.6.5/lib/ruby/gems/1.8/gems/trinidad-1.3.3/lib/rack/handler/trinidad.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at Kernel.require(/opt/jruby-1.6.5/lib/ruby/gems/1.8/gems/trinidad-1.3.3/lib/rack/handler/trinidad.rb:36)
at #.(root)(/opt/jruby-1.6.5/lib/ruby/gems/1.8/gems/trinidad-1.3.3/lib/trinidad.rb:21)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at Kernel.require(/opt/jruby-1.6.5/lib/ruby/gems/1.8/gems/trinidad-1.3.3/lib/trinidad.rb:59)
at opt.jruby_minus_1_dot_6_dot_5.lib.ruby.gems.$1_dot_8.gems.trinidad_init_services_minus_1_dot_1_dot_2.lib.trinidad_init_services.(root)(/opt/jruby-1.6.5/lib/ruby/gems/1.8/gems/trinidad_init_services-1.1.2/lib/trinidad_init_services.rb:2)
Cannot load daemon

Installing rack manually fixed this. The rack gem is a development dependency of Trinidad proper, but I think it needs to be a runtime dependency of either trinidad_init_services or trinidad.