SHARE
TWEET

Untitled

a guest Sep 17th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MacBook-Pro:test-guru-new trift$ bin/rails db:reset
  2. Dropped database 'db/development.sqlite3'
  3. Dropped database 'db/test.sqlite3'
  4. Created database 'db/development.sqlite3'
  5. Created database 'db/test.sqlite3'
  6. -- create_table("answers", {:force=>:cascade})
  7.    -> 0.0342s
  8. -- create_table("categories", {:force=>:cascade})
  9.    -> 0.0024s
  10. -- create_table("questions", {:force=>:cascade})
  11.    -> 0.0058s
  12. -- create_table("tests", {:force=>:cascade})
  13.    -> 0.0046s
  14. -- create_table("user_tests", {:force=>:cascade})
  15.    -> 0.0073s
  16. -- create_table("users", {:force=>:cascade})
  17.    -> 0.0052s
  18. -- create_table("answers", {:force=>:cascade})
  19.    -> 0.0275s
  20. -- create_table("categories", {:force=>:cascade})
  21.    -> 0.0022s
  22. -- create_table("questions", {:force=>:cascade})
  23.    -> 0.0042s
  24. -- create_table("tests", {:force=>:cascade})
  25.    -> 0.0094s
  26. -- create_table("user_tests", {:force=>:cascade})
  27.    -> 0.0721s
  28. -- create_table("users", {:force=>:cascade})
  29.    -> 0.0809s
  30. rails aborted!
  31. LoadError: Unable to autoload constant User_test, expected /Users/gleb/test-guru-new/app/models/user_test.rb to define it
  32. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:511:in `load_missing_constant'
  33. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:60:in `block in load_missing_constant'
  34. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
  35. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:59:in `load_missing_constant'
  36. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:195:in `const_missing'
  37. /Users/gleb/test-guru-new/db/seeds.rb:86:in `<main>'
  38. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
  39. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
  40. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
  41. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
  42. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
  43. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/engine.rb:551:in `block in load_seed'
  44. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/engine.rb:666:in `with_inline_jobs'
  45. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/engine.rb:551:in `load_seed'
  46. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activerecord-5.2.3/lib/active_record/tasks/database_tasks.rb:281:in `load_seed'
  47. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activerecord-5.2.3/lib/active_record/railties/databases.rake:194:in `block (2 levels) in <main>'
  48. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
  49. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/commands/rake/rake_command.rb:20:in `perform'
  50. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/command.rb:48:in `invoke'
  51. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<main>'
  52. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
  53. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
  54. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
  55. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
  56. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
  57. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
  58. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
  59. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
  60. /Users/gleb/test-guru-new/bin/rails:9:in `<top (required)>'
  61. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
  62. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
  63. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
  64. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
  65. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
  66. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
  67. /Users/gleb/.rvm/gems/ruby-2.2.2/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
  68. /Users/gleb/test-guru-new/bin/spring:15:in `<top (required)>'
  69. bin/rails:3:in `load'
  70. bin/rails:3:in `<main>'
  71. Tasks: TOP => db:reset => db:setup => db:seed
  72. (See full trace by running task with --trace)
  73. MacBook-Pro:test-guru-new trift$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top