0

当我在 gemfile 中添加外国人 gem 时,我正在将 rails 4.1 升级到 6.1:任何解决方案都可以快速发布,否则您可以邮寄到 santu.essence@gmail.com

/usr/local/bundle/bundler/gems/foreigner-0496762a6c0a/lib/foreigner/schema_dumper.rb:6:in block in <module:SchemaDumper>' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/concern.rb:136:in class_eval' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/concern.rb :136:in append_features' /usr/local/bundle/bundler/gems/foreigner-0496762a6c0a/lib/foreigner/loader.rb:9:in include '/usr/local/bundle/bundler/gems/foreigner-0496762a6c0a/lib/foreigner/loader.rb:9:in block in load' /usr/local/bundle/bundler/gems/foreigner-0496762a6c0a/lib/foreigner/loader.rb:8:in class_eval'/usr/local/bundle/bundler/gems/foreigner-0496762a6c0a/lib /foreigner/loader.rb:8:in load' /usr/local/bundle/bundler/gems/foreigner-0496762a6c0a/lib/foreigner/railtie.rb:5:in block (2 levels) in class:Railtie' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:71:in class_eval' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:71:in block in execute_hook' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:61:in with_execution_control' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:66:in execute_hook' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb :52:在block in run_load_hooks' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:51:in 每个' /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:51:in run_load_hooks' /usr/local/bundle/gems/activerecord-6.1.4.1/lib/active_record/base.rb:315:in module:ActiveRecord' /usr/local/bundle/gems/activerecord-6.1.4.1/lib/active_record /base.rb:15:in<top (required)>' worker_1 | /usr/local/bundle/gems/zeitwerk-2.5.1/lib/zeitwerk/kernel.rb:35:in 需要'worker_1 | /usr/local/bundle/gems/zeitwerk-2.5.1/lib/zeitwerk/kernel.rb:35:inrequire' worker_1 | /usr/local/bundle/gems/activerecord-6.1.4.1/lib/active_record/railtie.rb:132:in 类中的块(3 级):Railtie'worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:71:in class_eval' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:71:in block in execute_hook' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:61:in with_execution_control' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:66:in execute_hook'worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:43 :在block in on_load' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:42:in 每个'worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:42:on_load' worker_1 | /usr/local/bundle/gems/activerecord-6.1.4.1/lib/active_record/railtie.rb:131:in 类中的块(2 级):Railtie'worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:68:in block in execute_hook' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:61:in with_execution_control' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:66:in execute_hook' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:52:in block in run_load_hooks' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:51:in each' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/lazy_load_hooks.rb:51:in run_load_hooks'worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/application/finisher.rb:140:in block in <module:Finisher>' worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:32:in instance_exec' worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:32:inrun' worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:61:in 块在 run_initializers'worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:60:inrun_initializers' worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/application.rb:391:in 初始化!' worker_1 | /usr/src/app/config/environment.rb:4:in<top (required)>' worker_1 | /usr/local/bundle/gems/zeitwerk-2.5.1/lib/zeitwerk/kernel.rb:35:in 需要'worker_1 | /usr/local/bundle/gems/zeitwerk-2.5.1/lib/zeitwerk/kernel.rb:35:in require' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:332:in block in require'worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:299:inload_dependency' worker_1 | /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:332:in 需要'worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/application.rb:367:in require_environment!' worker_1 | /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/application.rb:533:in block in run_tasks_blocks'worker_1 | /usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>' worker_1 | 任务:TOP => resque:work => resque:preload => resque:setup => environment worker_1 | (通过使用 --trace 运行任务查看完整跟踪)

4

0 回答 0