Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doesn't compile SCSS after update OSX to 10.13 (macOS High Sierra)

Tags:

sass

ruby

koala

Koala version: 2.2.0

Error message: /scss/styles.scss /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs': Could not find 'sass' (>= 0) among 15 total gem(s) (Gem::LoadError) Checked in '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 more information from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:into_spec' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in gem' from /Applications/Koala.app/Contents/Resources/app.nw/bin/sass:17:in

like image 383
Delowar Hosain Avatar asked Oct 01 '17 11:10

Delowar Hosain


2 Answers

Step 1: Open terminal & run this code (this code for install homebrew)

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Step 2: run these code:

sudo gem uninstall sass
sudo gem install sass

done

like image 146
Delowar Hosain Avatar answered Oct 24 '22 01:10

Delowar Hosain


if this doesn't work try:

gem install sass --user-install

Bye

like image 28
mariola Avatar answered Oct 24 '22 01:10

mariola