Skip to content

Commit 460475d

Browse files
sk187estolfo
authored andcommitted
Update 03-expert.rb (#547)
Added to Redis::CannnotConnectError To help debug for those who do not have Redis installed / the server currently running.
1 parent ddebdef commit 460475d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elasticsearch-rails/lib/rails/templates/03-expert.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
rescue Redis::CannotConnectError
3535
puts
3636
say_status "ERROR", "Redis not available", :red
37-
say_status "", "This template uses an asynchronous indexer via Sidekiq, and requires a running Redis server."
37+
say_status "", "This template uses an asynchronous indexer via Sidekiq, and requires a running Redis server.
38+
Make sure you have installed Redis (brew install redis) and that you have launched the server"
3839
exit(1)
3940
end
4041

0 commit comments

Comments
 (0)