From e25435e1e5f14193f8781d393ca592f10fec5703 Mon Sep 17 00:00:00 2001 From: Stefan Kroes Date: Tue, 26 Oct 2010 08:38:22 +0200 Subject: [PATCH] Changed README on installation --- README.rdoc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.rdoc b/README.rdoc index fb624258..fedb9062 100644 --- a/README.rdoc +++ b/README.rdoc @@ -6,14 +6,13 @@ Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord To apply Ancestry to any ActiveRecord model, follow these simple steps: -1. Install gem - - Install gemcutter gem: sudo gem install gemcutter (maybe you need: gem update --system) - - Add gemcutter.org as default gem source: gem tumble - - Add to config/environment.rb: config.gem 'ancestry' - - Install required gems: sudo rake gems:install - - Alternatively: sudo gem install ancestry - - If you don't want gemcutter: config.gem 'ancestry', :source => 'gemcutter.org' - - Alternatively: sudo gem install ancestry --source gemcutter.org +1. Install + - Rails 2 + - Add to config/environment.rb: config.gem 'ancestry' + - Install required gems: sudo rake gems:install + - Rails 3 + - Add to Gemfile: gem 'ancestry' + - Install required gems: bundle install 2. Add ancestry column to your table - Create migration: ./script/generate migration add_ancestry_to_[table] ancestry:string