ruby 1.8.4 gives warnings where ruby 1.8.2 doesn't - how to disable?

A

Asfand Yar Qazi

Hi,

How do I disable warning output in Ruby? The servers at work use ruby 1.8.2,
which gives no warning when running some rake / rails scripts. If I rsync /
copy those scripts to my ruby 1.8.4 machine and run them there, I get loads of
warnings.

I don't want to downgrade my beloved Ruby, can anyone tell me how I can simply
disable those warnings at run-time?

Thanks
 
F

Florian Groß

Asfand said:
I don't want to downgrade my beloved Ruby, can anyone tell me how I can
simply disable those warnings at run-time?

$VERBOSE = nil ought to do it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top