Aptana Studioヘルプ > はじめに > Developing Rails Projects with RadRails > Starting a new RadRails project

Creating and running a WEBrick server

This page explains how to create and run a WEBrick server in RadRails.

Contents

Introduction

You can create your new WEBrick server either when you create a Rails project or after you create the project. Use the Servers View to control your WEBbrick server.

Instructions

Creating a WEBrick server

You can create a WEBrick server when you initially create your Rails project (see Starting a new RadRails project), or you can create one afterwards. To create a WEBrick server after you have created a RadRails project:

  1. In the Rails Navigator View, right-click your project and select New > Rails Server from the context menu to open a New Rails Server window.
  2. In the Project field, type the name of your project (if it is different from the default value).
  3. Select "WEBrick" from the Type menu
  4. In the Name field, type a name for your server (if different from the default value).
  5. In the Port field, type the port number for your server (if different from the default).
  6. Click the Finish button to create your server.

Running a WEBrick server

To run a WEBrick server:

  1. In the lower portion of your workbench, click the Servers tab to access the Servers View.
  2. In the Servers View, select your server.
  3. Click the Start button Image:iconStart.png to start your server.
  4. Click the Stop button Image:iconStop.png to stop your server.

The Servers View also gives you the following options:

Related Topics