Remove Rubygems deprecation warnings

Posted About 10 years ago. Visible to the public.

Rubygems can produce lots of deprecation warnings, but sometimes, you cannot fix them. To have a tidy terminal with output that matters, add this to the top of your Gemfile and enjoy silence:

Deprecate.skip = true if defined?(Deprecate.skip)
Gem::Deprecate.skip = true if defined?(Gem::Deprecate.skip)

# all gems go here ...

( Inspiration Show archive.org snapshot )

Dominik Schöler
Last edit
Over 8 years ago
Deleted user #20
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra dev (2014-04-30 10:28)