The famous Ruby geocoding library is now supporting Ipregistry:

https://github.com/alexreisner/geocoder

Until we provide an official Ruby library, we strongly recommend this great library for your Ruby developments.