Skip to content

Commit

Permalink
Merge pull request #797 from Cirex/master
Browse files Browse the repository at this point in the history
Detecting Windows based hosts for ansi coloring
  • Loading branch information
nesquena committed Mar 2, 2012
2 parents be5759e + 9eb705a commit a35faf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-core/lib/padrino-core/support_lite.rb
Expand Up @@ -11,7 +11,7 @@
require 'active_support/inflector/inflections' # pluralize
require 'active_support/inflections' # load default inflections
require 'yaml' unless defined?(YAML) # load yaml for i18n
require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32/ # ruby color suppor for win
require 'win32console' if RUBY_PLATFORM =~ /(win|m)32/ # ruby color support for win

##
# This is an adapted version of active_support/core_ext/string/inflections.rb
Expand Down

0 comments on commit a35faf0

Please sign in to comment.