Install ruby-mousetrap-rails by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-mousetrap-rails
Description:
integrate Mousetrap javascript library with Rails Asset Pipeline
Mousetrap is a javascript library for handling keyboard shortcuts in your web applications. This gem integrates Mousetrap with Rails asset pipeline for easy of use. . Learn more at /usr/share/doc/ruby-mousetrap-rails/README.md.gz
Homepage: http://kugaevsky.github.com/mousetrap-rails
Version: 1.4.6-6
Section: universe/ruby