Permalink
Browse files

add note about Gemfile groups to README

  • Loading branch information...
1 parent 5c3aee9 commit 64c16fe25a45e8ca1bfe312e25deb81860fa1723 @dchelimsky dchelimsky committed Aug 12, 2010
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.markdown
View
@@ -20,9 +20,14 @@ This installs the following gems:
Add this line to the Gemfile:
- gem "rspec-rails", ">= 2.0.0.beta.17"
+ group :test, :development do
+ gem "rspec-rails", ">= 2.0.0.beta.17"
+ end
+
+It needs to be in the `:development` group to expose generators and rake
+tasks without having to type `RAILS_ENV=test`.
-This will expose generators, including rspec:install. Now you can run:
+Now you can run:
script/rails g rspec:install

0 comments on commit 64c16fe

Please sign in to comment.