I have found this code in stack overflow to do Azimuthal equidistant projection and create a buffer polygon in Python.
aeqd_proj = '+proj=aeqd +lat_0={lat} +lon_0={lon} +x_0=0 +y_0=0'
project = partial(
pyproj.transform,
pyproj.Proj(aeqd_proj.format(lat=lat, lon=lon)),
pyproj.Proj(4326))
buf = Point(0, 0).buffer(km * 1000) # distance in metres
return transform(project, buf).exterior.coords[:]
Can someone please point out any libraries/indicators on how to do this Ruby? lat, lng are latitude and longitude co-ordinates and km is the distance in km from the lat, lng co-ordinates for which the projection has to be done.