From 18dcf2a1214846eb51a188da41c439ed3e32a53e Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Wed, 21 Jul 2010 11:59:24 -0700 Subject: [PATCH] mention Rails 3 installation in README - closes #56 --- README.rdoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index 2eb3ef6..ec34660 100644 --- a/README.rdoc +++ b/README.rdoc @@ -9,10 +9,14 @@ This assumes you already have authentication (such as Authlogic[http://github.co == Installation -CanCan is provided as a gem. Simply include it in your environment.rb or Gemfile. +CanCan is provided as a gem. Simply include it in the environment.rb for Rails 2.3. config.gem "cancan" +Or the Gemfile in Rails 3. + + gem "cancan" + Alternatively it can be installed as a plugin. script/plugin install git://github.com/ryanb/cancan.git