Selected code examples from Sinatra Up And Running Code. The book's code examples are dated, as is the book itself, and some objectionable code is presented, so I updated and improved the code.
$ sudo apt install rerun
$ gem install rerun
Rerun does not work without the full Linux machinery, so
enable systemd
and follow the native Ubuntu instructions above.
These examples span from the beginning of the book, up to but not including the Architecture section of Chapter 4.
These examples begin with the Architecture section of Chapter 4.