Closed foton closed 3 years ago
New discovery:
Change OauthApplication < ApplicationRecord
to OauthApplication < ActiveRecord::Base
will make things work again.
Or downgrading to 5.5.0.rc2
is an option.
Hm. could be related to https://github.com/doorkeeper-gem/doorkeeper/issues/1489 :thinking: Need to go deeper
@foton could you please check your app using gem 'doorkeeper', git: "https://github.com/doorkeeper-gem/doorkeeper.git", branch: "fix-models-autoload"
and report if issue still exists?
Unfortunatelly, no:
rake aborted!
NameError: uninitialized constant ApplicationRecord
Did you mean? ApplicationJob
ApplicationHelper
/home/foton/workspace/queens_base_2/app/models/oauth_application.rb:25:in `<main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/inflector/methods.rb:274:in `const_get'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/inflector/methods.rb:274:in `constantize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/core_ext/string/inflections.rb:74:in `constantize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/bundler/gems/doorkeeper-fcdcc2f629fd/lib/doorkeeper/config.rb:465:in `application_model'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/bundler/gems/doorkeeper-fcdcc2f629fd/lib/doorkeeper/orm/active_record.rb:37:in `block in initialize_application_owner!'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:51:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activerecord-6.1.3/lib/active_record/base.rb:315:in `<module:ActiveRecord>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activerecord-6.1.3/lib/active_record/base.rb:15:in `<main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/home/foton/workspace/queens_base_2/app/models/application_record.rb:3:in `<main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
/home/foton/workspace/queens_base_2/app/models/user.rb:31:in `<main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/inflector/methods.rb:274:in `const_get'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/inflector/methods.rb:274:in `constantize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/dependencies/zeitwerk_integration.rb:19:in `constantize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise.rb:316:in `get'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/mapping.rb:83:in `to'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/mapping.rb:78:in `modules'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/mapping.rb:95:in `routes'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/mapping.rb:162:in `default_used_route'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/mapping.rb:72:in `initialize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise.rb:346:in `new'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise.rb:346:in `add_mapping'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/rails/routes.rb:243:in `block in devise_for'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/rails/routes.rb:242:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/devise-4.7.3/lib/devise/rails/routes.rb:242:in `devise_for'
/home/foton/workspace/queens_base_2/config/routes.rb:23:in `block in <main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:427:in `instance_exec'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:427:in `eval_block'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:409:in `draw'
/home/foton/workspace/queens_base_2/config/routes.rb:6:in `<main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47:in `block in load_paths'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47:in `load_paths'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:21:in `reload!'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:35:in `block in updater'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/file_update_checker.rb:83:in `execute'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:10:in `execute'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application/finisher.rb:195:in `block in <module:Finisher>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/initializable.rb:32:in `instance_exec'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/initializable.rb:32:in `run'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/initializable.rb:61:in `block in run_initializers'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `call'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/initializable.rb:60:in `run_initializers'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application.rb:384:in `initialize!'
/home/foton/workspace/queens_base_2/config/environment.rb:7:in `<main>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:332:in `block in require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:299:in `load_dependency'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:332:in `require'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application.rb:360:in `require_environment!'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/railties-6.1.3/lib/rails/application.rb:526:in `block in run_tasks_blocks'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `block in execute'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `execute'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `synchronize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:241:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:241:in `invoke_prerequisites'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `synchronize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:241:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:241:in `invoke_prerequisites'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `synchronize'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:188:in `invoke'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:160:in `invoke_task'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `each'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block in top_level'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:125:in `run_with_threads'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:110:in `top_level'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:83:in `block in run'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:186:in `standard_exception_handling'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:80:in `run'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
/home/foton/.asdf/installs/ruby/2.7.2/bin/rake:23:in `load'
/home/foton/.asdf/installs/ruby/2.7.2/bin/rake:23:in `<top (required)>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `load'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `kernel_load'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:28:in `run'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:476:in `exec'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:30:in `dispatch'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:24:in `start'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:46:in `block in <top (required)>'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/2.7.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/home/foton/.asdf/installs/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:34:in `<top (required)>'
/home/foton/.asdf/installs/ruby/2.7.2/bin/bundle:23:in `load'
/home/foton/.asdf/installs/ruby/2.7.2/bin/bundle:23:in `<main>'
Tasks: TOP => deploy:run_empty => verbose => environment
Removed the hack for rake tasks, you can try once again (bundle update this branch). If it doesn't help - then there is more magic with autoloading and env setup :no_good:
Sorry to say, but still got the error.
Hi @foton . I moved some ORM loading code under engine after_initializer , could you please run bundle update
for Doorkeeper from the branch I mentioned above and try again? Thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@nbulaj I seems fixed in 5.5.2. Thanks
I regret to bring this up, but I'm able to reproduce this behavior on 5.5.4 with Rails 7.0.3.1 on Ruby 3.1.2, although I'm using a class in a module (Oauth::ClientApplication
). I can trigger this reliably with rails g controller something
.
class Oauth::ClientApplication < ApplicationRecord
include ::Doorkeeper::Orm::ActiveRecord::Mixins::Application
end
/app/app/models/oauth/client_application.rb:1:in `<main>': uninitialized constant ApplicationRecord (NameError)
class Oauth::ClientApplication < ApplicationRecord
^^^^^^^^^^^^^^^^^
Did you mean? ApplicationJob
ApplicationHelper
It seems to work with ActionRecord::Base
at least.
Got the same error with 5.54 and rails 7+ with ruby 3.1+
I have set a custom class in initializer
application_class "OauthApplication"
Here is the content of the file:
class OauthApplication < PrimaryRecord
include ::Doorkeeper::Orm::ActiveRecord::Mixins::Application
end
And I have the same error as @KazWolfe
Failure/Error:
class OauthApplication < PrimaryRecord
include ::Doorkeeper::Orm::ActiveRecord::Mixins::Application
NameError:
uninitialized constant PrimaryRecord
class OauthApplication < PrimaryRecord
The problem is that I need to use PrimaryRecord because I have two databases witch lives under different AR root models.
Are the any suggestions how that can be fixed?
Thanks!
never mind, it fixes itself with doorkeeper 5.6.5 version
Steps to reproduce
We have problem when running rake task in
staging
environment. Loading environment before task starts fails with"NameError: uninitialized constant ApplicationRecord"
.Why? Because we use our override in
config/initializers/doorkeeper.rb
Our
OauthApplication
inherits fromApplicationRecord
.backtrace.txt
In
development
all is OK, but when we switch tostaging
rake task fails.When environment setup requires
ApplicationRecord
(which inherits fromActiveRecord::Base
) Doorkeeper load is triggered. It search forOauthApplication
class (which needs, not yet loadedApplicationRecord
)Shortened backtrace from attachment with comments (full bactrace is attached):
I tried to setup some Rails app, but I was not able to reproduce the problem.
Expected behavior
Rails environment is loaded and task runs succesfully
Actual behavior
Rails environment fails to load loaded and task runs succesfully
System configuration
Doorkeeper initializer:
Ruby version:
2.7.2
Gemfile.lock:
Gemfile.lock content
``` GIT remote: https://github.com/ciihla/ruby-eet-cz revision: ff2f8267044859ada5b83621514379d641347b4c specs: ruby-eet-cz (1.0.0.pre) activemodel (>= 4.2) activesupport (>= 4.2) savon (~> 2.12.0) GIT remote: https://github.com/rails/rails-controller-testing.git revision: bc6f3356803d7c5d373f89a44625d59953dc0cef branch: master specs: rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) activesupport (>= 5.0.1.rc1) GEM remote: https://rubygems.org/ specs: Ascii85 (1.1.0) aasm (5.1.1) concurrent-ruby (~> 1.0) actioncable (6.1.3) actionpack (= 6.1.3) activesupport (= 6.1.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) actionmailbox (6.1.3) actionpack (= 6.1.3) activejob (= 6.1.3) activerecord (= 6.1.3) activestorage (= 6.1.3) activesupport (= 6.1.3) mail (>= 2.7.1) actionmailer (6.1.3) actionpack (= 6.1.3) actionview (= 6.1.3) activejob (= 6.1.3) activesupport (= 6.1.3) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) actionpack (6.1.3) actionview (= 6.1.3) activesupport (= 6.1.3) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) actiontext (6.1.3) actionpack (= 6.1.3) activerecord (= 6.1.3) activestorage (= 6.1.3) activesupport (= 6.1.3) nokogiri (>= 1.8.5) actionview (6.1.3) activesupport (= 6.1.3) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) active_model_serializers (0.10.12) actionpack (>= 4.1, < 6.2) activemodel (>= 4.1, < 6.2) case_transform (>= 0.2) jsonapi-renderer (>= 0.1.1.beta1, < 0.3) activejob (6.1.3) activesupport (= 6.1.3) globalid (>= 0.3.6) activejob-status (0.1.6) activejob (>= 4.2) activesupport (>= 4.2) activemodel (6.1.3) activesupport (= 6.1.3) activemodel-serializers-xml (1.0.2) activemodel (> 5.x) activesupport (> 5.x) builder (~> 3.1) activerecord (6.1.3) activemodel (= 6.1.3) activesupport (= 6.1.3) activerecord-clean-db-structure (0.4.0) activerecord (>= 4.2) activerecord-import (1.0.8) activerecord (>= 3.2) activestorage (6.1.3) actionpack (= 6.1.3) activejob (= 6.1.3) activerecord (= 6.1.3) activesupport (= 6.1.3) marcel (~> 0.3.1) mimemagic (~> 0.3.2) activesupport (6.1.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) afm (0.2.2) after_commit_everywhere (1.0.0) activerecord (>= 4.2) akami (1.3.1) gyoku (>= 0.4.0) nokogiri annotate (3.1.1) activerecord (>= 3.2, < 7.0) rake (>= 10.4, < 14.0) ast (2.4.2) auto_strip_attributes (2.6.0) activerecord (>= 4.0) awesome_print (1.8.0) barby (0.6.8) bcrypt (3.1.16) better_errors (2.9.1) coderay (>= 1.0.0) erubi (>= 1.0.0) rack (>= 0.9.0) bindex (0.8.1) binding.repl (3.0.0) binding_of_caller (0.8.0) debug_inspector (>= 0.0.1) bond (0.5.1) bootsnap (1.7.2) msgpack (~> 1.0) builder (3.2.4) bullet (6.1.4) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) byebug (11.1.3) capybara (3.35.3) addressable mini_mime (>= 0.1.3) nokogiri (~> 1.8) rack (>= 1.6.0) rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) capybara-screenshot (1.0.25) capybara (>= 1.0, < 4) launchy carrierwave (2.2.0) activemodel (>= 5.0.0) activesupport (>= 5.0.0) addressable (~> 2.6) image_processing (~> 1.1) mimemagic (>= 0.3.0) mini_mime (>= 0.1.3) ssrf_filter (~> 1.0) case_transform (0.2) activesupport caxlsx (3.0.4) htmlentities (~> 4.3, >= 4.3.4) mimemagic (~> 0.3) nokogiri (~> 1.10, >= 1.10.4) rubyzip (>= 1.3.0, < 3) caxlsx_rails (0.6.2) actionpack (>= 3.1) caxlsx (>= 3.0) cd (1.0.1) childprocess (3.0.0) clipboard (1.3.5) closure_tree (7.2.0) activerecord (>= 4.2.10) with_advisory_lock (>= 4.0.0) code (0.9.3) coderay (~> 1.1) method_source (>= 0.9, < 2.0) coderay (1.1.3) colorize (0.8.1) concurrent-ruby (1.1.8) connection_pool (2.2.3) core_docs (0.9.6) yard (~> 0.9.11) counter_culture (2.7.0) activerecord (>= 4.2) activesupport (>= 4.2) crack (0.4.5) rexml crass (1.0.6) css_parser (1.9.0) addressable damedata_parser_core (0.3.0) ox database_cleaner (2.0.1) database_cleaner-active_record (~> 2.0.0) database_cleaner-active_record (2.0.0) activerecord (>= 5.a) database_cleaner-core (~> 2.0.0) database_cleaner-core (2.0.1) db-query-matchers (0.10.0) activesupport (>= 4.0, < 7) rspec (~> 3.0) debug_inspector (1.0.0) debugging (1.1.2) binding.repl (~> 3.0) paint (>= 0.9, < 3.0) devise (4.7.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) responders warden (~> 1.2.3) diff-lcs (1.4.4) diffy (3.4.0) docile (1.3.5) doorkeeper (5.5.0) railties (>= 5) draper (4.0.1) actionpack (>= 5.0) activemodel (>= 5.0) activemodel-serializers-xml (>= 1.0) activesupport (>= 5.0) request_store (>= 1.0) em-websocket (0.5.2) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) erubi (1.10.0) et-orbi (1.2.4) tzinfo eventmachine (1.2.7) every_day_irb (2.1.1) cd (~> 1.0) factory_bot (6.1.0) activesupport (>= 5.0.0) factory_bot_rails (6.1.0) factory_bot (~> 6.1.0) railties (>= 5.0.0) fancy_irb (1.4.2) paint (>= 0.9, < 3.0) unicode-display_width (>= 1.1) faraday (1.3.0) faraday-net_http (~> 1.0) multipart-post (>= 1.2, < 3) ruby2_keywords faraday-net_http (1.0.1) ffi (1.14.2) figaro (1.2.0) thor (>= 0.14.0, < 2) formatador (0.2.5) fugit (1.4.2) et-orbi (~> 1.1, >= 1.1.8) raabro (~> 1.4) fuubar (2.5.1) rspec-core (~> 3.0) ruby-progressbar (~> 1.4) globalid (0.4.2) activesupport (>= 4.2.0) graphiql-rails (1.7.0) railties sprockets-rails graphql (1.12.5) graphql-rails_logger (1.2.3) actionpack (> 5.0) activesupport (> 5.0) railties (> 5.0) rouge (~> 3.0) graphql_rails (1.2.2) activesupport (>= 4) graphql (~> 1.12, >= 1.12.4) gtin.rb (1.1.1) guard (2.16.2) formatador (>= 0.2.4) listen (>= 2.7, < 4.0) lumberjack (>= 1.0.12, < 2.0) nenv (~> 0.1) notiffany (~> 0.0) pry (>= 0.9.12) shellany (~> 0.0) thor (>= 0.18.1) guard-compat (1.2.1) guard-livereload (2.5.2) em-websocket (~> 0.5) guard (~> 2.8) guard-compat (~> 1.0) multi_json (~> 1.8) guard-rspec (4.7.3) guard (~> 2.1) guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) gyoku (1.3.1) builder (>= 2.1.2) hashdiff (1.0.1) hashery (2.1.2) hirb (0.7.3) hiredis (0.6.3) htmlentities (4.3.4) http_parser.rb (0.6.0) httparty (0.18.1) mime-types (~> 3.0) multi_xml (>= 0.5.2) httpi (2.4.5) rack socksify i18n (1.8.9) concurrent-ruby (~> 1.0) i18n-js (3.8.1) i18n (>= 0.6.6) image_processing (1.12.1) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) inline_svg (1.7.2) activesupport (>= 3.0) nokogiri (>= 1.6) interactive_editor (0.0.11) spoon (>= 0.0.1) io-console (0.5.8) irb (1.3.3) reline (>= 0.1.5) irbtools (3.0.4) binding.repl (~> 3.0) clipboard (~> 1.3) code (>= 0.9.2, < 2.0) coderay (~> 1.1) debugging (~> 1.1) every_day_irb (~> 2.0) fancy_irb (~> 1.2, >= 1.2.1) hirb (~> 0.7, >= 0.7.3) interactive_editor (~> 0.0, >= 0.0.10) irb (>= 0.9.6) methodfinder (~> 2.2) object_shadow (~> 1.1) ori (~> 0.1.0) os paint (>= 0.9, < 3.0) ruby_engine (~> 1.0) ruby_info (~> 1.0) ruby_version (~> 1.0) wirb (~> 2.0, >= 2.2.1) irbtools-more (2.4.1) binding_of_caller (~> 0.8) bond (~> 0.5) core_docs (>= 0.9.5) irbtools (>= 2.2, < 4.0) looksee (~> 4.2) jb (0.8.0) json-schema (2.8.1) addressable (>= 2.4) jsonapi-renderer (0.2.2) kramdown (2.3.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) launchy (2.5.0) addressable (~> 2.7) letter_opener (1.7.0) launchy (~> 2.2) listen (3.4.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) loofah (2.9.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) looksee (4.4.0) lumberjack (1.2.8) mail (2.7.1) mini_mime (>= 0.1.1) marcel (0.3.3) mimemagic (~> 0.3.2) method_source (1.0.0) methodfinder (2.2.1) mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2021.0212) mimemagic (0.3.5) mini_magick (4.11.0) mini_mime (1.0.2) mini_portile2 (2.5.0) minitest (5.14.4) msgpack (1.4.2) multi_json (1.15.0) multi_xml (0.6.0) multipart-post (2.1.1) nenv (0.3.0) net-sftp (3.0.0) net-ssh (>= 5.0.0, < 7.0.0) net-ssh (6.1.0) nio4r (2.5.7) nokogiri (1.11.1) mini_portile2 (~> 2.5.0) racc (~> 1.4) nori (2.6.0) notiffany (0.1.3) nenv (~> 0.1) shellany (~> 0.0) object_shadow (1.1.1) oj (3.11.2) ori (0.1.0) orm_adapter (0.5.0) os (1.1.1) ougai (2.0.0) oj (~> 3.10) ox (2.14.1) paint (2.2.1) parallel (1.20.1) parallel_tests (3.5.0) parallel parser (3.0.0.0) ast (~> 2.4.1) pdf-core (0.9.0) pdf-inspector (1.3.0) pdf-reader (>= 1.0, < 3.0.a) pdf-reader (2.4.2) Ascii85 (~> 1.0) afm (~> 0.2.1) hashery (~> 2.0) ruby-rc4 ttfunk pg (1.2.3) pohoda (3.1.1) damedata_parser_core (= 0.3.0) ox prawn (2.4.0) pdf-core (~> 0.9.0) ttfunk (~> 1.7) prawn-svg (0.31.0) css_parser (~> 1.6) prawn (>= 0.11.1, < 3) prawn-table (0.2.2) prawn (>= 1.3.0, < 3.0.0) pry (0.13.1) coderay (~> 1.1) method_source (~> 1.0) pry-byebug (3.9.0) byebug (~> 11.0) pry (~> 0.13.0) public_activity (1.6.4) actionpack (>= 3.0.0) activerecord (>= 3.0) i18n (>= 0.5.0) railties (>= 3.0.0) public_suffix (4.0.6) puma (5.2.2) nio4r (~> 2.0) pundit (2.1.0) activesupport (>= 3.0.0) pundit-matchers (1.6.0) rspec-rails (>= 3.0.0) raabro (1.4.0) racc (1.5.2) rack (2.2.3) rack-mini-profiler (2.3.1) rack (>= 1.2.0) rack-proxy (0.6.5) rack rack-test (1.1.0) rack (>= 1.0, < 3) rails (6.1.3) actioncable (= 6.1.3) actionmailbox (= 6.1.3) actionmailer (= 6.1.3) actionpack (= 6.1.3) actiontext (= 6.1.3) actionview (= 6.1.3) activejob (= 6.1.3) activemodel (= 6.1.3) activerecord (= 6.1.3) activestorage (= 6.1.3) activesupport (= 6.1.3) bundler (>= 1.15.0) railties (= 6.1.3) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.3.0) loofah (~> 2.3) rails-i18n (6.0.0) i18n (>= 0.7, < 2) railties (>= 6.0.0, < 7) rails_layout (1.0.42) railties (6.1.3) actionpack (= 6.1.3) activesupport (= 6.1.3) method_source rake (>= 0.8.7) thor (~> 1.0) rainbow (3.0.0) rake (13.0.3) ransack (2.4.2) activerecord (>= 5.2.4) activesupport (>= 5.2.4) i18n rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) redis (4.2.5) redis-namespace (1.8.1) redis (>= 3.0.4) regexp_parser (2.1.1) reline (0.2.3) io-console (~> 0.5) request_store (1.5.0) rack (>= 1.4) responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) rexml (3.2.4) rouge (3.26.0) rspec (3.10.0) rspec-core (~> 3.10.0) rspec-expectations (~> 3.10.0) rspec-mocks (~> 3.10.0) rspec-core (3.10.1) rspec-support (~> 3.10.0) rspec-expectations (3.10.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-instafail (1.0.0) rspec rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) rspec-json_expectations (2.2.0) rspec-mocks (3.10.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-rails (4.1.0) actionpack (>= 4.2) activesupport (>= 4.2) railties (>= 4.2) rspec-core (~> 3.10) rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) rspec-support (3.10.2) rspec-xml (0.1.1) nokogiri rspec rubocop (1.11.0) parallel (~> 1.10) parser (>= 3.0.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml rubocop-ast (>= 1.2.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.4.1) parser (>= 2.7.1.5) rubocop-performance (1.10.1) rubocop (>= 0.90.0, < 2.0) rubocop-ast (>= 0.4.0) rubocop-rails (2.9.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 0.90.0, < 2.0) rubocop-rspec (2.2.0) rubocop (~> 1.0) rubocop-ast (>= 1.1.0) ruby-progressbar (1.11.0) ruby-rc4 (0.1.5) ruby-vips (2.0.17) ffi (~> 1.9) ruby2_keywords (0.0.4) ruby_engine (1.0.1) ruby_info (1.0.1) ruby_version (1.0.2) rubyzip (2.3.0) savon (2.12.1) akami (~> 1.2) builder (>= 2.1.2) gyoku (~> 1.2) httpi (~> 2.3) nokogiri (>= 1.8.1) nori (~> 2.4) wasabi (~> 3.4) scenic (1.5.4) activerecord (>= 4.0.0) railties (>= 4.0.0) selenium-webdriver (3.142.7) childprocess (>= 0.5, < 4.0) rubyzip (>= 1.2.2) semantic_range (2.3.1) sentry-raven (3.1.1) faraday (>= 1.0) shellany (0.0.1) sidekiq (6.1.3) connection_pool (>= 2.2.2) rack (~> 2.0) redis (>= 4.2.0) sidekiq-cron (1.2.0) fugit (~> 1.1) sidekiq (>= 4.2.1) sidekiq-failures (1.0.0) sidekiq (>= 4.0.0) sidekiq-limit_fetch (3.4.0) sidekiq (>= 4) simple_form (5.1.0) actionpack (>= 5.2) activemodel (>= 5.2) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.2) socksify (1.7.1) spoon (0.0.6) ffi sprockets (4.0.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.2.2) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) ssrf_filter (1.0.7) store_model (0.8.2) activerecord (>= 5.2) switch_user (1.5.4) thor (1.1.0) ttfunk (1.7.0) tzinfo (2.0.4) concurrent-ruby (~> 1.0) tzinfo-data (1.2021.1) tzinfo (>= 1.0.0) unicode-display_width (2.0.0) uniform_notifier (1.14.1) vcr (6.0.0) warden (1.2.9) rack (>= 2.0.9) wasabi (3.6.1) addressable httpi (~> 2.0) nokogiri (>= 1.4.2) web-console (4.1.0) actionview (>= 6.0.0) activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) webdrivers (4.6.0) nokogiri (~> 1.6) rubyzip (>= 1.3.0) selenium-webdriver (>= 3.0, < 4.0) webmock (3.12.1) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) webpacker (5.2.1) activesupport (>= 5.2) rack-proxy (>= 0.6.1) railties (>= 5.2) semantic_range (>= 2.3.0) websocket-driver (0.7.3) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) will_paginate (3.3.0) will_paginate-bootstrap4 (0.2.2) will_paginate (~> 3.0, >= 3.0.0) wirb (2.2.2) paint (>= 0.9, < 3.0) with_advisory_lock (4.6.0) activerecord (>= 4.2) xpath (3.2.0) nokogiri (~> 1.8) yard (0.9.26) zeitwerk (2.4.2) PLATFORMS ruby DEPENDENCIES aasm (= 5.1.1) active_model_serializers (= 0.10.12) activejob-status (= 0.1.6) activemodel-serializers-xml (= 1.0.2) activerecord-clean-db-structure (= 0.4.0) activerecord-import (= 1.0.8) after_commit_everywhere (= 1.0.0) annotate (= 3.1.1) auto_strip_attributes (= 2.6.0) awesome_print (= 1.8.0) barby (= 0.6.8) better_errors (= 2.9.1) binding_of_caller (= 0.8.0) bootsnap (= 1.7.2) bullet (= 6.1.4) capybara (= 3.35.3) capybara-screenshot (= 1.0.25) carrierwave (= 2.2.0) caxlsx (= 3.0.4) caxlsx_rails (= 0.6.2) closure_tree (= 7.2.0) colorize (= 0.8.1) counter_culture (~> 2.7) database_cleaner (= 2.0.1) db-query-matchers (= 0.10.0) devise (= 4.7.3) diffy (= 3.4.0) doorkeeper (= 5.5.0) draper (= 4.0.1) factory_bot_rails (= 6.1.0) figaro (= 1.2.0) fuubar (= 2.5.1) graphiql-rails (= 1.7.0) graphql (= 1.12.5) graphql-rails_logger (= 1.2.3) graphql_rails (= 1.2.2) gtin.rb (= 1.1.1) guard-livereload (= 2.5.2) guard-rspec (= 4.7.3) hiredis (= 0.6.3) httparty (= 0.18.1) i18n-js (= 3.8.1) inline_svg (= 1.7.2) irbtools (= 3.0.4) irbtools-more (= 2.4.1) jb (= 0.8.0) json-schema (= 2.8.1) kramdown (= 2.3.0) kramdown-parser-gfm (= 1.1.0) launchy (= 2.5.0) letter_opener (= 1.7.0) mini_magick (= 4.11.0) net-sftp (= 3.0.0) nokogiri (= 1.11.1) ougai (= 2.0.0) parallel_tests (= 3.5.0) pdf-inspector (= 1.3.0) pg (= 1.2.3) pohoda (= 3.1.1) prawn (= 2.4.0) prawn-svg (= 0.31.0) prawn-table (= 0.2.2) pry-byebug (= 3.9.0) public_activity (= 1.6.4) puma (= 5.2.2) pundit (= 2.1.0) pundit-matchers (= 1.6.0) rack-mini-profiler (= 2.3.1) rails (= 6.1.3) rails-controller-testing! rails-i18n (= 6.0.0) rails_layout (= 1.0.42) ransack (= 2.4.2) rb-fsevent (= 0.10.4) redis-namespace (= 1.8.1) rspec-instafail (= 1.0.0) rspec-its (= 1.3.0) rspec-json_expectations (= 2.2.0) rspec-rails (= 4.1.0) rspec-xml (= 0.1.1) rubocop (= 1.11.0) rubocop-performance (= 1.10.1) rubocop-rails (= 2.9.1) rubocop-rspec (= 2.2.0) ruby-eet-cz! ruby-progressbar (= 1.11.0) scenic (= 1.5.4) sentry-raven (= 3.1.1) sidekiq (= 6.1.3) sidekiq-cron (= 1.2.0) sidekiq-failures (= 1.0.0) sidekiq-limit_fetch (= 3.4.0) simple_form (= 5.1.0) simplecov (= 0.21.2) store_model (= 0.8.2) switch_user (= 1.5.4) tzinfo-data (= 1.2021.1) vcr (= 6.0.0) web-console (= 4.1.0) webdrivers (= 4.6.0) webmock (= 3.12.1) webpacker (= 5.2.1) will_paginate-bootstrap4 (= 0.2.2) RUBY VERSION ruby 2.7.2p137 BUNDLED WITH 2.1.4 ```