Koala版本:2.2.0
错误讯息: /scss/styles.scss /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs':找不到' sass' 15个总宝石中的(> = 0)(Gem :: LoadError)选中' GEM_PATH = / Users / monstercritic / .gem / ruby / 2.3.0:/Library/Ruby/Gems/2.3。 0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0' ;, executegem envfor来自/System/Library/Frameworks/Ruby.framework/Versions/的更多信息2.3 / usr / lib中/红宝石/ 2.3.0 /的rubygems / dependency.rb:328:into_spec' 来自/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in gem'来自/Applications/Koala.app/Contents/Resources/app.nw/bin/sass:17:in
答案 0 :(得分:26)
第1步:打开终端&运行此代码(此代码用于安装自制软件)
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
第2步:运行以下代码:
sudo gem uninstall sass
sudo gem install sass
完成
答案 1 :(得分:1)
如果这不起作用,请尝试:
gem install sass --user-install
再见