diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-22 13:43:58 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-22 13:43:58 -0700 |
commit | 9fff631a06d72e3b9d7a89b9c8f45b9accf69859 (patch) | |
tree | 0b582defdb603d388f3faa9f96fa47e9ee9b8d83 /railties/lib/rails/generators/rails | |
parent | 569c674773144dd4087c2ca0b31fbedbc4caaf14 (diff) | |
download | rails-9fff631a06d72e3b9d7a89b9c8f45b9accf69859.tar.gz rails-9fff631a06d72e3b9d7a89b9c8f45b9accf69859.tar.bz2 rails-9fff631a06d72e3b9d7a89b9c8f45b9accf69859.zip |
Skip byebug on all non-MRI rubies, fix tests
The changes in #18149 added tests for the app generator, but only fixed
it for the plugin generator (I should have let CI finish though I think
it would have failed as an allowed failure).
Diffstat (limited to 'railties/lib/rails/generators/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index c5bd98a30e..ecaec618dc 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -22,7 +22,7 @@ source 'https://rubygems.org' # gem 'capistrano-rails', group: :development group :development, :test do -<% unless defined?(JRUBY_VERSION) -%> +<% if RUBY_ENGINE == 'ruby' -%> <%- if RUBY_VERSION < '2.0.0' -%> # Call 'debugger' anywhere in the code to stop execution and get a debugger console gem 'debugger' |