lib/rails/templates/03-expert.rb in elasticsearch-rails-7.0.0.pre vs lib/rails/templates/03-expert.rb in elasticsearch-rails-7.0.0
- old
+ new
@@ -32,10 +32,11 @@
begin
Redis.new.info
rescue Redis::CannotConnectError
puts
say_status "ERROR", "Redis not available", :red
- say_status "", "This template uses an asynchronous indexer via Sidekiq, and requires a running Redis server."
+ say_status "", "This template uses an asynchronous indexer via Sidekiq, and requires a running Redis server.
+ Make sure you have installed Redis (brew install redis) and that you have launched the server"
exit(1)
end
append_to_file 'README.md', <<-README