# What ruby gem version should I use with ES 7.17.x

**URL:** <https://discuss.elastic.co/t/what-ruby-gem-version-should-i-use-with-es-7-17-x/324190>\
**Category:** Elasticsearch\
**Created:** [January 30, 2023, 3:51am UTC](https://discuss.elastic.co/t/what-ruby-gem-version-should-i-use-with-es-7-17-x/324190 "2023-01-30T03:51:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Post date:** [January 30, 2023, 3:51am UTC](https://discuss.elastic.co/t/what-ruby-gem-version-should-i-use-with-es-7-17-x/324190/1 "2023-01-30T03:51:00Z")

</div>

I have just brought up a new linux VM to run an application that talks ES 7 but I can not find any gems for version 7. The latest (8.6.0) says that the server is not running ES : (. Presumably it only works with ES 8.x

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 30, 2023, 4:52am UTC](https://discuss.elastic.co/t/what-ruby-gem-version-should-i-use-with-es-7-17-x/324190/2 "2023-01-30T04:52:25Z")

</div>

Hi @Russell_Fulton I am probably _ **the** _ last person that should speak to Ruby but...

Are you talking about the [ruby client](https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.17/ruby-install.html)?

Did you try...

`gem install elasticsearch -v 7.17.7`

---

<div class="post-metadata">

**Author:** ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Post date:** [January 30, 2023, 11:47pm UTC](https://discuss.elastic.co/t/what-ruby-gem-version-should-i-use-with-es-7-17-x/324190/3 "2023-01-30T23:47:37Z")

</div>

That works! But I could not find which was the version I should be asking for!

I did try 7.17 which is the last 7.x branch on github

I guess I should have known that there would be 3 levels!

For some reason the gem metadata seems to be missing for the version 7 family:

```auto
rful011@secmonprd13:~$ sudo gem list elasticsearch --remote | grep '^elasticsearch ' 
elasticsearch (8.6.0)

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 27, 2023, 11:47pm UTC](https://discuss.elastic.co/t/what-ruby-gem-version-should-i-use-with-es-7-17-x/324190/4 "2023-02-27T23:47:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
