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

Comments

Projects
None yet
@MonsterCritic
Copy link

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Sep 26, 2017

Same problem here.
High Sierra 10.13

@bohdan-jdev0

This comment has been minimized.

Copy link

commented Sep 27, 2017

I have same problem.
High Sierra 10.13 / Koala 2.2.0

@iamcubcs

This comment has been minimized.

Copy link

commented Sep 27, 2017

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

This comment has been minimized.

Copy link

commented Sep 28, 2017

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

This comment has been minimized.

Copy link

commented Sep 28, 2017

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

@seierup

This comment has been minimized.

Copy link

commented Sep 29, 2017

Hi.. Any news on this?

@slipdem

This comment has been minimized.

Copy link

commented Oct 1, 2017

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

@delowar64

This comment has been minimized.

Copy link

commented Oct 1, 2017

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

@slipdem

This comment has been minimized.

Copy link

commented Oct 1, 2017

@delowar64 Yes, command line tools updated.

Ps.
Back to Gulp in small projects))

@deluigiluca

This comment has been minimized.

Copy link

commented Oct 1, 2017

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

@deluigiluca

This comment has been minimized.

Copy link

commented Oct 1, 2017

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

@aitala

This comment has been minimized.

Copy link

commented Oct 3, 2017

Tried the fixes with no luck...

@therealmikep

This comment has been minimized.

Copy link

commented Oct 3, 2017

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

This comment has been minimized.

Copy link

commented Oct 4, 2017

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

@deluigiluca

This comment has been minimized.

Copy link

commented Oct 4, 2017

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

@aitala

This comment has been minimized.

Copy link

commented Oct 4, 2017

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

@kmusicman

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Oct 7, 2017

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

thanks,

@cobymotion

This comment has been minimized.

Copy link

commented Oct 8, 2017

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Oct 9, 2017

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

@ierika

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Oct 9, 2017

@thecopt Thank you...but still not working

@kmusicman

This comment has been minimized.

Copy link

commented Oct 9, 2017

@deluigiluca try run sass -v

@deluigiluca

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Oct 9, 2017

@deluigiluca please run compass -v

@deluigiluca

This comment has been minimized.

Copy link

commented Oct 9, 2017

@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

This comment has been minimized.

Copy link

commented Oct 9, 2017

@deluigiluca update xcode ?

@ssandovalCSD

This comment has been minimized.

Copy link

commented Oct 9, 2017

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

This comment has been minimized.

Copy link

commented Oct 9, 2017

@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

This comment has been minimized.

Copy link

commented Oct 9, 2017

Just followed iamcubus and it worked.

@elalienx

This comment has been minimized.

Copy link

commented Oct 12, 2017

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

This comment has been minimized.

Copy link

commented Oct 30, 2017

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Nov 1, 2017

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

@deluigiluca

This comment has been minimized.

Copy link

commented Nov 1, 2017

me too ...

@christian-fries

This comment has been minimized.

Copy link

commented Nov 8, 2017

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

This comment has been minimized.

Copy link

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
@miqalarcia

This comment has been minimized.

Copy link

commented Nov 14, 2017

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

This comment has been minimized.

Copy link

commented Nov 14, 2017

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

@zaygraveyard

This comment has been minimized.

Copy link
Collaborator

commented Nov 16, 2017

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

@zaygraveyard

This comment has been minimized.

Copy link
Collaborator

commented Nov 20, 2017

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

@PAULUSfranCIRCUS

This comment has been minimized.

Copy link

commented Nov 20, 2017

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

@zaygraveyard

This comment has been minimized.

Copy link
Collaborator

commented Nov 20, 2017

Fantastic, thank you @PAULUSfranCIRCUS

@ykbryan

This comment has been minimized.

Copy link

commented Nov 24, 2017

I ran this to fix mine:
sudo gem install cocoapods

@TMWagner

This comment has been minimized.

@zaygraveyard

This comment has been minimized.

Copy link
Collaborator

commented Nov 28, 2017

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

This comment has been minimized.

Copy link

commented Dec 6, 2017

I follow @deluigiluca step and it worked with me.

@mucluck

This comment has been minimized.

Copy link

commented Dec 24, 2017

update Koala to 2.3.0

@zaygraveyard

This comment has been minimized.

Copy link
Collaborator

commented Jan 4, 2018

@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

This comment has been minimized.

Copy link

commented Feb 5, 2018

Thanks @iamcubcs

@CarloAntonio

This comment has been minimized.

Copy link

commented Feb 16, 2018

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.
You can’t perform that action at this time.