unset_api_key!()
Remove the +~/.gem/credentials+ file to clear all the current sessions.
# File lib/rubygems/config_file.rb, line 342 def unset_api_key! return false unless File.exist?(credentials_path) File.delete(credentials_path) end