RubyGems 3.1 deprecation warning workaround

02 Jan 2020

Warning message

Gem::Specification#rubyforge_project= called from /bundle/specifications/letter_opener-1.6.0.gemspec:16.

Workaround

% ruby -e 'Gem::Specification.map(&:name).uniq.each {|spec_name| puts "* gem pristine #{spec_name}"; `gem pristine #{spec_name}`}'

Ref