Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MonsterCritic opened this issue Sep 25, 2017 · 57 comments
Closed

Comments

@MonsterCritic
Copy link

MonsterCritic commented Sep 25, 2017

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', execute gem 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

@iamcubcs
Copy link

iamcubcs commented Sep 26, 2017

I have same problem, SCSS doesn't compile after update to 10.13 macOS High Sierra. Same error message, even in Adobe Dreamweaver.

@slipdem
Copy link

slipdem commented Sep 26, 2017

Same problem here.
High Sierra 10.13

@bohdan-jdev0
Copy link

I have same problem.
High Sierra 10.13 / Koala 2.2.0

@iamcubcs
Copy link

Hello, this help me resolve the problem for me.

  1. Open Terminal
  2. Install Homebrew:

 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  3. Do not close Terminal, open Mac Appstore and check Update, install all XCode Command Line Tools updates OR in my case, XCode Command Line Tools started install automaticly throught Terminal right after step 2.
  4. Back to Terminal
  5. Install Ruby:
 
brew install rbenv ruby-build
  6. Install SASS gem: 

sudo gem install -n /usr/local/bin sass

After this steps, everything works fine and I can compilate again with Koala or in Dreamweaver.

@deluigiluca
Copy link

I have the same problem ...
High Sierra 10.13
Command Line Tools for Xcode version 9.0 updated
Koala 2.2.0

Then I re-install:
SASS 3.5.1 (Bleeding Edge) and Ruby 2.3.1p112

but still not working.

The error message now is:

/bin/sh: sass: command not found

Anyone have an idea how to solve this problem?

many thanks

@steelbridge-io
Copy link

steelbridge-io commented Sep 28, 2017

I can compile using $ sass --watch /_directory_/ ...but Dreamweaver fails to execute compile. Same for Koala.

@seierup
Copy link

seierup commented Sep 29, 2017

Hi.. Any news on this?

@delowardev
Copy link

Check this:

https://stackoverflow.com/questions/46511870/doesnt-compile-scss-after-update-osx-to-10-13-macos-high-sierra

@slipdem
Copy link

slipdem commented Oct 1, 2017

@delowar64 I tried this earlier - no result in my case

@delowardev
Copy link

delowardev commented Oct 1, 2017

did you update command line tools?
https://ibb.co/gopgGG
if not, update this & try again.

@slipdem
Copy link

slipdem commented Oct 1, 2017

@delowar64 Yes, command line tools updated.

Ps.
Back to Gulp in small projects))

@deluigiluca
Copy link

@slipdem I have the same problem, I'm using Scout for now, but I hope Koala will work again soon ...

@deluigiluca
Copy link

CodeKit works too... but I would prefer Koala instead.
Could be a problem of files permissions?

@aitala
Copy link

aitala commented Oct 3, 2017

Tried the fixes with no luck...

@therealmikep
Copy link

Just ran into this and got it fixed.

I was seeing "[Errno 2] No such File or Directory" when trying to build .scss in both SublimeText 2 and 3. It's worked with other OS updates but after updating to High Sierra looks like I had to reinstall SASS from terminal.

Here's a quick post:
https://michaelpilsner.com/sass-wont-build-sublime-text-mac-high-sierra-errno-2-no-file-directory/

@kmusicman
Copy link

I have a same problem.
I follow @iamcubcs step but not work.

@deluigiluca
Copy link

same here ... I've tried everything, but no solution yet

@aitala
Copy link

aitala commented Oct 4, 2017

Ok, I found that installing the command line tools for Xcode / High Sierra seemed to fix the issue.

@kmusicman
Copy link

kmusicman commented Oct 6, 2017

This way is work. https://github.com/oklai/koala/issues/679#issuecomment-332510652
but step 3 if you can't fine update at check Update on Mac Appstore. You try open xcode app for install component update.

And step 7. sudo gem install compass

@sippapeg
Copy link

sippapeg commented Oct 7, 2017

same here,
I've followed @iamcubcs solution, it's work for me.

thanks,

@cobymotion
Copy link

I had same problem and the solution of @iamcubcs it's worked for me, but before i had to update Xcode.

Thanks a lot !

@deluigiluca
Copy link

deluigiluca commented Oct 9, 2017

to me still not working ... I follow @iamcubcs instructions but I had the message error saying:
/bin/sh: sass: command not found

Now I've tried to un-install and re-install many times sass, node-sass, ruby update etc.etc.(maybe too much) and the error message in koala now is:

/Applications/XAMPP/xamppfiles/htdocs/style.scss
/Library/Ruby/Site/2.3.0/rubygems/dependency.rb:308:in to_specs: Could not find sass (>= 0) among 19 total gem(s) (Gem::MissingSpecError)
Checked in GEM_PATH=/Users/myname/.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, execute gem env for more information
	from /Library/Ruby/Site/2.3.0/rubygems/dependency.rb:320:in to_spec'
	from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in gem'
	from /Applications/Koala.app/Contents/Resources/app.nw/bin/sass:17:in

Does anyone understand where I'm doing wrong?
Many thanks

p.s. I even thought could be a problem with System Integrity Protection (SIP), but no

@kmusicman
Copy link

kmusicman commented Oct 9, 2017

@deluigiluca try sudo gem install compass and open xcode for install xcode component.

@ierika
Copy link

ierika commented Oct 9, 2017

@iamcubcs Works great! Brew pretty much told me what's needed in order to install rbenv and ruby-build, after that, sudo gem install sass worked fine.

@deluigiluca
Copy link

@thecopt Thank you...but still not working

@kmusicman
Copy link

@deluigiluca try run sass -v

@deluigiluca
Copy link

deluigiluca commented Oct 9, 2017

@thecopt it give me:

Sass 3.5.2 (Bleeding Edge)

but when compiling with Koala, one line in the error message (red) is:

...
/Library/Ruby/Site/2.3.0/rubygems/dependency.rb:308:in `to_specs': Could not find 'sass' (>= 0) among 19 total gem(s) (Gem::MissingSpecError)
...

@kmusicman
Copy link

@deluigiluca please run compass -v

@deluigiluca
Copy link

@thecopt

Compass 1.0.3 (Polaris)
Copyright (c) 2008-2017 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass

@kmusicman
Copy link

@deluigiluca update xcode ?

@ssandovalCSD
Copy link

I am having the same issue and it is driving me nuts. I am on the latest version of High Sierra. Any issues with this? I am running Koala with Adobe Brackets app.

@deluigiluca
Copy link

@ssandovalCSD me too. I guess I must uninstall and reinstall everything, but I don't have time to do it now. By the way, I'm running Koala with many programs, but the error message not belongs if I'm running it with Brackets, Sublime text, Visual Studio Code, Dreamweaver or others ...

@ssandovalCSD
Copy link

Just followed iamcubus and it worked.

@elalienx
Copy link

Hi thanks to @iamcubcs its steps solve my issue on an updated OS from Sierra to High Sierra. Next time I will do a clean install.

@grafxflow
Copy link

I have followed @iamcubcs instructions but I am still getting the same error message. Plus it only started happening after installing High Sierra 10.13.

@masomi79
Copy link

masomi79 commented Nov 1, 2017

had seme problem after installing High Sierra 10.13.

this worked for me:


sudo gem install -n /usr/local/bin sass


sudo gem install -n /usr/local/bin compass

@grafxflow
Copy link

Just tried @masomi79 solution but I am still having the same issue :(

@deluigiluca
Copy link

me too ...

@christian-fries
Copy link

I had the same problem...

This worked for me:
Open Xcode (if not installed, install it from the App Store). It asks you to install additional required components. Do it. Then follow @masomi79 s solution and you'll be happy again 😃

@robincher
Copy link

robincher commented Nov 13, 2017

I ran these commands after updating to High-Sierra ,and now its working fine. Thanks @masomi79 for specifying that too.

xcode-select --install


sudo gem install -n /usr/local/bin sass


sudo gem install -n /usr/local/bin compass

@estudiQiero
Copy link

Hi everybody,

I have the same problem. I've tried everything commented here. Nothing worked. The most strange for me is that Codekit is working and, thanks god, this saved my life. It's a pitty because I love Koala. I hope it will solve soon.

@arielpont
Copy link

@iamcubcs steps works on my case :)
Thanks a lot!! Im usign Koala again woooooh!!!

@zaygraveyard
Copy link
Collaborator

Sorry for the delay.
I think I fixed the problem
I'll cut a new release tonight

@zaygraveyard
Copy link
Collaborator

Can anyone verify that this is fixed in v2.3.0?

@PAULUSfranCIRCUS
Copy link

@zaygraveyard I can verify that it works. Installing v2.3.0 fixed the ruby dependency error

@zaygraveyard
Copy link
Collaborator

Fantastic, thank you @PAULUSfranCIRCUS

@ykbryan
Copy link

ykbryan commented Nov 24, 2017

I ran this to fix mine:
sudo gem install cocoapods

@TMWagner
Copy link

@zaygraveyard
Copy link
Collaborator

Koala v2.3.0 should work out-of-the-box, without having to run anything (unless you are using a custom command in the settings)
If it's not the case please let me know.

@binjuhor
Copy link

binjuhor commented Dec 6, 2017

I follow @deluigiluca step and it worked with me.

@mucluck
Copy link

mucluck commented Dec 24, 2017

update Koala to 2.3.0

@zaygraveyard
Copy link
Collaborator

@harrycb if you are use using Grunt then you probably not using Koala.
This a thread for Koala.

Unless you updated Koala and now experiencing this problem, please don't comment on this issue

@shuvaramva
Copy link

Thanks @iamcubcs

@CarloAntonio
Copy link

this worked for me:

  1. Open Xcode (if not installed, install it from the App Store). It asks you to install additional required components. Do it.
  2. xcode-select --install
  3. 

sudo gem install -n /usr/local/bin sass
    

4. sudo gem install -n /usr/local/bin compass

Credit: @masomi79, @christian-fries, and @robincher
They pointed it out, I just combined the steps together.

Repository owner locked as resolved and limited conversation to collaborators Feb 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests