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.
上级 5e5fd246
......@@ -352,9 +352,9 @@ def psych_gemfile_entry
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册