Is there a way to simply send a erb file to a ruby parser get the answer back and send it to client with NGINX? Without all the passenger stuff? It should be easy i guess. I DON'T want to use any rails stuff, don't tell me i should use rails etc.
Asked
Active
Viewed 1,057 times
3 Answers
4
I created a script to do this two years ago, called ruby-cgi, in response to a similar question. I believe it does exacty what you want. Just set it up the same way you would set up other CGI/FastCGI handlers.

Community
- 1
- 1

sarahhodne
- 9,796
- 3
- 39
- 44
2

lulalala
- 17,572
- 15
- 110
- 169
-
Thanks! It was exactly what I was looking for! Yes logic in the View is wrong, but sometime you just need to fire away some Ruby to the world ! :) – Redoman Oct 04 '15 at 20:20