Forum: NGINX unicorn as simple cgi without rails

64406e971d0ae7ffa9defc7d50660162?d=identicon&s=25 nomad Bellcam (Guest)
on 2013-10-10 11:48
(Received via mailing list)
hello,
i recently set up a new server upon which i installed nginx to try it
out (and which i have been quite happy with since).
my website is mostly static with some small cgi areas, and i like to use
ruby for the cgi. when i did my research for the best ruby cgi handler
for nginx, unicorn figured prominently in my results, and so i became
interested in trying it. i spent some time reading up on how to
configure and use it but have been unsuccessful implementing, mostly i
believe due to the fact that i do not have a rails framework installed
nor a legitimate rackup config.ru
my question is this: does it make any sense at all to use unicorn as a
ruby cgi handler if i am not also using rails? and if there is indeed
some sense in this idea, how might i go about it? is there a simple
rackup file that would work for a configuration such as this? i couldn't
find any information on rackup configs of this sort, and not being
familiar with rails the terrain simply became to steep at this point to
continue without some guidance or assurances.
thank you for your consideration.
sincerely,nomad
34011bc56457235a2caa5ed1d4a29f3c?d=identicon&s=25 Jonathan Matthews (Guest)
on 2013-10-10 13:04
(Received via mailing list)
On 10 Oct 2013 10:48, "nomad Bellcam" <damonswirled@hotmail.com> wrote:
> my question is this: does it make any sense at all to use unicorn as a
ruby cgi handler if i am not also using rails?

This is a perfectly sensible thing to consider doing; I do that myself
for
some sites.

However, this may not be the best forum on which to discuss it, as it is
not particularly related to nginx.

Jonathan
64406e971d0ae7ffa9defc7d50660162?d=identicon&s=25 nomad Bellcam (Guest)
on 2013-10-10 13:43
(Received via mailing list)
On 10 Oct 2013 10:48, "nomad Bellcam" <damonswirled@hotmail.com> wrote:

> my question is this: does it make any sense at all to use unicorn as a ruby cgi
handler if i am not also using rails?
This is a perfectly sensible thing to consider doing; I do that myself
for some sites.
However, this may not be the best forum on which to discuss it, as it is
not particularly related to nginx.
Jonathan
thanks jonathan,
i will try my luck on the unicorn list.
nomad.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.