How to run sinatra example:

  1. Install dependencies: bundle install
  2. Run the sinatra app: bundle exec ruby webapp.rb

The app will run at port 4567. Open localhost:4567 from your browser.