Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- david@david-ubuntu:~/Documents/projects/pichost$ rackup
- [2011-08-02 20:08:08] INFO WEBrick 1.3.1
- [2011-08-02 20:08:08] INFO ruby 1.9.2 (2011-02-18) [x86_64-linux]
- [2011-08-02 20:08:08] INFO WEBrick::HTTPServer#start: pid=13987 port=9292
- MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
- MONGODB admin['$cmd'].find({:ismaster=>1})
- MONGODB admin['$cmd'].find({:ismaster=>1})
- TypeError - db_name must be a string or symbol:
- /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'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/db.rb:80:in `initialize'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/connection.rb:298:in `new'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongo-1.3.1/lib/mongo/connection.rb:298:in `db'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/config/database.rb:22:in `configure'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/config.rb:320:in `configure_databases'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/config.rb:235:in `master'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid.rb:145:in `master'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/collection.rb:108:in `master'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/collection.rb:30:in `find'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/contexts/mongo.rb:143:in `execute'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/contexts/mongo.rb:204:in `iterate'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/criteria.rb:133:in `block in each'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/criteria.rb:133:in `tap'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/mongoid-2.1.2/lib/mongoid/criteria.rb:133:in `each'
- /home/david/Documents/projects/pichost/app.rb:15:in `block in <top (required)>'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `block in compile!'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
- /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!'
- /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'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `block in route!'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `block in call!'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `block in invoke'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/head.rb:9:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:21:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `block in call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in `synchronize'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/lint.rb:48:in `_call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/lint.rb:36:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/showexceptions.rb:24:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/chunked.rb:41:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/content_length.rb:14:in `call'
- /home/david/.rvm/gems/ruby-1.9.2-p180@pichost/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
- /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
- 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