diff options
| author | schneems <richard.schneeman@gmail.com> | 2016-02-26 08:22:24 -0600 | 
|---|---|---|
| committer | schneems <richard.schneeman@gmail.com> | 2016-02-26 08:22:24 -0600 | 
| commit | 8374b2fc852050cd26ddd91cf82e3d819a2b63ef (patch) | |
| tree | e3518871362c2408a79bc377d8a09e2b95ed5666 /railties/lib/rails/generators | |
| parent | 56ca2061df83a307943a0ffdfe6f5f4ed5846cf7 (diff) | |
| download | rails-8374b2fc852050cd26ddd91cf82e3d819a2b63ef.tar.gz rails-8374b2fc852050cd26ddd91cf82e3d819a2b63ef.tar.bz2 rails-8374b2fc852050cd26ddd91cf82e3d819a2b63ef.zip  | |
[close #23681] Use puma 3.0.0+ 
Puma 3.0 and up introduced compatibility to read from `config/puma.rb` when booting from the command `$ rails server`https://github.com/puma/puma/pull/856.
Diffstat (limited to 'railties/lib/rails/generators')
| -rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index ed4e73fb90..89341e6fa2 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -181,7 +181,7 @@ module Rails        def webserver_gemfile_entry          return [] if options[:skip_puma]          comment = 'Use Puma as the app server' -        GemfileEntry.new('puma', nil, comment) +        GemfileEntry.new('puma', '~> 3.0', comment)        end        def include_all_railties?  | 
