Last Updated: February 25, 2016
·
351
· 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