diff options
author | Xavier Noria <fxn@hashref.com> | 2019-02-11 12:44:25 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2019-02-12 02:28:04 -0800 |
commit | 821d6c694cd305b7792b96d6ebc1c15ca235cf3e (patch) | |
tree | cb72d427f1744ad5a5c7dc901cb53db63c94a591 /railties/lib/rails/generators | |
parent | ad3cbc2452e8150542ecb539925396361f12534c (diff) | |
download | rails-821d6c694cd305b7792b96d6ebc1c15ca235cf3e.tar.gz rails-821d6c694cd305b7792b96d6ebc1c15ca235cf3e.tar.bz2 rails-821d6c694cd305b7792b96d6ebc1c15ca235cf3e.zip |
Zeitwerk integration
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile.tt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt index d39b5d311f..a1f1224a45 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt @@ -28,7 +28,7 @@ ruby <%= "'#{RUBY_VERSION}'" -%> <% if depend_on_bootsnap? -%> # Reduces boot times through caching; required in config/boot.rb -gem 'bootsnap', '>= 1.1.0', require: false +gem 'bootsnap', '>= 1.4.0', require: false <%- end -%> <%- if options.api? -%> @@ -36,7 +36,9 @@ gem 'bootsnap', '>= 1.1.0', require: false # gem 'rack-cors' <%- end -%> -<% if RUBY_ENGINE == 'ruby' -%> +<% if RUBY_ENGINE == "ruby" -%> +gem "zeitwerk", ">= 1.0.0" + group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] |