[Font-related] Upgraded to MacOS Monterty 12.0.1, cannot view icon
frank-yf opened this issue · 2 comments
frank-yf commented
For upgraded that new os, i got an error:Ignoring clocale-0.0.4 because its extensions are not built. Try: gem pristine clocale --version 0.0.4
.
Input shell to terminal colorls --group-directories-first
got an error:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'clocale' (~> 0) among 56 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/frank/.gem/ruby/2.6.0:/Library/Ruby/Gems/2.6.0:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0', execute `gem env` for more information
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1449:in `block in activate_dependencies'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `activate_dependencies'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1420:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:304:in `block in activate_bin_path'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `synchronize'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `activate_bin_path'
from /usr/local/bin/colorls:23:in `<main>'
Solved it error this way
avdv commented
What is the output of locale
? You should use a locale capable of displaying Unicode characters for the LC_CTYPE
category.
frank-yf commented
locale
output zh_CN.UTF-8
at all.
Just now, after I created terminal(use command+N / T
), the file icon displayed is normal. But the original terminal window still cannot be displayed.
I guess it may be that terminal
did not update the configuration in time after reinstalling the ruby plugins, or colorls
did not reload configuration?