the version which I managed to deploy locally. With hints from http://meta.discourse.org/t/anyone-got-this-running-on-heroku-yet/625/29