【发布时间】:2013-06-02 23:56:44
【问题描述】:
我一直在我的应用程序上使用 Nether 作为无尽页面,它在本地运行良好,但是当我部署到 heroku 并尝试渲染一个视图时,其中有一个带有“nether”的控制器方法,我收到了这个错误日志
←[36m2013-06-09T20:20:33.091413+00:00 app[web.1]:←[0m 于 2013-06-09 20:20:33 + 开始 GET "/resources" for 176.61.88.70 0000 ←[36m2013-06-09T20:20:33.253704+00:00 应用[web.1]:←[0m ←[36m2013-06-09T20:20:33.253704+00:00 app[web.1]:←[0m NoMethodError (未定义方法 `nether' for #):
我怎样才能在 Heroku 中使用 Nether,即。找到“地狱”帮手? 这里是宝石 https://github.com/maecro/nether 'nether' 方法在 app/helper/nether_helper 中,我认为它的路径在 lib/nether/engine 中定义
我知道在最新版本中解决了类似的问题 https://github.com/maecro/nether/pull/4 但这并不能解决我的问题
【问题讨论】: