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
Written by Nisanth
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#