Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby 1.8.4 gives warnings where ruby 1.8.2 doesn't - how to disable?

Reply
Thread Tools

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

 
 
Asfand Yar Qazi
Guest
Posts: n/a
 
      03-18-2006
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: http://www.velocityreviews.com/forums/(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Florian Groß
Guest
Posts: n/a
 
      03-19-2006
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/



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
New Ruby Site Launches; Gives Ruby Inside Thumbs Up vasudevram Ruby 1 09-23-2006 08:07 PM
use warnings; and use Warnings; give different results Ted Sung Perl Misc 1 08-30-2004 10:22 PM
Ruby Warnings Chris Pine Ruby 2 02-12-2004 05:18 PM
WindowsForm control gives security warnings under IE Zia ASP .Net Security 0 07-18-2003 08:53 PM



Advertisments