Last Updated: February 25, 2016
·
354
· nisanth074

Quickly find elasticsearch version with tire gem

In a rails console, run

response = Tire::Configuration.client.get(Tire::Configuration.url)
version = JSON.parse(response.body)['version']
puts version