Add this line to your application's Gemfile:
gem 'sinatra-liveviews'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sinatra-liveviews