Skip to content

Commit

Permalink
Updated install section in the Readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
abenari committed Aug 4, 2011
1 parent 0f0cc82 commit 3e2323d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.rdoc
Expand Up @@ -15,21 +15,18 @@ A demo application using the scoped search can be found here: http://github.com/
A running version of the demo application can be found here: http://scope-search-demo.heroku.com

== 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.:

Rails::Initializer.run do |config|
...
config.gem 'scoped_search'
end

Alternatively, install scoped search as a Rails plugin (*deprecated*):

script/plugin install git://github.com/wvanbergen/scoped_search.git

== Usage

Scoped search requires you to define the fields you want to search in:
Expand Down

0 comments on commit 3e2323d

Please sign in to comment.