Installation Add this line to your application's Gemfile: gem 'distance_calculator' And then execute: $ bundle Or install it yourself as: $ gem install distance_calculator License The gem is available as open source under the terms of the MIT License.