刚刚以RefineryCMS开始,对于新手问题感到抱歉。它在本地运行良好,幸运地部署在Heroku Cedar堆栈上。创建了一个名为Home的页面。/pages/home回复正常。RefineryCMS主页路线不起作用
的routes.rb
root :to => 'pages#home'
和作品在localhost:3000,但在Heroku提示错误。
该应用程序是在这里:
http://refkocedar.herokuapp.com/home工作 http://refkocedar.herokuapp.com/不起作用
如何设置主页根在Heroku?感谢帮助!
$ Heroku的日志
2012-04-03T02:19:57+00:00 heroku[router]: GET refkocedar.herokuapp.com/assets/application-ddce3db0fc667014faf95d85d24c71d4.js dyno=web.1 queue=0 wait=0ms service=4ms status=304 bytes=0
2012-04-03T02:19:58+00:00 heroku[router]: GET refkocedar.herokuapp.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=4ms status=304 bytes=0
2012-04-03T02:19:58+00:00 app[web.1]: cache: [GET /favicon.ico] miss
2012-04-03T02:20:04+00:00 app[web.1]:
2012-04-03T02:20:04+00:00 app[web.1]:
2012-04-03T02:20:04+00:00 app[web.1]: Started GET "/" for 80.98.142.244 at 2012-04-03 02:20:04 +0000
2012-04-03T02:20:04+00:00 app[web.1]: cache: [GET /] miss
2012-04-03T02:20:04+00:00 app[web.1]: cache: [GET /] miss
2012-04-03T02:20:04+00:00 app[web.1]: cache: [GET /] miss
你可以运行'heroku logs'来查看错误是什么吗? – 2012-04-03 02:28:54
当然,忘了它,谢谢,刚刚添加 – YogiZoli 2012-04-03 02:39:41