sassを使えるようになりたいです。
macOSHighSierra、バージョン10.13.6、初心者です。
gem install sass
や
$sudo gem install sass
を入力すると以下のエラーが出てきます。
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
となります。
また、
sass -v
では
-bash: sass: command not found
となります。
試したこと
https://qiita.com/kolife/items/08d9abb02dcb189bebfc
を参考にXcodeをインストールしましたが、変化なし。
https://qiita.com/tokimari/items/feda1ed61f2d8b5b317c
を参考に
$ gem install hoge
-bash: $: command not found
$ rbenv versions
-bash: $: command not found
$ which gem
/usr/bin/gem
$ ruby -v
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]
対処法の解る方、ご教授お願いします。
回答1件
あなたの回答
tips
プレビュー