1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/bundler/ui
David Rodríguez 580e165873
[bundler/bundler] Respect color option when instantiating shells
Thor's base shell will be memoized the first time it is set. So if we
instantiate a no-color shell first, further instantiations of a bundler
shell will be initialized with a no-color shell by default. This is
caused some sources specs to fail, depending on the order they run.

See for example https://travis-ci.org/bundler/bundler/builds/500328994.

What we do to fix it is to reset the shell unless no-color is explicitly
specified. That way, further instantiations will rerun thor's internal
logic to choose the default shell.

https://github.com/bundler/bundler/commit/786b5d9894
2019-08-03 09:29:55 +09:00
..
rg_proxy.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
shell.rb [bundler/bundler] Respect color option when instantiating shells 2019-08-03 09:29:55 +09:00
silent.rb