Reputation:
I'm using Ruby -v 2.2.4 currently and don't want to upgrade to 2.3.1 for compatibility purposes. However, I'm now getting hit with these warning messages.
RubyDep: WARNING: Your Ruby is outdated/buggy.
(To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1)
Where do I place that code?
--> set RUBY_DEP_GEM_SILENCE_WARNINGS=1)
Upvotes: 2
Views: 1163
Reputation: 44370
It's depend on the OS which you use, for Linux(and MacOS) and bash shell you can place it:
Bash shell
$user: RUBY_DEP_GEM_SILENCE_WARNINGS=1 irb
Export as env variable
Upvotes: 1