mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 22:04:58 +00:00
In Discourse, `rails s` ultimately launches the `bin/unicorn` script. However, the overhead of `rails` launching `bin/rails`, and then in turn `bin/unicorn` can be non-trivial. Therefore it is much better to run `bin/unicorn` directly. This commit prints a warning message to STDERR when `rails s` is used. Functionality is unchanged.