S
Suraj Kurapati
Hello,
It pains me to see Ruby warnings originating from code in the standard
Ruby distribution. It seems some developers of the Ruby standard
libraries do not run Ruby with the "-w" option (or do not set their
RUBYOPT environment variable to "-w").
So let us bring these atrocities(!) to their attention by posting (to
this thread) any warnings we see originating from the Ruby 1.9.0 code
base.
To start us off, here are some warnings I see when running irb 1.9.0:
$ irb
/lib/ruby/1.9.0/irb/context.rb:167: warning: method redefined;
discarding old irb_name
/lib/ruby/1.9.0/irb/completion.rb:165: warning: shadowing outer local
variable - m
/lib/ruby/1.9.0/irb/ext/save-history.rb:32: warning: method redefined;
discarding old save_history=
Thanks for your consideration.
It pains me to see Ruby warnings originating from code in the standard
Ruby distribution. It seems some developers of the Ruby standard
libraries do not run Ruby with the "-w" option (or do not set their
RUBYOPT environment variable to "-w").
So let us bring these atrocities(!) to their attention by posting (to
this thread) any warnings we see originating from the Ruby 1.9.0 code
base.
To start us off, here are some warnings I see when running irb 1.9.0:
$ irb
/lib/ruby/1.9.0/irb/context.rb:167: warning: method redefined;
discarding old irb_name
/lib/ruby/1.9.0/irb/completion.rb:165: warning: shadowing outer local
variable - m
/lib/ruby/1.9.0/irb/ext/save-history.rb:32: warning: method redefined;
discarding old save_history=
=> "-w"RUBY_VERSION => "1.9.0"
ENV['RUBYOPT']
Thanks for your consideration.