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

Discussion in 'Ruby' started by Asfand Yar Qazi, Mar 18, 2006.

  1. 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

    --
    To reply, take of all ZIGs !!

    Alternative email address:
    Asfand Yar Qazi, Mar 18, 2006
    #1
    1. Advertising

  2. Asfand Yar Qazi wrote:

    > 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

    --
    http://flgr.0x42.net/
    Florian Groß, Mar 19, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason Heyes
    Replies:
    3
    Views:
    2,117
    Gene Wirchenko
    Dec 9, 2003
  2. Grant Edwards

    How do I disable warnings?

    Grant Edwards, Sep 10, 2007, in forum: Python
    Replies:
    2
    Views:
    1,591
    Grant Edwards
    Sep 10, 2007
  3. Zia
    Replies:
    0
    Views:
    121
  4. Ted Sung
    Replies:
    1
    Views:
    307
    Sherm Pendley
    Aug 30, 2004
  5. Replies:
    4
    Views:
    191
    comp.llang.perl.moderated
    Mar 2, 2007
Loading...

Share This Page