0

I did heroku create and pushed a working rails app to the server.

Everything seems fine, but when I go to the webpage I get an error. I even tried pushing up the same code for another heroku app I have that works, and I get the same error.

Normally I use Facebook to create the heroku app and it works fine. Is there something else I need to do besides heroku create?

neuromancer
  • 53,769
  • 78
  • 166
  • 223

1 Answers1

3

There's a number of things that could be wrong. Your best bet is to check the logs:

heroku logs -t

While that's up, hit the site and see what the logs say. Did you remember to migrate (heroku run rake db:migrate)?

Austin
  • 3,860
  • 3
  • 23
  • 25
  • I think I already ran `heroku run rake db:migrate` because when I did it again it gave an error saying a relation already exists. When I did `heroku logs -t` I saw an error saying "ActionView::Template::Error (application.css isn't precompiled):" – neuromancer Mar 29 '12 at 05:14
  • 1
    see: http://stackoverflow.com/questions/7275636/rails-3-1-0-actionviewtemplateerrror-application-css-isnt-precompiled – Austin Mar 29 '12 at 05:17