Can't seem to figure out why ckeditor no longer works on heroku. It works fine on my local machine.
UPDATE: works without the asset_sync gem when assets are hosted on heroku - but does not work with it.
Errors:Uncaught SyntaxError: Unexpected token < in config.js:1 ckeditor cannot find config.js, the < is an opening tag of the 404 not found page Failed to load resource: the server responded with a status of 406 (Not Acceptable)
Appreciate any help I can get.
Ckeditor gem, Heroku, Rails 4, asset_sync
application.js
//= require ckeditor/init
//= require ckeditor/config
gemfile - version 4.0.7
gem "ckeditor"
appplication.rb
config.autoload_paths += %W(#{config.root}/app/models/ckeditor)
config.assets.precompile += Ckeditor.assets
config.assets.precompile += %w(ckeditor/*)
production.rb
config.assets.compile = true
config.action_controller.asset_host = "//#{ENV['FOG_DIRECTORY']}.s3.amazonaws.com"