samuelkadolph / unicorn-rails

unicorn-rails is a simple gem that sets the default server for rack (and rails) to unicorn.
MIT License
127 stars 22 forks source link

wrong listen regex? #18

Closed vcastellm closed 8 years ago

vcastellm commented 9 years ago

I just want to force listen to only a socket file and this regex [1] only detects the listen command in case it has a space at the beginning in the config file.

[1] https://github.com/samuelkadolph/unicorn-rails/blob/master/lib/unicorn_rails.rb#L27

Always starting unicorn listening in port 3000 and the socket file.

Is this something made on purpose?

agibralter commented 8 years ago

+1 here. Why is that? It was driving me nuts. @samuelkadolph would you be open to a PR to fix that?

agibralter commented 8 years ago

Ah, I wasn't paying attention and missed #20

samuelkadolph commented 8 years ago

Fixed by #20