puma/puma — pull request #103 by ender672 (2012-06-01 06:08:03+00:00)
Title: Detect and handle unix:// scheme in rack handler

This runs puma on a unix socket when started via ```$ rackup -s puma -o unix://tmp/pma``` or ```$ rails s puma -b unix://tmp/pma```. My motivation for using the rails server script is that it performs some rails sanity checks.

Another person who expected this to work: https://github.com/puma/puma/issues/44

This creates more duplication between lib/puma/cli.rb and rack/handler/puma.rb. I am open to suggestions if that needs to be addressed.

Also, rails doesn't expect this scheme and will spit out a bit of nonsense (but works fine):

```
$ rails s puma -b unix://tmp/pma
=> Booting Puma
=> Rails 3.2.3 application starting in development on http://unix://tmp/pma:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Puma 1.3.1 starting...
* Min threads: 0, max threads: 16
* Listening on unix://tmp/pma
```