A
A
Anton Ivanov2016-02-21 23:38:23
ruby
Anton Ivanov, 2016-02-21 23:38:23

Is it possible to have one global ruby ​​handler?

Hello!
Nubian question, possibly incorrect in essence, but, nevertheless.
There is a task - to have several (dozens) small websites using ruby. I don’t really want to run sinatra for each site. Fence processing on rails - too (and rails capabilities are not needed there). Is it possible to configure nginx+ruby so that index.rb files are treated similarly to index.php? That is, to have one global interpreter.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Burmakin, 2016-02-22
@Freika

Static site generators might work for you. Middleman, Jekyll, try to use them.

S
sim3x, 2016-02-22
@sim3x

The global interpreter will swell and take up more than the sum of the individual
Teyuye needs uWSGI in Emperor mode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question