summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Arko <mail@arko.net>2015-03-26 11:18:19 -0700
committerAndré Arko <mail@arko.net>2015-03-26 11:18:19 -0700
commitaf5395784522f29587efdd5c8695fb57cc9817fc (patch)
treefb7f58bdee0061bdb25b1827e110bb0a96cbb837
parent376515122b75ca50b04ddcb1488d28067f2c3684 (diff)
parent4555248659223a5d52fef989c0c696ffac4d60ab (diff)
downloadbundler-af5395784522f29587efdd5c8695fb57cc9817fc.tar.gz
Merge pull request #3514 from smlance/1-99-dev
Send bundle_ruby deprecation error to STDERR
-rwxr-xr-xbin/bundle_ruby2
-rw-r--r--spec/other/bundle_ruby_spec.rb4
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