Based on an external redis queue, I want a Sinatra application to run a script like this:
ruby fetch_vin.rb vin_number_123
This will fire up
watir-webdriver and report to the queue appropriately. When the script is finished, everything but the Sinatra app should close.
It seems however that
Thread, as well as
spawn are all blocking when ran from inside ruby.
How do I fire & forget?