How to Install ruby-rack-cors in Ubuntu 18.04



Install ruby-rack-cors by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-rack-cors

Description:

enable Cross-Origin Resource Sharing in Rack apps

Middleware that will make Rack-based apps CORS compatible. . The CORS spec allows web applications to make cross domain AJAX calls without using workarounds such as JSONP.

Homepage: http://github.com/cyu/rack-cors

Version: 1.0.1-2

Section: universe/ruby