Browse files

Updated install section in the Readme file.

  • Loading branch information...
abenari committed Aug 4, 2011
1 parent 0f0cc82 commit 3e2323d27a56f8e7fa1459256135c1ce325a8913
Showing with 5 additions and 8 deletions.
  1. +5 −8 README.rdoc
@@ -15,21 +15,18 @@ A demo application using the scoped search can be found here:
A running version of the demo application can be found here:
== Installing
+For a Rails 3 application add the following line in your Gemfile, and run <tt>bundle install</tt>:
-The recommended method to enable scoped search in your project is adding the
-scoped_search gem to your environment. Add the following code to your Rails
-configuration in <tt>config/environment.rb</tt>, and run <tt>rake
-gems:install</tt> to install the gem.:
+ gem "scoped_search"
+For Rails 2 Add the following code to your Rails configuration in <tt>config/environment.rb</tt>,
+and run <tt>rake gems:install</tt> to install the gem.: do |config|
config.gem 'scoped_search'
-Alternatively, install scoped search as a Rails plugin (*deprecated*):
- script/plugin install git://
== Usage
Scoped search requires you to define the fields you want to search in:

0 comments on commit 3e2323d

Please sign in to comment.