-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panda, Tiger, and Eagle #8
base: master
Are you sure you want to change the base?
Conversation
@@ -4,3 +4,6 @@ gem 'rake' | |||
gem 'activesupport' | |||
gem 'sinatra' | |||
gem 'sinatra-contrib' | |||
gem 'eventmachine', '~> 1.0.0.beta.4.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious -- why event machine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first thing I had to do after cloning the repository and trying to run theweb.rb was handle this error:
http://stackoverflow.com/questions/6927907/ruby-problem-installing-eventmachine-under-windows-7
For heroku, I think this is the issue:
So, if you add a .gitkeep to your local config directory, add it, commit it, and push to github/heroku, I bet it'll work. Normally, if you copy the config/database.yml.sample to config/database.yml (rather than move), it'll stay there, and then so would the config directory, and heroku would write it out. It's just-that-simple 🎉 |
Thanks for the feedback. I'll give this a try tonight. |
The eagle version of the program should work on Heroku now. |
That's a pain! Way to go! |
You can see the site with the panda and tiger changes here: http://protected-lowlands-4515.herokuapp.com/
I was not able to configure the postgres connection info to work on Heroku, but the eagle portion works locally. How can I make it work locally with the yml file and on Heroku without it?