# Using the Rake Tasks View [edit]

This page explains how to use the Rake Tasks View in RadRails.

## Introduction

Use the Rake Tasks View to invoke Rake tasks for your Rails projects.

## Instructions

You can run rake tasks either using the Rake Tasks View or from the Rake Tasks context menu.

### Displaying the Rake Tasks View

To use the Rake Tasks View:

1. If you have not used the Rake Tasks View before, you will need to specify your Rake path in your preferences:
   1. From the Window menu, select Preferences... and in the tree in the left pane, expand Rails > Configuration.
   2. In the Rake path field, browse to your Rake path.
   3. Click OK.
2. In the upper right corner of the Rake Tasks view, click the Refresh button to refresh the list of Rake tasks.
3. Select a Rake task from the list on the left.

   When you select a Rake task, the large text box on the right displays a description of the task (shown below).

4. In the upper text box on the right, type any parameters for your Rake task.
5. Click the Go button to invoke the task.

### Using the Rake Tasks context menu

As of the RadRails 1.0 release, you can run rake tasks on a ruby project by right-clicking within the project in the Ruby Explorer view and navigating the Rake context menu (shown below). The context menu offers a faster way of running rake tasks than using the Rake Tasks view. Within the context menu, Rake Tasks are sorted alphabetically, and namespaces appear as submenus.

## Related Topics

- Using RadRails Views
- Using the RadRails Console View
- Using the Servers View
- Using the Rails Plugins View
- Using the Rails Plugins View
- Using the RegExp View

Retrieved from "http://aptana.com/docs/index.php/Using_the_Rake_Tasks_View"

Categories: AptanaHelp | RadRails