diff options
author | Teng Siong Ong <siong1987@gmail.com> | 2011-05-18 10:08:34 +0800 |
---|---|---|
committer | Teng Siong Ong <siong1987@gmail.com> | 2011-05-18 10:08:34 +0800 |
commit | ea306da4eb8943dca13197ad9880df18e45a13a4 (patch) | |
tree | 3901edc5d732d6ec197a24b1c7ab508039dddef8 /railties/lib | |
parent | 5df9d0081bd9e624a143992c4f495bf80c96d7e5 (diff) | |
download | rails-ea306da4eb8943dca13197ad9880df18e45a13a4.tar.gz rails-ea306da4eb8943dca13197ad9880df18e45a13a4.tar.bz2 rails-ea306da4eb8943dca13197ad9880df18e45a13a4.zip |
add tests for ruby-debug gem in Gemfile and make sure that ruby-debug19 is used as long as RUBY_VERSION > '1.9'.
Diffstat (limited to 'railties/lib')
-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 a5743762e5..cf7e57d463 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'" |