There are two ways to create a WEBrick server. The first is when you are creating a new rails project.
The second is from the New WEBrick server wizard. Go to the File
menu and
select New...
You will see the dialog box in Figure 1.1:
Expand the Server folder and select WEBrick Server, then click Next
. You will see the
dialog shown in Figure 1.2:
The fields will be populated with appropriate default values. You can change them if you wish. Click Finish
, and
the WEBrick server should show up in the Servers
view.
Now that you have a WEBrick server created, it's time to use it. You can control it from the Servers view as shows in Figure 1.3:
The green arrow starts the server, and the red box stops it. The page button brings up a dialog where you can edit the properties of the server, such as name and runtime environment. The red X will delete the server. The globe button will launch the web browser. If your server is currently stopped, RadRails will prompt you to start the server before opening the browser.