Skip to content

Instantly share code, notes, and snippets.

@dm8tbr
Created December 18, 2017 18:56
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 dm8tbr/a4d8f9b8d580ad7bb88c969f1a4abb0f to your computer and use it in GitHub Desktop.
Save dm8tbr/a4d8f9b8d580ad7bb88c969f1a4abb0f to your computer and use it in GitHub Desktop.
huh?
mastodon@mastodon:~/live$ bundle exec rails db:migrate
rails aborted!
NameError: uninitialized constant Annotate
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:49:in `block in load_missing_constant'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:8:in `without_bootsnap_cache'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:49:in `rescue in load_missing_constant'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:43:in `load_missing_constant'
/home/mastodon/live/lib/tasks/auto_annotate_models.rake:44:in `<top (required)>'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:648:in `block in run_tasks_blocks'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:648:in `each'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:648:in `run_tasks_blocks'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application.rb:440:in `run_tasks_blocks'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:457:in `load_tasks'
/home/mastodon/live/Rakefile:6:in `<top (required)>'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
bin/rails:4:in `<main>'
Caused by:
NameError: uninitialized constant Annotate
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:43:in `load_missing_constant'
/home/mastodon/live/lib/tasks/auto_annotate_models.rake:44:in `<top (required)>'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:648:in `block in run_tasks_blocks'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:648:in `each'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:648:in `run_tasks_blocks'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application.rb:440:in `run_tasks_blocks'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:457:in `load_tasks'
/home/mastodon/live/Rakefile:6:in `<top (required)>'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment