```ruby
require 'rubygems'
require 'bundler'

Bundler.require

require './app'
run Sinatra::Application```

Stop log output from being buffered
user
```ruby
require 'rubygems'
require 'bundler'

Bundler.require

require './app'

# So that log output doesn't get buffered
$stdout.sync = true

run Sinatra::Application```
assistant