Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6869679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:35:17+00:00 2026-05-27T03:35:17+00:00

I have a similar problem to the one enumerated in this question , except

  • 0

I have a similar problem to the one enumerated in this question, except I am not using the ckeditor gem. I am using the CKEditor scripts directly.

I have extracted them directly into vendor/assets/javascripts/ckeditor, and added these include stanzas to the appropriate javascript manifest file:

//= require ckeditor/ckeditor
//= require ckeditor/adapters/jquery

In development, it works perfectly fine — I assume because Rails is serving the assets directly. In production (and when I switch my local dev server to the production environment), the editor doesn’t load (just blank spaces like the question linked above) and I get load errors like these:

Load errors

Those paths are obviously wrong and I’m not sure how it’s working even in dev now that I think about it.

Has anybody gotten this setup to work properly, or should I suck it up and just use the gem like everybody else seems to?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:35:18+00:00Added an answer on May 27, 2026 at 3:35 am

    After a few hours of tinkering, I figured out that my problem was two-fold.

    First, there is a CKEditor global option you can set to tell it where the base install path resides. To set that, I altered my application.js to add these two lines:

    //= require_self
    CKEDITOR_BASEPATH = "/assets/ckeditor/";
    

    Second, my environment config wasn’t set to precompile a couple of the CKEditor files. So in config/environments/production.rb, I added ckeditor/config.js and ckeditor/contents.css to the array of files I’m passing to config.assets.precompile.

    EDIT: I had to add a few more files to the precompile list than just the ones listed here. A comprehensive list would be misleading, since most of those files were from a custom theme. It’s fairly simple to load up Chrome Inspector or Firebug and look at the list of assets that are still coming back 404, add those to the array, recompile, and see if that fixed it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem similar to the one found in this Question I have
Similar to this question: link However I have already mastered that. My problem is
Hey, I have a problem similar to this one ( click ). Approx 2
I have a problem similar to this question but with an added complication: MySql,
I have similar problem to one discussed here , but with stronger practical usage.
I have a similar problem to this post . I need to display up
I notice this thread: Fastish Python/Jython IPC , and I have a similar problem,
I have a problem similar to the one described here: MVC T4 MvcTextTemplateHost and
I have a problem similar to the one described in the link below. NSHTTPURLResponse
A similar problem is this one: Are threads waiting on a lock FIFO? However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.