Skip to content

Commit

Permalink
Merge pull request #15054 from himdel/override-stderr
Browse files Browse the repository at this point in the history
override_gem - warn on stderr, not stdout
  • Loading branch information
jrafanie authored May 10, 2017
2 parents 9e5df30 + 37c3102 commit 3ef9d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def override_gem(name, *args)

calling_file = caller_locations.detect { |loc| !loc.path.include?("lib/bundler") }.path
gem(name, *args).tap do
Bundler::UI::Shell.new.warn "** override_gem: #{name}, #{args.inspect}, caller: #{calling_file}" unless ENV["RAILS_ENV"] == "production"
warn "** override_gem: #{name}, #{args.inspect}, caller: #{calling_file}" unless ENV["RAILS_ENV"] == "production"
end
end
end
Expand Down

0 comments on commit 3ef9d79

Please sign in to comment.