尝试安装https://github.com/dalyons/redmine-todos-scrum-plugin插件,但是在我做的时候:
rake db:migrate_plugins RAILS_ENV=production
发生错误:
rake aborted!
no such file to load -- dispatcher
Tasks: TOP => db:migrate_plugins => redmine:plugins:migrate => environment
跟踪:
rake db:migrate_plugins RAILS_ENV=production -trace
rake aborted!
no such file to load -- ace
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:357:in `standard_rake_options'
/usr/local/lib/ruby/1.8/optparse.rb:1298:in `call'
/usr/local/lib/ruby/1.8/optparse.rb:1298:in `parse_in_order'
/usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
/usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
/usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
/usr/local/lib/ruby/1.8/optparse.rb:1339:in `permute!'
/usr/local/lib/ruby/1.8/optparse.rb:1360:in `parse!'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:425:in `handle_options'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:74:in `init'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:72:in `init'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:64:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23
GEM ENV:
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.24
- RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [amd64-freebsd7]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby18
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- amd64-freebsd-7
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /home/redmine/gems
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc"
- REMOTE SOURCES:
- http://rubygems.org/
和redmine v2.1.0。
任何帮助?
答案 0 :(得分:1)
我没有深入研究,因为如果你在需求部分查看github上的README:
Redmine 0.8.5或更高版本(可能适用于早期版本,但尚未经过测试 对于它) - 最好的0.9.x
Rails 2.2.1或更高版本(注意 - 如果您使用的是0.8.x,则必须使用 手动安装较新的导轨版本&编辑你的 配置/ enviroment.rb)
许多使用Redmine 2.0.x的插件不适用于Redmine 2.1。
所以,我很惊讶为0.8,0.9版本设计的插件在新的2.1.x版本上无法正常工作/安装。
答案 1 :(得分:1)
您可以尝试安装'ace'gem:
$ gem install ace
或者将'ace'添加到Gemfile。