Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unknown validator: 'RedirectUriValidator' (ArgumentError) after Rails…
… 6 / Mongoid 7 upgrade (#41) * uninitialized constant Doorkeeper::Application::RedirectUriValidator (NameError) Pushed an issue on "doorkeeper" gem repo. Here's the full backtrace, appeared after Rails 6 upgrade : ```bash Traceback (most recent call last): 89: from bin/rails:4:in `<main>' 88: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require' 87: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency' 86: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require' 85: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 84: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 83: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 82: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 81: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 80: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands.rb:18:in `<main>' 79: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/command.rb:46:in `invoke' 78: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/command/base.rb:69:in `perform' 77: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 76: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 75: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 74: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `perform' 73: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `tap' 72: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:147:in `block in perform' 71: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:37:in `start' 70: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout' 69: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app' 68: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:249:in `app' 67: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config' 66: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file' 65: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file' 64: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string' 63: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval' 62: from config.ru:3:in `block in <main>' 61: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative' 60: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require' 59: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency' 58: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require' 57: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require' 56: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 55: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 54: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 53: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 52: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 51: from /Users/davidfabreguette/Sites/butterlink/config/environment.rb:5:in `<main>' 50: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!' 49: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers' 48: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each' 47: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each' 46: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component' 45: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call' 44: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each' 43: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component' 42: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from' 41: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 40: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each' 39: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers' 38: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run' 37: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec' 36: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/application/finisher.rb:129:in `block in <module:Finisher>' 35: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks' 34: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `each' 33: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks' 32: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook' 31: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control' 30: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook' 29: from /Users/davidfabreguette/Sites/butterlink/config/initializers/doorkeeper.rb:4:in `block in <main>' 28: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-5.3.1/lib/doorkeeper/config.rb:18:in `configure' 27: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-5.3.1/lib/doorkeeper/config.rb:42:in `setup_orm_models' 26: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7.rb:7:in `initialize_models!' 25: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7.rb:26:in `lazy_load' 24: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:42:in `on_load' 23: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:42:in `each' 22: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load' 21: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook' 20: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control' 19: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:72:in `block in execute_hook' 18: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:72:in `class_eval' 17: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7.rb:10:in `block in initialize_models!' 16: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require' 15: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 14: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 13: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 12: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 11: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 10: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:1:in `<main>' 9: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:2:in `<module:Doorkeeper>' 8: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:9:in `<class:Application>' 7: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:9:in `include' 6: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/concern.rb:122:in `append_features' 5: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/concern.rb:122:in `class_eval' 4: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper-mongodb/mixins/mongoid/application_mixin.rb:26:in `block in <module:ApplicationMixin>' 3: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:114:in `validates' 2: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:114:in `each' 1: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:119:in `block in validates' /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:119:in `const_get': uninitialized constant Doorkeeper::Application::RedirectUriValidator (NameError) Did you mean? Doorkeeper::RedirectUriValidator 89: from bin/rails:4:in `<main>' 88: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require' 87: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency' 86: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require' 85: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 84: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 83: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 82: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 81: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 80: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands.rb:18:in `<main>' 79: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/command.rb:46:in `invoke' 78: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/command/base.rb:69:in `perform' 77: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 76: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 75: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 74: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `perform' 73: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `tap' 72: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:147:in `block in perform' 71: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:37:in `start' 70: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout' 69: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app' 68: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:249:in `app' 67: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config' 66: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file' 65: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file' 64: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string' 63: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval' 62: from config.ru:3:in `block in <main>' 61: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative' 60: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require' 59: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency' 58: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require' 57: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require' 56: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 55: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 54: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 53: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 52: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 51: from /Users/davidfabreguette/Sites/butterlink/config/environment.rb:5:in `<main>' 50: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!' 49: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers' 48: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each' 47: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each' 46: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component' 45: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call' 44: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each' 43: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component' 42: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from' 41: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 40: from /Users/davidfabreguette/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each' 39: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers' 38: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run' 37: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec' 36: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/railties-6.0.2.1/lib/rails/application/finisher.rb:129:in `block in <module:Finisher>' 35: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks' 34: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `each' 33: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks' 32: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook' 31: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control' 30: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook' 29: from /Users/davidfabreguette/Sites/butterlink/config/initializers/doorkeeper.rb:4:in `block in <main>' 28: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-5.3.1/lib/doorkeeper/config.rb:18:in `configure' 27: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-5.3.1/lib/doorkeeper/config.rb:42:in `setup_orm_models' 26: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7.rb:7:in `initialize_models!' 25: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7.rb:26:in `lazy_load' 24: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:42:in `on_load' 23: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:42:in `each' 22: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load' 21: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook' 20: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control' 19: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:72:in `block in execute_hook' 18: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:72:in `class_eval' 17: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7.rb:10:in `block in initialize_models!' 16: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require' 15: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 14: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 13: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 12: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 11: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 10: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:1:in `<main>' 9: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:2:in `<module:Doorkeeper>' 8: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:9:in `<class:Application>' 7: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper/orm/mongoid7/application.rb:9:in `include' 6: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/concern.rb:122:in `append_features' 5: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.2.1/lib/active_support/concern.rb:122:in `class_eval' 4: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/doorkeeper-mongodb-5.0.0/lib/doorkeeper-mongodb/mixins/mongoid/application_mixin.rb:26:in `block in <module:ApplicationMixin>' 3: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:114:in `validates' 2: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:114:in `each' 1: from /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:118:in `block in validates' /Users/davidfabreguette/.rvm/gems/ruby-2.6.3/gems/activemodel-6.0.2.1/lib/active_model/validations/validates.rb:121:in `rescue in block in validates': Unknown validator: 'RedirectUriValidator' (ArgumentError) ``` * Updated according to issue#39 #39 * Updated according to issue#39 #39 * removed unused file (to push it to doorkeeper init file Co-authored-by: David Fabreguette <[email protected]>
- Loading branch information