Permalink
Browse files

Changed README on installation

  • Loading branch information...
1 parent bb6d920 commit e25435e1e5f14193f8781d393ca592f10fec5703 @stefankroes stefankroes committed Oct 26, 2010
Showing with 7 additions and 8 deletions.
  1. +7 −8 README.rdoc
View
@@ -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: <b>sudo gem install gemcutter</b> (maybe you need: gem update --system)
- - Add gemcutter.org as default gem source: <b>gem tumble</b>
- - Add to config/environment.rb: <b>config.gem 'ancestry'</b>
- - Install required gems: <b>sudo rake gems:install</b>
- - 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
+ - <b>Rails 2</b>
+ - Add to config/environment.rb: <b>config.gem 'ancestry'</b>
+ - Install required gems: <b>sudo rake gems:install</b>
+ - <b>Rails 3</b>
+ - Add to Gemfile: <b>gem 'ancestry'</b>
+ - Install required gems: <b>bundle install</b>
2. Add ancestry column to your table
- Create migration: <b>./script/generate migration add_ancestry_to_[table] ancestry:string</b>

0 comments on commit e25435e

Please sign in to comment.