Is there an easy to configure ruby ​​web server for Windows?

Is there an easy to configure ruby ​​web server for Windows?

I hope to find a web server that can be easily configured to work with Ruby on Rails or Sinatra.

Does anyone know anything?

+7
source share
3 answers

I use Sinatra + Thin on Windows, sometimes behind Apache or Nginx as a reverse proxy (to speed up the flow of static files and create a pool of 2-4 server instances). The speed is not as good as on Ubuntu with similar (or less) hardware, but at work I have to use certain servers dedicated to me.

To use Thin with Sinatra, just install Thin and Sinatra will use it. If you need further help configuring Apache or Nginx, write more questions (after searching the Internet, of course).

+3
source

If you want it easy, stay with WEBrick.

If you want to create a production server, go to Apache + Passenger . But it will not be as simple as using WEBrick.

+2
source

This may not be the answer, but you want to: http://rubyinstaller.org/ . Installation is simple - follow the installation instructions for the rails.

The second step is to enable / configure the port / application in the firewall. Since the ruby ​​server runs on port 3000, and http runs on port 80.

BUT this RoR environment is designed to be developed, so don't expect high performance.

0
source

All Articles