diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-04-08 09:40:33 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-04-08 09:40:33 -0700 |
commit | bd79172e430ffd8c60154d5d98a2d5ea0c93743b (patch) | |
tree | 6861b21f5ed4f4e6139254145f1af178165b8fe7 /railties/lib/rails/generators | |
parent | 2cdc1f0cd5b89722e8c22bb4b26b83bd4619b28a (diff) | |
download | rails-bd79172e430ffd8c60154d5d98a2d5ea0c93743b.tar.gz rails-bd79172e430ffd8c60154d5d98a2d5ea0c93743b.tar.bz2 rails-bd79172e430ffd8c60154d5d98a2d5ea0c93743b.zip |
make turn a soft dependency. generate a Gemfile that contains turn and require turn if it is available
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index c383d4842f..61daefef90 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -23,9 +23,13 @@ source 'http://rubygems.org' # Bundle gems for the local environment. Make sure to # put test-only gems in this group so their generators # and rake tasks are available in development mode: -# group :development, :test do -# gem 'webrat' -# end + +group :development, :test do + # Depend "turn" for pretty printing test output, but disable autorequire. + gem 'turn', :require => false + + # gem 'webrat' +end # Needed for guides generation # gem "RedCloth", "~> 4.2" |