2

I am trying to install Camaleon CMS but getting following error:

undefined method `decorate' for #<CamaleonCms::Site:0x007f399a3beb58>

My Rails version is: 5.0.4
Ruby version is: 2.3.4

Is it the version issue, because i have read somewhere that this CMS is not compatible with higher versions of Rails like 5.0.0 and above.

I have tried to fix it but no luck!

4

1 回答 1

3

如果在您定义站点名称后发生这种情况,如果您将其定义为 0.0.0.0:3000(这是我的情况),只需使用 localhost:3000 定义站点。

编辑

还要确保在 rails 5 gem 'draper', '~> 3' 中将此添加到您的 Gemfile

于 2017-08-22T11:39:52.750 回答