It works when running a server in a separate process:
$ bundle exec ruby example.rb
Booted sinatra app
Using typhoeus to make a request to the app...
Response: hello world
...but if you run the server in a separate thread in the same process as the client, it deadlocks:
$ THREADED=1 bundle exec ruby example.rb
ctrl-c
won't even kill it. You've got to kill -9
it to stop it.
This used to work with Typhoeus 0.3 and 0.4.