Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vipulnsward
Last active April 5, 2016 20:00
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 vipulnsward/f3e1a3ae26f5160d9de5f6e2837ce13e to your computer and use it in GitHub Desktop.
Save vipulnsward/f3e1a3ae26f5160d9de5f6e2837ce13e to your computer and use it in GitHub Desktop.
➜ puma-demo cat config/puma.rb | grep port
# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
port ENV.fetch("PORT") { 3100 }
# Workers do not work on JRuby or Windows (both of which do not support
➜ puma-demo spring stop
Spring is not running
➜ puma-demo bundle exec rails s
=> Booting Puma
=> Rails 5.0.0.beta3 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.2.0 (ruby 2.3.0-p0), codename: Spring Is A Heliocentric Viewpoint
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment