Chapter 2. Installing Plugins

Okay, now it’s time to get your hands dirty. Let’s spend a few minutes looking at how to install plugins from the Internet into your Rails application. There are two basic ways of installing plugins: with or without Subversion. This section describes both of these methods.

Installing Plugins with script/plugin

While there are certainly other means, using the script/plugin command is often the simplest and easiest way to find and install plugins. This script should be run from the root directory of the application you are developing. Before the intricate details, here is an example of script/plugin in action:

Get Rails Plugins: Extending Rails Beyond the Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.