Skip to content

Instantly share code, notes, and snippets.

@prathamesh-sonpatki
Created October 23, 2016 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prathamesh-sonpatki/bc0cac8929dbf17316e8b4b7dda93e20 to your computer and use it in GitHub Desktop.
Save prathamesh-sonpatki/bc0cac8929dbf17316e8b4b7dda93e20 to your computer and use it in GitHub Desktop.
$ rails s
=> Booting Puma
=> Rails 5.0.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.5.0 (ruby 2.3.1-p112), codename: Amateur Raccoon Rocketry
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
* Restarting...
=> Booting Puma
=> Rails 5.0.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.5.0 (ruby 2.3.1-p112), codename: Amateur Raccoon Rocketry
* Min threads: 5, max threads: 5
* Environment: development
* Inherited tcp://localhost:3000
Exiting
/Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/binder.rb:286:in `for_fd': Bad file descriptor - not a socket file descriptor (Errno::EBADF)
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/binder.rb:286:in `inherit_tcp_listener'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/binder.rb:91:in `block in parse'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/binder.rb:85:in `each'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/binder.rb:85:in `parse'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/runner.rb:129:in `load_and_bind'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/single.rb:84:in `run'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/puma/launcher.rb:172:in `run'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.5.0/lib/rack/handler/puma.rb:51:in `run'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:296:in `start'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:79:in `start'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in server'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
from /Users/prathamesh/Projects/reproductions/puma_restart_issue/bin/rails:9:in `require'
from /Users/prathamesh/Projects/reproductions/puma_restart_issue/bin/rails:9:in `<top (required)>'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/client/rails.rb:28:in `load'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/client/rails.rb:28:in `call'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/client/command.rb:7:in `call'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/client.rb:30:in `run'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/bin/spring:49:in `<top (required)>'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/binstub.rb:31:in `load'
from /Users/prathamesh/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/binstub.rb:31:in `<top (required)>'
from /Users/prathamesh/Projects/reproductions/puma_restart_issue/bin/spring:14:in `require'
from /Users/prathamesh/Projects/reproductions/puma_restart_issue/bin/spring:14:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment