gpt4 book ai didi

ruby - todolist rake 中止!没有要加载的文件 -- 调度程序

转载 作者:太空宇宙 更新时间:2023-11-03 16:06:32 25 4
gpt4 key购买 nike

正在尝试安装 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

创业板环境:

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。

有什么帮助吗?

最佳答案

我没有深入研究跟踪,因为如果您在需求部分查看 github 上的自述文件:

Redmine 0.8.5 or later (may work on earlier versions, but not tested for it) - Works best on 0.9.x

Rails 2.2.1 or greater (NOTE - if you are on 0.8.x, you will have to manually install a newer rails version & edit your config/enviroment.rb)

许多适用于 Redmine 2.0.x 的插件不适用于 Redmine 2.1。

因此,对于为 0.8、0.9 版本设计的插件无法在新的 2.1.x 版本上运行/安装,我并不感到惊讶。

关于ruby - todolist rake 中止!没有要加载的文件 -- 调度程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12570049/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com