Project

General

Profile

install XLS export plugin err

Added by yjbdsky yjbdsky over 14 years ago

http://www.redmine.org/wiki/redmine/Plugins
按这里的方法安装,出现如下错误:
use this page ,some err happed:

ruby /var/www/redmine/script/server -e production

from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb:131:in `included'
from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb:131:in `class_eval'
from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb:131:in `included'
from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb:155:in `include'
from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb:155
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
from /var/www/redmine/config/../vendor/plugins/engines/lib/engines.rb:94:in `load_extensions'
from /var/www/redmine/config/../vendor/plugins/engines/lib/engines.rb:94:in `each'
from /var/www/redmine/config/../vendor/plugins/engines/lib/engines.rb:94:in `load_extensions'
from /var/www/redmine/config/../vendor/plugins/engines/lib/engines.rb:85:in `init'
from /var/www/redmine/vendor/plugins/engines/init.rb:1:in `evaluate_init_rb'
from /var/www/redmine/vendor/rails/railties/lib/rails/plugin.rb:95:in `evaluate_init_rb'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /var/www/redmine/vendor/rails/railties/lib/rails/plugin.rb:91:in `evaluate_init_rb'
from /var/www/redmine/vendor/rails/railties/lib/rails/plugin.rb:44:in `load'
from /var/www/redmine/config/../vendor/plugins/engines/lib/engines/plugin.rb:77:in `load'
from /var/www/redmine/vendor/rails/railties/lib/rails/plugin/loader.rb:33:in `load_plugins'
from /var/www/redmine/vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `each'
from /var/www/redmine/vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `load_plugins'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:292:in `load_plugins'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:142:in `process'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:97:in `send'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:97:in `run'
from /var/www/redmine/config/environment.rb:20
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
from /var/www/redmine/vendor/rails/railties/lib/commands/servers/webrick.rb:59
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
from /var/www/redmine/vendor/rails/railties/lib/commands/server.rb:39
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/script/server:3

rake db:migrate_plugins RAILS_ENV=production
(in /var/www/redmine)
rake aborted!
undefined method `initialize_schema_information' for module `ActiveRecord::ConnectionAdapters::SchemaStatements'

(See full trace by running task with --trace)


Replies (2)

RE: install XLS export plugin err - Added by yjbdsky yjbdsky over 14 years ago

补充一下,这一步我没有做,因为我不知道plugin directory和RAILS_ROOT是哪个目录,谁能帮忙告诉一下:
PS:this step ,i do not do this step,because is don't where is the plugin directory and RAILS_ROOT:
2. Then, copy your plugin directory into #{RAILS_ROOT}/vendor/plugins.

RE: install XLS export plugin err - Added by yjbdsky yjbdsky over 14 years ago

不能删除自己的帖子啊,这帖太二了,,,

麻烦管理员帮删了

    (1-2/2)