diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-17 21:44:21 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-17 21:44:21 -0700 |
commit | 2692d3278a7b15699491f8c86b4180eaad9ce196 (patch) | |
tree | 480baaefd8ae164b0268507bbab4624ab91a037b /railties/lib/rails/generators | |
parent | c2105d3b2099324bb003df7a53a2b146236a7a4e (diff) | |
parent | da29e0bfc2fa83efaf12c9ad31f4b5005178c8a5 (diff) | |
download | rails-2692d3278a7b15699491f8c86b4180eaad9ce196.tar.gz rails-2692d3278a7b15699491f8c86b4180eaad9ce196.tar.bz2 rails-2692d3278a7b15699491f8c86b4180eaad9ce196.zip |
Merge pull request #1112 from FLOChip/turn
add test case for turn gem for testunit.
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index a5743762e5..8512b1ca4a 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -165,7 +165,7 @@ module Rails end def gem_for_ruby_debugger - if RUBY_VERSION < "1.9.2" + if RUBY_VERSION < "1.9" "gem 'ruby-debug'" else "gem 'ruby-debug19', :require => 'ruby-debug'" @@ -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 |