Sass/Compass 環境構築
Ruby のインストール
RubyGems の更新
$ gem update --system
Latest version currently installed. Aborting.
Sass/Commpass のインストール
RubyGems から Sass/Commpass をインストールする。
$ gem install compass
Fetching: ffi-1.9.10.gem (100%)
Building native extensions. This could take a while...
Successfully installed ffi-1.9.10
Fetching: rb-inotify-0.9.5.gem (100%)
Successfully installed rb-inotify-0.9.5
Fetching: rb-fsevent-0.9.5.gem (100%)
Successfully installed rb-fsevent-0.9.5
Fetching: chunky_png-1.3.4.gem (100%)
Successfully installed chunky_png-1.3.4
Fetching: sass-3.4.16.gem (100%)
Successfully installed sass-3.4.16
Fetching: compass-import-once-1.0.5.gem (100%)
Successfully installed compass-import-once-1.0.5
Fetching: multi_json-1.11.2.gem (100%)
Successfully installed multi_json-1.11.2
Fetching: compass-core-1.0.3.gem (100%)
Successfully installed compass-core-1.0.3
Fetching: compass-1.0.3.gem (100%)
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Successfully installed compass-1.0.3
Parsing documentation for ffi-1.9.10
Installing ri documentation for ffi-1.9.10
Parsing documentation for rb-inotify-0.9.5
Installing ri documentation for rb-inotify-0.9.5
Parsing documentation for rb-fsevent-0.9.5
Installing ri documentation for rb-fsevent-0.9.5
Parsing documentation for chunky_png-1.3.4
Installing ri documentation for chunky_png-1.3.4
Parsing documentation for sass-3.4.16
Installing ri documentation for sass-3.4.16
Parsing documentation for compass-import-once-1.0.5
Installing ri documentation for compass-import-once-1.0.5
Parsing documentation for multi_json-1.11.2
Installing ri documentation for multi_json-1.11.2
Parsing documentation for compass-core-1.0.3
Installing ri documentation for compass-core-1.0.3
Parsing documentation for compass-1.0.3
Installing ri documentation for compass-1.0.3
Done installing documentation for ffi, rb-inotify, rb-fsevent, chunky_png, sass, compass-import-once, multi_json, compass-core, compass after 18 seconds
9 gems installed
Sass/Compass の動作確認を行う。
$ sass -v Sass 3.4.16 (Selective Steve) $ compass -v Compass 1.0.3 (Polaris) Copyright (c) 2008-2015 Chris Eppstein Released under the MIT License. Compass is charityware. Please make a tax deductable donation for a worthy cause: http://umdf.org/compass