Skip to content

Instantly share code, notes, and snippets.

@aroop
Created February 5, 2020 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aroop/155cf6b3a22d30aee484a4ca9329c94e to your computer and use it in GitHub Desktop.
Save aroop/155cf6b3a22d30aee484a4ca9329c94e to your computer and use it in GitHub Desktop.
NameError: uninitialized constant Devise::Models::Masqueradable
load_missing_constant at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:590
const_missing at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:214
const_get at org/jruby/RubyModule.java:3707
devise at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/models.rb:90
each at org/jruby/RubyArray.java:1809
devise at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/models.rb:89
devise_modules_hook! at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/models.rb:116
devise at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/models.rb:86
<class:User> at /Users/ajay/Development/inagreement/app/models/user.rb:48
<main> at /Users/ajay/Development/inagreement/app/models/user.rb:43
load at org/jruby/RubyKernel.java:1009
load_file at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:511
new_constants_in at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:702
load_file at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:510
require_or_load at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:407
load_interlock at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:40
loading at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies/interlock.rb:14
exclusive at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/concurrency/share_lock.rb:151
loading at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies/interlock.rb:13
load_interlock at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:40
require_or_load at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:390
load_missing_constant at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:545
const_missing at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:214
const_get at org/jruby/RubyModule.java:3707
constantize at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/inflector/methods.rb:282
each at org/jruby/RubyArray.java:1809
inject at org/jruby/RubyEnumerable.java:1126
constantize at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/inflector/methods.rb:280
get at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:623
constantize at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:654
get at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise.rb:320
to at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/mapping.rb:83
modules at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/mapping.rb:78
routes at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/mapping.rb:95
default_used_route at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/mapping.rb:162
initialize at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/mapping.rb:72
add_mapping at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise.rb:350
devise_for at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/rails/routes.rb:243
each at org/jruby/RubyArray.java:1809
devise_for at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/devise-4.7.1/lib/devise/rails/routes.rb:242
<main> at /Users/ajay/Development/inagreement/config/routes.rb:45
instance_exec at org/jruby/RubyBasicObject.java:2680
eval_block at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/actionpack-6.0.2.1/lib/action_dispatch/routing/route_set.rb:429
draw at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/actionpack-6.0.2.1/lib/action_dispatch/routing/route_set.rb:411
<main> at /Users/ajay/Development/inagreement/config/routes.rb:2
load at org/jruby/RubyKernel.java:1016
load at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:319
load_dependency at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291
load at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:319
load_paths at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application/routes_reloader.rb:41
each at org/jruby/RubyArray.java:1809
load_paths at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application/routes_reloader.rb:41
reload! at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application/routes_reloader.rb:20
updater at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application/routes_reloader.rb:30
execute at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/file_update_checker.rb:83
execute at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application/routes_reloader.rb:10
Finisher at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application/finisher.rb:184
instance_exec at org/jruby/RubyBasicObject.java:2680
run at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/initializable.rb:32
run_initializers at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/initializable.rb:61
tsort_each at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:228
each_strongly_connected_component at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:350
each_strongly_connected_component_from at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:431
each_strongly_connected_component at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:349
each at org/jruby/RubyArray.java:1809
call at org/jruby/RubyMethod.java:131
each_strongly_connected_component at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:347
tsort_each at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:226
tsort_each at /Users/ajay/.rvm/rubies/jruby-9.2.9/lib/ruby/stdlib/tsort.rb:205
run_initializers at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/initializable.rb:60
initialize! at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application.rb:363
<main> at /Users/ajay/Development/inagreement/config/environment.rb:5
require at org/jruby/RubyKernel.java:974
require at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325
load_dependency at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291
require at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325
require_environment! at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/application.rb:339
require_environment! at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/command/actions.rb:28
require_application_and_environment! at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/command/actions.rb:15
perform at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/commands/console/console_command.rb:101
run at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/thor-0.20.3/lib/thor/command.rb:27
invoke_command at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/thor-0.20.3/lib/thor/invocation.rb:126
dispatch at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/thor-0.20.3/lib/thor.rb:387
perform at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/command/base.rb:69
invoke at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/command.rb:46
<main> at /Users/ajay/.rvm/gems/jruby-9.2.9@inagreement/gems/railties-6.0.2.1/lib/rails/commands.rb:18
require at org/jruby/RubyKernel.java:974
<main> at bin/rails:9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment