The standard upgrade procedure requires you to install the newer version via RubyGems.
$ gem install whois
This library is versioned using the rules of Semantic Versioning.
The CHANGELOG file contains a detailed list of all the changes, grouped by version.
Copyright (c) 2009-2015 Simone Carletti.
This is Free Software distributed under the MIT license.