Advertisement
Guest User

Untitled

a guest
Oct 4th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.93 KB | None | 0 0
  1. david@david-ubuntu:~/Documents/projects/pichost$ rackup
  2. [2011-08-02 20:08:08] INFO WEBrick 1.3.1
  3. [2011-08-02 20:08:08] INFO ruby 1.9.2 (2011-02-18) [x86_64-linux]
  4. [2011-08-02 20:08:08] INFO WEBrick::HTTPServer#start: pid=13987 port=9292
  5. MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
  6. MONGODB admin['$cmd'].find({:ismaster=>1})
  7. MONGODB admin['$cmd'].find({:ismaster=>1})
  8. TypeError - db_name must be a string or symbol:
  9. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/util/support.rb:50:in `validate_db_name'
  10. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/db.rb:80:in `initialize'
  11. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/connection.rb:298:in `new'
  12. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/connection.rb:298:in `db'
  13. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/config/database.rb:22:in `configure'
  14. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/config.rb:320:in `configure_databases'
  15. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/config.rb:235:in `master'
  16. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid.rb:145:in `master'
  17. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/collection.rb:108:in `master'
  18. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/collection.rb:30:in `find'
  19. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/contexts/mongo.rb:143:in `execute'
  20. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/contexts/mongo.rb:204:in `iterate'
  21. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/criteria.rb:133:in `block in each'
  22. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/criteria.rb:133:in `tap'
  23. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/criteria.rb:133:in `each'
  24. /home/david/Documents/projects/pichost/app.rb:15:in `block in <top (required)>'
  25. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `call'
  26. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `block in compile!'
  27. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
  28. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
  29. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `block (2 levels) in route!'
  30. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `block in process_route'
  31. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
  32. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
  33. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `block in route!'
  34. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
  35. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
  36. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
  37. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `block in call!'
  38. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
  39. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `block in invoke'
  40. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
  41. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
  42. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
  43. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
  44. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/head.rb:9:in `call'
  45. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in `call'
  46. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:21:in `call'
  47. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
  48. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `block in call'
  49. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in `synchronize'
  50. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
  51. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/lint.rb:48:in `_call'
  52. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/lint.rb:36:in `call'
  53. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/showexceptions.rb:24:in `call'
  54. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in `call'
  55. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/chunked.rb:41:in `call'
  56. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/content_length.rb:14:in `call'
  57. /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
  58. /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
  59. /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
  60. /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
  61. 127.0.0.1 - - [02/Aug/2011 20:08:12] "GET / HTTP/1.1" 500 146247 0.1367
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement