Running a Ruby script over the Internet

I have a small Ruby script that I want to run by visiting a page in a browser. This may seem like a silly question, but in what easy way? I did not find very good documentation on how to get Ruby to work with Apache, so I am open to any suggestions at this point.

+3
source share
1 answer

I suggest Sinatra . As shown on this page, it is very lightweight and Apache is not even needed. Since you need more performance, you can use Nginx or Apache as a reverse proxy (quickly loading your static files) and something like Thin to make your application run faster.

Sinatra. , .

+4

Source: https://habr.com/ru/post/1788307/


All Articles