diff options
author | Xavier Noria <fxn@hashref.com> | 2016-02-10 00:22:42 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-02-10 00:45:19 +0100 |
commit | 00a5eb6aeb1277472da5fe9e7dd02d003c766b13 (patch) | |
tree | 444bccc9ddceb070661a24775dcf60930f98d6e1 /railties/lib/rails | |
parent | de6ad5665d2679944a9ee9407826ba88395a1003 (diff) | |
download | rails-00a5eb6aeb1277472da5fe9e7dd02d003c766b13.tar.gz rails-00a5eb6aeb1277472da5fe9e7dd02d003c766b13.tar.bz2 rails-00a5eb6aeb1277472da5fe9e7dd02d003c766b13.zip |
include spring-watcher-listen in the Gemfile of new applications
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index c816c9e7e0..c3fad31f23 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -44,6 +44,9 @@ group :development do <% if spring_install? -%> # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' +<% if os_supports_listen_out_of_the_box? -%> + gem 'spring-watcher-listen', '~> 2.0.0' +<% end -%> <% end -%> end <% end -%> |