LoginSignup
8
7

More than 5 years have passed since last update.

MacOS SierraでSassがインストール出来ない時

Posted at

Sassのインストールでエラー発生

$ sudo gem install sass

Fetching: sass-3.5.6.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/bin directory.

/usr/binディレクトリにインストールすることのパーミッションエラーです。

インストール先を変更

/usr/bin
↓↓↓
/usr/local/bin/

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

参考にさせていただきました

Gem install で Operation not permitted された時の対応(追記あり)

8
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7