Closed AliTopal89 closed 9 years ago
I get this error from heroku logs:
2015-06-05T00:49:21.810543+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=i-like-dating-website.herokuapp.com request_id=804946da-9817-4a07-ba74-c0b4c74af188 fwd="50.200.196.50" dyno= connect= service= status=503 bytes=
Try replacing the app.listen
portion of your server file with something like this:
app.listen(process.env.PORT || 5000, function(){
console.log("app listening on port 5000")
})
Did you heroku restart
?
Wait a sec. Is this Rails or Node?
https://github.com/AliTopal89/wdi-project-4/tree/master/DatingApp
rails
Oops. I take it back.
still have the same error
heroku create i-like-dating-website
git remote -v
git subtree push --prefix DatingApp heroku master
heroku run rake db:migrate
is what I did
then I did heroku open https://github.com/AliTopal89/wdi-project-4
then I did heroku open from: https://github.com/AliTopal89/wdi-project-4 *
Replace the mailboxer
line in your Gemfile with this:
gem 'mailboxer', :git => 'git://github.com/div/mailboxer.git', :branch => 'rails42-foreigner'
still I get the same error message :(
heroku run bundle install
then should I do heroku run rake db:migrate
still same error message :(
Push to a new Heroku app.
git remote remove heroku
heroku create
git add .
git commit -m "whatever"
git push heroku master
heroku run rake db:migrate
heroku open
error: Could not remove config section 'remote.heroku'
Wat. That happens after git remote remove heroku
?
yep
ok sort of worked, thank you Robin
adding gem 'mailboxer', :git => 'git://github.com/div/mailboxer.git', :branch => 'rails42-foreigner'
definitely helped
after Robin's help I just deleted the app from heroku and created a new one