Sha256: 61573bdb22026391727132df5bbe6882f3dd657c1aa4c839dd84b5b6efe1372c
Contents?: true
Size: 513 Bytes
Versions: 7
Compression:
Stored size: 513 Bytes
Contents
if (cable_config_path = Rails.root.join("config/cable.yml")).exist? say "Enable redis in bundle" uncomment_lines "Gemfile", %(gem 'redis') say "Switch development cable to use redis" gsub_file cable_config_path.to_s, /development:\n\s+adapter: async/, "development:\n adapter: redis\n url: redis://localhost:6379/1" else say 'ActionCable config file (config/cable.yml) is missing. Uncomment "gem \'redis\'" in your Gemfile and create config/cable.yml to use the Turbo Streams broadcast feature.' end
Version data entries
7 entries across 7 versions & 1 rubygems