Ask A Question


You’re not receiving notifications from this thread.

Why CKeditor is not working in production?!

Muhammad asked in Rails

Hi guys, I'm using CK editor in my rails 5 app and when I deoployed it on Digital Ocean and the editor doesn't load with this error in the console.

ReferenceError: CKEDITOR is not defined

is there anyone using CKeditor here?!


Just a thought, but do you have to white-list your pdocution domain with them anywhere?


Hi Simon, I don't even understand what you've said, I'm kinda new to all of that! 😂 but I managed to make it work. After this error I wasn't able to upload images using carrierwave with ckeditor but this was because I didn't install image magic on the server so after I installed it everything went fine. github repo if you want to take a look at anything:

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 80,973+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.