Il semble que le projet puny_mce n'ait pas été mis à jour pour Rails 3. Quelqu'un m'aiderait à le faire tourner? Je veux avoir un éditeur très simple, et je n'ai pas besoin de toutes les fonctionnalités de attachment de tiny_mce.Comment installer l'éditeur puny_mce pour Rails 3
L'erreur que je reçois est:
$ rails plugin install git://github.com/imanel/puny_mce.git
$ rake puny_mce:install
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /data/rails/tracker/Rakefile:7)
rake aborted!
Don't know how to build task 'puny_mce:install'
Sous vendor/plugins/puny_mce
:
./init.rb <-- ActionView::Base.send :include, PunyMCE
./lib/puny_mce.rb <-- module PunyMCE
./public/javascripts <-- all the js/css/images/html etc
./tasks/puny_mce.rake <-- the rake installer script
Quelqu'un peut-il expliquer les étapes? Ou comment je peux mettre à jour le script d'installation rake pour cela?