Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. rake db:schema:load db:seed --trace
  2. ** Invoke db:schema:load (first_time)
  3. ** Invoke db:load_config (first_time)
  4. ** Execute db:load_config
  5. rake aborted!
  6. NameError: Cannot load `Rails.application.database_configuration`:
  7. uninitialized constant Settings
  8. (erb):3:in `result'
  9. /Users/shuotongwu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/erb.rb:838:in `eval'
  10. /Users/shuotongwu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/erb.rb:838:in `result'
  11. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/railties-4.1.11/lib/rails/application/configuration.rb:99:in `database_configuration'
  12. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/activerecord-4.1.11/lib/active_record/railtie.rb:41:in `Railtie'
  13. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
  14. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:240:in `execute'
  15. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
  16. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
  17. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:179:in `invoke_with_call_chain'
  18. /Users/shuotongwu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
  19. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
  20. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:201:in `invoke_prerequisites'
  21. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
  22. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
  23. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:178:in `invoke_with_call_chain'
  24. /Users/shuotongwu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
  25. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
  26. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
  27. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
  28. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:106:in `top_level'
  29. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
  30. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:106:in `top_level'
  31. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
  32. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
  33. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:78:in `run'
  34. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
  35. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
  36. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/gems/rake-10.4.2/bin/rake:33:in `(root)'
  37. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/bin/rake:1:in `load'
  38. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/bin/rake:1:in `(root)'
  39. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/bin/jruby_executable_hooks:15:in `eval'
  40. /Users/shuotongwu/.rvm/gems/jruby-1.7.19@calcentral/bin/jruby_executable_hooks:15:in `(root)'
  41. Tasks: TOP => db:schema:load => db:load_config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement