module Bundler::Thor::Base

def shell


it will use a colored log, otherwise it will use a basic one without color.
Returns the shell used in all Bundler::Thor classes. If you are in a Unix platform
def shell
  @shell ||= if ENV["THOR_SHELL"] && ENV["THOR_SHELL"].size > 0
    Bundler::Thor::Shell.const_get(ENV["THOR_SHELL"])
  elsif RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ && !ENV["ANSICON"]
    Bundler::Thor::Shell::Basic
  else
    Bundler::Thor::Shell::Color
  end
end