开发者

Deploy error about Heroku

开发者 https://www.devze.com 2023-02-15 15:24 出处:网络
I have created a new app on Heroku on Windows XP, accessed the cr开发者_JAVA技巧eated URL, it displayed the welcome page, then I deployed Rails app data to Heroku, then accessed the same URL again, bu

I have created a new app on Heroku on Windows XP, accessed the cr开发者_JAVA技巧eated URL, it displayed the welcome page, then I deployed Rails app data to Heroku, then accessed the same URL again, but I found it displayed an error page with an "application error". I have no idea, the Rails app is open source, I downloaded it from the internet, I have done nothing to it except overwriting the document's name.


Run heroku logs to see what the problem is.


did it have a database required? perhaps you need to run heroku rake db:migrate


Try running "heroku stack" and find out what stack you are current on. I spend 5 hours before finding out that i need to create a stack on cedar to make my app works. Basically you need to run "Heroku create --stack cedar" during your first heroku create command.

Best of luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消