diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2014-12-22 13:31:30 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2014-12-22 13:31:30 -0700 |
commit | 569c674773144dd4087c2ca0b31fbedbc4caaf14 (patch) | |
tree | 5f58a5d02323f75e96011188483b1a5e4c866839 /railties/lib/rails/generators | |
parent | 32f30d22d54556577c1dc6d4852c6f4df6f27c62 (diff) | |
parent | 0bb73f03e495c6e2a358305a8ec6c65ca022dc19 (diff) | |
download | rails-569c674773144dd4087c2ca0b31fbedbc4caaf14.tar.gz rails-569c674773144dd4087c2ca0b31fbedbc4caaf14.tar.bz2 rails-569c674773144dd4087c2ca0b31fbedbc4caaf14.zip |
Merge pull request #18149 from arthurnn/byebug_on_mri
Only add debugger/byebug if on MRI
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/templates/Gemfile b/railties/lib/rails/generators/rails/plugin/templates/Gemfile index 35ad9fbf9e..ab8b8925eb 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/Gemfile +++ b/railties/lib/rails/generators/rails/plugin/templates/Gemfile @@ -37,7 +37,7 @@ end <% end -%> <% end -%> -<% unless defined?(JRUBY_VERSION) -%> +<% if RUBY_ENGINE == 'ruby' -%> # To use a debugger <%- if RUBY_VERSION < '2.0.0' -%> # gem 'debugger', group: [:development, :test] |