Structure for a modular Sinatra web app (Ruby 2.3.1 + Rake + Bundler + Sinatra 1.4.7).
Install dependencies with bundle install --without production
(or development in a production environment).
Run tests with bundle exec rake
.
Create a package with bundle exec rake package
.
Start server with bundle exec rackup
. The app will deploy to http://localhost:9292.