O'Reilly logo

Rails Plugins: Extending Rails Beyond the Core by James Adam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

$ cd /Users/james/rails_app ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required