diff options
author | Wojciech Mach <wojtek@wojtekmach.pl> | 2011-09-04 10:14:53 +0200 |
---|---|---|
committer | Wojciech Mach <wojtek@wojtekmach.pl> | 2011-09-04 10:32:48 +0200 |
commit | 47bc5d0cc8dec79c0c64ade7d453b60f846424a9 (patch) | |
tree | 4bd0b6f94f25f40094f31b9ee64719867e820401 /railties/guides/source/generators.textile | |
parent | 9da07d1b0166950dbdc7cc6e62751f7cabacb38b (diff) | |
download | rails-47bc5d0cc8dec79c0c64ade7d453b60f846424a9.tar.gz rails-47bc5d0cc8dec79c0c64ade7d453b60f846424a9.tar.bz2 rails-47bc5d0cc8dec79c0c64ade7d453b60f846424a9.zip |
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+ |