Can't start foreman in Heroku Tutorial using Python
Yes, heroku-toolbelt-installer is not working correctly at present (30-Aug-2013).For windows the following steps worked for me:
- uninstall heroku (via windows 'program uninstall')
- install heroku https://toolbelt.heroku.com/windows into C:\bin\heroku , i.e. 'no spaces'
- install ruby from http://rubyinstaller.org/downloads/
- in cmd run "gem install foreman -v 0.61". Yes, "gem install foreman" installed v0.63, which does not work for "foreman start"
- in cmd "foreman start" works for the heroku hello-world example
Uninstalling the heroku toolbelt and reinstall it to a path that does not have spaces in it, for example C:\heorku\
will help a bit. Aside from that the heroku windows installer is horribly broken at the moment, not exactly a point of pride for us. To work around the issue with foreman you can set the environment variables your self using export VAR=VALUE
and then run your app using what ever commands you put in your procfile.
This is going to improve in the future.