Why is there a separate "unicorn_rails" for Rails apps?
Posted
by
Ben Lee
on Server Fault
See other posts from Server Fault
or by Ben Lee
Published on 2012-06-11T16:39:28Z
Indexed on
2012/06/11
16:41 UTC
Read the original article
Hit count: 307
According to the Unicorn docs, there are different binaries for Rails apps and other Rack apps:
non-Rails Rack applications
In APP_ROOT, run:
unicorn
for Rails applications (should work for all 1.2 or later versions)
In RAILS_ROOT, run:
unicorn_rails
They seem to also take the same command-line parameters. But Rails is built on top of rack, so I don't understand why this dichotomy is required. Is there any reason you can't just use unicorn
for Rails apps?
© Server Fault or respective owner