Skip to content

Commit

Permalink
add note about Gemfile groups to README
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Aug 12, 2010
1 parent 5c3aee9 commit 64c16fe
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 64c16fe

Please sign in to comment.