rack-middleware

What is middleware when referenced in the context of Ruby on Rails?

I often hear the term 'middleware' in the context of Ruby on Rails. What exactly is it? Can you provide specific examples? ...

PDFKit middleware problem on Rails 2.3.8

I have installed PDFKit and wkhtmltopdf on my Ubuntu 8.04 server. I am trying to use PDFKit as middleware in my Rails 2.3.8 app and have added the following lines to environment.rb (as directed on the jdpace pdfkit page): require 'pdfkit' config.middleware.use PDFKit::Middleware My Mongrel seems to start up but as soon as I request a p...