diff options
author | Teng Siong Ong <siong1987@gmail.com> | 2011-05-18 10:21:45 +0800 |
---|---|---|
committer | Teng Siong Ong <siong1987@gmail.com> | 2011-05-18 10:21:45 +0800 |
commit | da29e0bfc2fa83efaf12c9ad31f4b5005178c8a5 (patch) | |
tree | bc8f4b8a4bd57bc897f7714f7b564b8a2e6ba925 /railties/lib/rails/generators/app_base.rb | |
parent | ea306da4eb8943dca13197ad9880df18e45a13a4 (diff) | |
download | rails-da29e0bfc2fa83efaf12c9ad31f4b5005178c8a5.tar.gz rails-da29e0bfc2fa83efaf12c9ad31f4b5005178c8a5.tar.bz2 rails-da29e0bfc2fa83efaf12c9ad31f4b5005178c8a5.zip |
don't include 'turn' gem in Gemfile if test unit is skipped.
Diffstat (limited to 'railties/lib/rails/generators/app_base.rb')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index cf7e57d463..8512b1ca4a 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -173,7 +173,7 @@ module Rails end def gem_for_turn - unless RUBY_VERSION < "1.9.2" + unless RUBY_VERSION < "1.9.2" || options[:skip_test_unit] <<-GEMFILE.strip_heredoc group :test do # Pretty printed test output |