Skip to content

Instantly share code, notes, and snippets.

@astanway
Created September 15, 2012 17:52
Show Gist options
  • Save astanway/3729052 to your computer and use it in GitHub Desktop.
Save astanway/3729052 to your computer and use it in GitHub Desktop.
~/code/hackerleague.org$ bundle exec foreman start
13:50:08 web.1 | started with pid 18516
13:50:08 worker.1 | started with pid 18517
13:50:20 web.1 | => Booting Thin
13:50:20 web.1 | => Rails 3.2.3 application starting in development on http://0.0.0.0:5000
13:50:20 web.1 | => Call with -d to detach
13:50:20 web.1 | => Ctrl-C to shutdown server
13:51:39 web.1 | Exiting
13:51:39 web.1 | /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongo-1.6.2/lib/mongo/connection.rb:415:in `connect': Failed to connect to a master node at localhost:27017 (Mongo::ConnectionFailure)
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongo-1.6.2/lib/mongo/connection.rb:589:in `setup'
13:51:39 worker.1 | 13:51:39 web.1 | rake aborted!
from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongo-1.6.2/lib/mongo/connection.rb:114:in `initialize'
13:51:39 worker.1 | 13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongo-1.6.2/lib/mongo/connection.rb:165:in `new'
Failed to connect to a master node at localhost:27017
13:51:39 web.1 | 13:51:39 worker.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongo-1.6.2/lib/mongo/connection.rb:165:in `from_uri'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config/database.rb:86:in `master'13:51:39 worker.1 |
Tasks: TOP => resque:work => resque:preload => resque:setup => environment
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config/database.rb:19:in `configure'
13:51:39 worker.1 | (See full trace by running task with --trace)
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config.rb:290:in `configure_databases'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config.rb:111:in `from_hash'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config.rb:126:in `block in load!'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config.rb:125:in `tap'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/config.rb:125:in `load!'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid.rb:148:in `load!'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.4.11/lib/mongoid/railtie.rb:84:in `block in <class:Railtie>'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
13:51:39 web.1 | from /Users/abestanway/code/hackerleague.org/config/environment.rb:5:in `<top (required)>'
13:51:39 web.1 | from /Users/abestanway/code/hackerleague.org/config.ru:4:in `require'
13:51:39 web.1 | from /Users/abestanway/code/hackerleague.org/config.ru:4:in `block in <main>'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
13:51:39 web.1 | from /Users/abestanway/code/hackerleague.org/config.ru:1:in `new'
13:51:39 web.1 | from /Users/abestanway/code/hackerleague.org/config.ru:1:in `<main>'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands/server.rb:46:in `app'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands/server.rb:70:in `start'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands.rb:55:in `block in <top (required)>'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands.rb:50:in `tap'
13:51:39 web.1 | from /Users/abestanway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands.rb:50:in `<top (required)>'
13:51:39 web.1 | from script/rails:6:in `require'
13:51:39 web.1 | from script/rails:6:in `<main>'
13:51:39 worker.1 | process terminated
13:51:39 system | sending SIGTERM to all processes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment