aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-02-10 00:22:42 +0100
committerXavier Noria <fxn@hashref.com>2016-02-10 00:45:19 +0100
commit00a5eb6aeb1277472da5fe9e7dd02d003c766b13 (patch)
tree444bccc9ddceb070661a24775dcf60930f98d6e1 /railties/lib/rails
parentde6ad5665d2679944a9ee9407826ba88395a1003 (diff)
downloadrails-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/Gemfile3
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 -%>