Ruby Rake - Running Ruby -w by default?
<p>When I try and run some basic unit tests on ruby using rake, it appears to turn debugging up on the ruby interpreter. This ends up with me seeing a ton of warning messages in STDOUT. I'm not sure why this is happening and if it should be?</p>

<pre><code>D:\dev\git_repos\app_folder&gt;ruby -v
ruby 2.0.0p647 (2015-08-18) [i386-mingw32]

D:\dev\git_repos\app_folder&gt;rake test TEST=test/midrange_portal_test.rb
</code></pre>

<p>like 4 pages of warnings</p>

<p>output which leads me to believe debugging is turned up:</p>

<pre><code>Command failed with status (2): [ruby -w -I"lib;test" -
I"D:/apps/Ruby200/lib/ruby/gems/2.0.0/gems/rake-11.1.2/lib" 
"D:/apps/Ruby200/lib/ruby/gems/2.0.0/gems/rake-11.1.2/lib/rake/rake_test_loader.rb" "test/midrange_portal_test.rb" ]

D:\dev\git_repos\app_folder&gt;gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.14.1
  - RUBY VERSION: 2.0.0 (2015-08-18 patchlevel 647) [i386-mingw32]
  - INSTALLATION DIRECTORY: D:/apps/Ruby200/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: D:/apps/Ruby200/bin/ruby.exe
  - EXECUTABLE DIRECTORY: D:/apps/Ruby200/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - D:/apps/Ruby200/lib/ruby/gems/2.0.0
     - H:/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources =&gt; true
     - :verbose =&gt; true
     - :backtrace =&gt; false
     - :bulk_threshold =&gt; 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
</code></pre>

<p>Notice how the command is "ruby -w". I don't know why it defaults to this level of debugging? Any help would be greatly appreciated as I'm quite stumped.</p>