Mati365 / ckeditor5-rails

🚀 CKEditor 5 Ruby gem - seamless integration with Rails through web components and helper methods. 💎 Supports both GPL and commercial licenses with flexible CDN options and translations. 🎨 Easy configuration with presets, extensive plugin system, and modern async loading.
https://ckeditor.com/
GNU General Public License v2.0
21 stars 1 forks source link

undefined local variable or method 'ckeditor5_assets' #2

Closed dil-bparihar closed 3 weeks ago

dil-bparihar commented 3 weeks ago

I am following the installation steps for the gem as outlined, but I'm encountering an error stating that ckeditor5_assets is an undefined local variable or method. Additionally, when I create the ckeditor5.rb file in the initializer, I receive an error at /config/initializers/ckeditor5.rb:1:in <top (required)>': uninitialized constant CKEditor5 (NameError) 2024-11-05 18:11:13. Did you mean? Ckeditor. It appears that the gem is not loading properly. @Mati365

Can you please help.

Rails version: 6.1.7.6 Ruby: 3

Mati365 commented 3 weeks ago

@dil-bparihar Try updating gem to 1.5.2 as I pushed some modifications to minimum supported Rails version, please reopen if it's still reproducible.