aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-02-04 12:16:57 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-02-04 12:16:57 +0100
commit91864439c7aebb6ca710831aac6781903a433904 (patch)
treebe809bb23e0a2589067a7aa9be6ffad1fc45ab33 /railties/lib
parent5e5fd246d5852b1c49dfdb8e635fb2e2c6ae8e55 (diff)
downloadrails-91864439c7aebb6ca710831aac6781903a433904.tar.gz
rails-91864439c7aebb6ca710831aac6781903a433904.tar.bz2
rails-91864439c7aebb6ca710831aac6781903a433904.zip
Redis is now only needed if you want to use Action Cable in production
So no need to have it on by default in the Gemfile.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/app_base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index 8bc7dd63f9..8522f5196b 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -352,9 +352,9 @@ module Rails
def cable_gemfile_entry
return [] if options[:skip_action_cable]
- comment = 'Action Cable dependencies for the Redis adapter'
+ comment = 'Use Redis adapter to run Action Cable in production'
gems = []
- gems << GemfileEntry.new("redis", '~> 3.0', comment)
+ gems << GemfileEntry.new("redis", '~> 3.0', comment, {}, true)
gems
end