diff options
author | Stefan Lance <stefan@lances.net> | 2015-03-26 10:00:39 -0500 |
---|---|---|
committer | Stefan Lance <stefan@lances.net> | 2015-03-26 10:00:39 -0500 |
commit | 4555248659223a5d52fef989c0c696ffac4d60ab (patch) | |
tree | 61e26ee549a0621e0c89fb76ea1795bb88294d85 | |
parent | 50cf9f752f724241d0cb9db0d7fd7d898e545fa5 (diff) | |
download | bundler-4555248659223a5d52fef989c0c696ffac4d60ab.tar.gz |
Send bundle_ruby deprecation error to STDERR
-rwxr-xr-x | bin/bundle_ruby | 2 | ||||
-rw-r--r-- | spec/other/bundle_ruby_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/bundle_ruby b/bin/bundle_ruby index ca7cafc433..d0cfdc2778 100755 --- a/bin/bundle_ruby +++ b/bin/bundle_ruby @@ -41,7 +41,7 @@ module Bundler end end -puts "Warning: bundle_ruby will be deprecated in Bundler 2.0.0." +STDERR.puts "Warning: bundle_ruby will be deprecated in Bundler 2.0.0." dsl = Bundler::Dsl.new begin diff --git a/spec/other/bundle_ruby_spec.rb b/spec/other/bundle_ruby_spec.rb index 0c0f5076da..1f55ebd92d 100644 --- a/spec/other/bundle_ruby_spec.rb +++ b/spec/other/bundle_ruby_spec.rb @@ -12,8 +12,8 @@ describe "bundle_ruby" do bundle_ruby - expect(out).to include("Warning: bundle_ruby will be deprecated in " \ - "Bundler 2.0.0.") + expect(err).to eq("Warning: bundle_ruby will be deprecated in " \ + "Bundler 2.0.0.") end end |