elastic / elasticsearch-rails

Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
Apache License 2.0
3.07k stars 793 forks source link

renamed docker image name in README #1046

Closed yoshi1011 closed 1 year ago

yoshi1011 commented 1 year ago

When building an Elasticsearch environment in Docker according to the usage, the following error occurs when generating the sample rails application.

rails runner 'Article.__elasticsearch__.create_index! force: true' from "."
/Users/username/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/elasticsearch-7.17.7/lib/elasticsearch.rb:86:in `verify_with_version_or_header': The client noticed that the server is not a supported distribution of Elasticsearch. (Elasticsearch::UnsupportedProductError)

This is because the elasticsearch-ruby gem no longer supports oss only distributions.

https://github.com/elastic/elasticsearch-ruby/issues/1429

To avoid unnecessary errors, we suggest changing the name of the Docker Image for testing, which is introduced in Usage.

version control software: asdf ruby version: 3.1.2

picandocodigo commented 1 year ago

Thanks for your contribution @yoshi1011!