Warble an ruby app for tomcat

Hello All

Getting error uninitialized constant Rack::Head from innate.rb…

Check the innate code and Rack::Head is

Rack::Head
Removes the body of the response for HEAD requests.

It does not make sense… The ruby app works fine is webricks and trying
to warble (package) for tomcat 6.

Have tried using different versions of innate and ramaze but still
getting errors.

Request Method: GET
Request URL: http://127.0.0.1:8080/stdp//

uninitialized constant Rack::Head from
C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/innate-2009.07/lib/innate.rb:258
from
C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/innate-2009.07/lib/innate/middleware_compiler.rb:19:in
initialize' from C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/innate-2009.07/lib/innate/middleware_compiler.rb:6:inbuild’ from
C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/innate-2009.07/lib/innate.rb:164:in
middleware' from C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/innate-2009.07/lib/innate.rb:257 from C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/innate-2009.07/lib/innate.rb:31:inrequire’ from
file:/C:/tomcat6018/webapps/stdp/WEB-INF/lib/jruby-complete-1.1.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/ramaze-2009.07/lib/ramaze.rb:20 from C:/tomcat6018/webapps/stdp/WEB-INF/gems/gems/ramaze-2009.07/lib/ramaze.rb:36:inrequire’ from
file:/C:/tomcat6018/webapps/stdp/WEB-INF/lib/jruby-complete-1.1.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require’ from

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs