mention Rails 3 installation in README - closes #56

This commit is contained in:
Ryan Bates 2010-07-21 11:59:24 -07:00
parent 9b26f4d767
commit 18dcf2a121

View File

@ -9,10 +9,14 @@ This assumes you already have authentication (such as Authlogic[http://github.co
== Installation == 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" config.gem "cancan"
Or the Gemfile in Rails 3.
gem "cancan"
Alternatively it can be installed as a plugin. Alternatively it can be installed as a plugin.
script/plugin install git://github.com/ryanb/cancan.git script/plugin install git://github.com/ryanb/cancan.git