user3794052
user3794052

Reputation:

Disable warnings in Ruby - where to place

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

Answers (1)

Roman Kiselenko
Roman Kiselenko

Reputation: 44370

It's depend on the OS which you use, for Linux(and MacOS) and bash shell you can place it:

For windows read this.

Upvotes: 1

Related Questions