Install ruby-middleware by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-middleware
Description:
middleware abstraction for Ruby.
Ruby `middleware` is a library which provides a generalized implementation of the middleware pattern for Ruby. The middleware pattern is a useful abstraction tool in various cases, but is specifically useful for splitting large sequential chunks of logic into small pieces.
Homepage: https://github.com/mitchellh/middleware
Version: 0.1.0-1
Section: universe/ruby