【问题标题】:Refinerycms 2.1.0 assets not loading property on HerokuRefinerycms 2.1.0 资产未在 Heroku 上加载属性
【发布时间】:2013-12-01 17:27:12
【问题描述】:

我正在尝试将一个 refinerycms 应用程序部署到 Heroku 中。部署过程顺利,但资产未在前端和后端正确加载(见附图)。

1 - 我已经编译了我的资产。 2 - 我设置 config.assets.initialize_on_precompile = false 3 - 提交我的更改。

仍然有同样的问题。

我错过了什么?

【问题讨论】:

    标签: heroku refinerycms


    【解决方案1】:

    尝试在production.rb 文件中将您缺少的任何refinerycms 资产添加到config.assets.precompile。 即

    config.assets.precompile += ['refinery/refinery.css']

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多