Webrick Server Download For Windows

How can you run WEBrick servers in the background as a Windows service? I tried following the advice in this post, but I am using Rails 3, and couldn't come up with an equivalent to C:RUBYAPPscriptserver -e production, since the server directory doesn't exist in Rails 3 anymore. Any help?

Webrick Server Download For Windows

WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, Versions: 1.4.2 - December 24, 2017 (53.5 KB). Homepage Documentation Download Badge Subscribe RSS Report Abuse Reverse dependencies. Install & Configure Apache, PHP, JSP, Ruby on Rails, MySQL, PHPMyAdmin & WordPress on Windows XP/2000 Install Ruby on Rails Prerequisites Ruby. Download the “One.

Download Icloud For Windows

Community
aguazalesaguazales

1 Answer

I have never seen WEBrick used in Windows services but a workaround could be running the web server as a background job. This is how you would do it:

You'll need a bat file with the 2 instructions to start the web server:

  • cd to_your_absolute_app_path
  • rails s

Then you'll need to convert that bat file to an exe file. Check this for a free tool. I know the tool exists for 32 and 64 bits, you might need to look around for the right one.

When you create the exe make sure to select it to run as an invisible app.

Then you put the exe in the start up folder. That should do it.

Webrick Server Download For Windows 11

pepepepe

Webrick Server Download For Windows 7

Webrick Server Download For Windows

Teamviewer

Not the answer you're looking for? Browse other questions tagged ruby-on-railsruby-on-rails-3webrick or ask your own question.