1

The gem command (version 1.8.1 and probably 1.8.0) spews out a tonne of deprecation notices on every invocation. It is painful to page through a screen of warnings to look at test output.

Is there an easy way to hide deprecation notices ? Especially the warning :

NOTE: Gem::Specification#default_executable= is deprecated with no replacement.
Ivar
  • 5,102
  • 2
  • 31
  • 43

1 Answers1

5

If you're using RVM, the following command will fix it:

rvm rubygems current

charmae
  • 1,080
  • 14
  • 38