Bonjour apres avoir installe rfpdf dans mon dossier plugins
en lancant la commande ruby script/server jobtiens :
=> Booting WEBrick...
no JSON support.
/home/vincent/aquitantest/vendor/plugins/rfpdf/init.rb:3:in `evaluate_init_rb': undefined method `register_template_handler' for ActionView::Base:Class (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb:95:in `evaluate_init_rb'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb:91:in `evaluate_init_rb'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb:44:in `load'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin/loader.rb:33:in `load_plugins'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin/loader.rb:32:in `each'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin/loader.rb:32:in `load_plugins'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:283:in `load_plugins'
... 15 levels...
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from script/server:3
Pouvez vous maider ?
Partager