0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

SCSS Compassメモ

Posted at

scssは入れた。
なんか動いた。

sublime textであーだこーだして、自動変換できるようにした。
でも、保存場所の指定とか個別する方法がわからなかった。_(┐「ε:)_
なのでCompassを入れようと思った。

エラー
$ sudo gem install compass
()

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.13.1/gem_make.out

あばば
調べる。

xcodeがなんか足りぬ
xcodeは最新の11.7が入ってた。
GUIで入れようとしたけど、「Command Line Developer Tools」の11.7がない。
ので、先駆者の参考ページ見ながら、下のコマンドで。

エラー
$ sudo xcodebuild -license
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

あばばb
Googleセンセー!

xcodeでCommand Line Toolsを設定する場所を発見。
参考ページ様のリンクわからなくなりましたすみませんんありがとうございます。

xcode
[xcode] => [preferences]
 => [locations] -> Command Line Tools: [ココを設定!!!]

で、

さくせす
$ sudo xcodebuild -license
(同意しておk)

で、

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

権限のLvが足りないってことらしい。( ˙-˙ )
いざレベル上げ٩( ᐛ )و

.bashrc
[[ -d ~/.rbenv  ]] && \
  export PATH=${HOME}/.rbenv/bin:${PATH} && \
  eval "$(rbenv init -)"
$ source ~/.bashrc
$ sudo gem install compass
()
Done installing documentation for chunky_png, sass, compass-import-once, multi_json, compass-core, compass after 3 seconds
6 gems installed

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

わーい_:(´ཀ`」 ∠):

#参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?