Remove Rubygems deprecation warnings

Updated . Posted . 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
Besprechungs-PC
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)