diff options
author | José Valim <jose.valim@gmail.com> | 2011-09-04 01:47:10 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-09-04 01:47:10 -0700 |
commit | 98c3fd87e2879ab2fb9c8cd31afacae5e7110325 (patch) | |
tree | a7966a80b1c8b61987c64d75013e5b852fd06dd6 /railties/guides/source/generators.textile | |
parent | 036a25019d79565a6016cb60c520816916bb7de6 (diff) | |
parent | 47bc5d0cc8dec79c0c64ade7d453b60f846424a9 (diff) | |
download | rails-98c3fd87e2879ab2fb9c8cd31afacae5e7110325.tar.gz rails-98c3fd87e2879ab2fb9c8cd31afacae5e7110325.tar.bz2 rails-98c3fd87e2879ab2fb9c8cd31afacae5e7110325.zip |
Merge pull request #2841 from wojtekmach/app-generators-group
Add gem group support to generators
Diffstat (limited to 'railties/guides/source/generators.textile')
-rw-r--r-- | railties/guides/source/generators.textile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile index 2fa1d6e21d..3f990ef54b 100644 --- a/railties/guides/source/generators.textile +++ b/railties/guides/source/generators.textile @@ -449,6 +449,15 @@ The above code will put the following line into +Gemfile+: gem "devise", :git => "git://github.com/plataformatec/devise", :branch => "master" </ruby> +h4. +gem_group+ + +Wraps gem entries inside a group: + +<ruby> +gem_group :development, :test do + gem "rspec-rails" +end +</ruby> h4. +add_source+ |