heroku 如何部署 rails4项目


按照网上给的教程,一步步执行 1. heroku login 2. heroku create 3. git psuh heroku master

都顺利完成了,结果访问页面还是提示:

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

rails 里面我就创建了一个controller -> action 平且设定路由了。 database.yml 和gemfile 里面都修改为 pg 了。

heroku 部署 ruby-on-rails

橡皮泥城堡X型 11 years, 3 months ago

查看下heroku的logs


 heroku logs -t

你纱咸鱼中 answered 11 years, 3 months ago

Your Answer