web:html_css:compass
SassとCompass
準備
rubyのインストール
gemの更新
C:\>gem update --system Updating rubygems-update Fetching: rubygems-update-2.2.2.gem (100%) Successfully installed rubygems-update-2.2.2 Parsing documentation for rubygems-update-2.2.2 ...... RubyGems system software updated
Sassのインストール
Compass 0.12.4はSassの最新版で動作しません。
以下のようにバージョンを指定してインストールします
gem install sass gem install sass --version 3.2.18
Compassのインストール
gem install compass
sassのバージョン
Compass 0.12.4はSassの最新版で動作しません。
なので、Gemfileに以下のように書くことでSass 3.2.18がインストールされるはずです。1)
gem 'compass', '~> 0.12.4'
参考
1)
gem 'sass', '~> 3.2.18と書いても良いようです
web/html_css/compass.txt · 最終更新: 2017/04/14 05:21 by 127.0.0.1