diff --git a/Gemfile b/Gemfile index 2f446c95..f2d5fead 100644 --- a/Gemfile +++ b/Gemfile @@ -18,3 +18,5 @@ else end gemspec + +ruby "1.9.0" diff --git a/README.rdoc b/README.rdoc index 9b3baf8d..732388f1 100644 --- a/README.rdoc +++ b/README.rdoc @@ -10,6 +10,13 @@ CanCan is an authorization library for Ruby on Rails which restricts what resour == Installation +In Rails 4, add this to your Gemfile and run the +bundle+ command. + + gem "cancan" + +Alternatively, you can install it using: + gem install cancan + In Rails 3, add this to your Gemfile and run the +bundle+ command. gem "cancan"