tsechingho / ckeditor-rails

Integrate CKEditor javascript library with Rails asset pipeline
https://github.com/tsechingho/ckeditor-rails
MIT License
213 stars 132 forks source link

Installation Issue #6

Closed jarrettgreen closed 12 years ago

jarrettgreen commented 12 years ago

Maybe I'm a complete idiot from lack of sleep, but am I supposed to copy what's in /vendor by hand? Following instructions in the readme, I get a "couldn't find file 'ckeditor-jquery'" error and sure enough, it doesn't exist anywhere I can tell. I looked for a generator that might install it. Maybe I need a nap.

tsechingho commented 12 years ago

How do you copy the assests? The ckeditor-jquery.js should be vendor/assets/javascripts/ckeditor-jquery.js.

If you want to copy assets of ckeditor-rails into Rails.root/vendor, remember to add config.assets.precompile += %w( ckeditor/*.js ckeditor/*.css ) to your Rails.root/config/environments/production.rb. That's all tricks it plays for rails 3 asset pipeline.

dcastellano1 commented 11 years ago

Was this ever resolved? I am having the same issue...

tsechingho commented 11 years ago

could you provide more information or a demo project since I don't known how you use it. I never encounter such issue.

dcastellano1 commented 11 years ago

Sorry, working now. Needed to restart server...

Sent from my iPhone

On Oct 10, 2012, at 9:04 AM, Tse-Ching Ho notifications@github.com wrote:

could you provide more information or a demo project since I don't known how you use it. I never encounter such issue.

— Reply to this email directly or view it on GitHub.

ELCast commented 10 years ago

still, same issue

lkulbacki commented 10 years ago

Check if you have not installed gem 'ckeditor-rails' (other) instead of 'ckeditor_rails' (this) by accident. Solved my problems.

benlinton commented 10 years ago

I had the same problem, and it was because I was using the ckeditor-rails gem instead of the ckeditor_rails gem. Thanks for this tip @cloudride, I was about to waste a lot of time trying to figure this out.