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

Getting error after upgrading to MacOS High Sierra #2389

Closed
Mttylzq opened this issue Oct 16, 2017 · 8 comments
Closed

Getting error after upgrading to MacOS High Sierra #2389

Mttylzq opened this issue Oct 16, 2017 · 8 comments

Comments

@Mttylzq
Copy link

Mttylzq commented Oct 16, 2017

MacOS 10.13
Whenever a sass command is run on the command line, I get this error:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory

@Mttylzq
Copy link
Author

Mttylzq commented Oct 16, 2017

When install sudo gem install sass
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.

@Mttylzq
Copy link
Author

Mttylzq commented Oct 16, 2017

reinstall compass fix it
sudo gem install -n /usr/local/bin sass

@nex3 nex3 closed this as completed Oct 16, 2017
@Alan-W
Copy link

Alan-W commented Dec 12, 2017

Maybe it's your compass has hung up, you can execute: sudo gem install compass to fix it.

@mdmasumbillah
Copy link

Thanks @Mttylzq

Solved this problem:
sudo gem install -n /usr/local/bin sass

@TheDeterminator
Copy link

I have read that using sudo to install gems is dangerous in that it can overwrite your hard drive or publish sensitive information to the internet:
https://github.com/calabash/calabash-ios/wiki/Best-Practice%3A--Never-install-gems-with-sudo

Does anyone know if this is still true ?

@FlorianHeigl
Copy link

Installing it elsewhere is not "solving"??

@sean256
Copy link

sean256 commented Jul 5, 2018

Installing it elsewhere is not "solving"??

With the way MacOS is now, this is as solved as it's gonna get

@dylan-k
Copy link

dylan-k commented May 17, 2019

With the way MacOS is now, this is as solved as it's gonna get

@sean256 What is it about the MacOS that makes you have to install in a different directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants