Help from Nikesh to get it working on Heroku
Added require 'rack'