Closed Sega100500 closed 11 years ago
The rake action update-ckeditor
is only for gem maintainer or forked ckeditor-rails project to use.
The general user, like you, should use bundler to install ckeditor-rails
.
bundle install
will have the lastest version for you.
But isn't work. I try to use it in Engine, where path '/admin' I use it in ajax-content
and:
2)
"NetworkError: 404 Not Found - http:/bulkin.ru:3000/assets/ckeditor/init.js"
ooh, you use in rails engine, it's another story.
simply say, you should define following in your xxx.gemspec
gem.add_dependency 'ckeditor-rails'
and require in your engine.rb
require 'ckeditor-rails'
and you can have the assets in your dummy app or host app.
also try to see my https://github.com/tsechingho/simple-pages-rails for example.
After bundle install
1)
ruby@debian:~/projects/bulkin$ rake update-ckeditor VERSION=4.0 rake aborted! Don't know how to build task 'update-ckeditor' /home/ruby/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in'
(See full trace by running task with --trace)
eval' /home/ruby/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in
2)
"NetworkError: 404 Not Found - http:/bulkin.ru:3000/assets/ckeditor/init.js"