Conflict Between Camaleon CMS and Administrate Gem Due to Sass Processor Dependencies in Rails · Issue #1111 · owen2345/camaleon-cms · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Camaleon CMS depends on dartsass-sprockets for its styling, whereas the Administrate gem uses sassc-rails. When I attempt to install and initialize both gems in my Rails application, I encounter a series of initialization conflicts and warnings about redefined constants and cyclic dependencies involving these Sass processors.
I just took a look, and it appears that this issue was resolved in the Administrate repo as of thoughtbot/administrate#2397. However, the last release of that gem was prior to that PR being merged. It seems like until that gem issues a release, you will have to use it via git.
Thank you! @brian-kephart I successfully got my application running with both Camaleon CMS and Administrate installed. However, I encountered another challenge afterward—when accessing the admin dashboard, I received an error: undefined method 'per'.
This issue occurs due to a conflict between the kaminari and will_paginate gems; Administrate depends on kaminari, while Camaleon CMS relies on will_paginate. I cannot remove either gem since both are necessary dependencies.
I resolved this conflict by creating an initializer (config/initializers/will_paginate.rb) to alias will_paginate methods to match those required by kaminari:
Camaleon CMS depends on
dartsass-sprockets
for its styling, whereas the Administrate gem usessassc-rails
. When I attempt to install and initialize both gems in my Rails application, I encounter a series of initialization conflicts and warnings about redefined constants and cyclic dependencies involving these Sass processors.Error Message :
Versions I am using
Ruby- 3.0.0
Rails - 7.1.4
Administrate - 0.20.1
Camaleon cms - 2.9.0
windows 10
Questions:
Thank you!
The text was updated successfully, but these errors were encountered: