use bundler and modern sinatra features

thanks for your example!

I updated the code to use _modern_ `sinatra` and `bundler` features.