LoginSignup
5
7

More than 5 years have passed since last update.

WindowsにCompassをインストールする方法

Last updated at Posted at 2015-04-29

Rubyのインストール

Compassを動かすためにはRubyが必要。

RubyInstallerでRubyをインストール(Windows用)

インストーラーの入手

(Ruby公式サイトから > Installation > Windows > RubyInstallerと移動)

インストール

以下のチェックボックスを選択、有効にしてインストールすると楽ちん。

  • PATHの設定
  • .rb, .rbwファイルの関連付け

Compassのインストール

次のコマンドを実行

gem install compass

Windowsを再起動しておく。

テスト

適当なディレクトリを作成し、cdで移動してcompass initを実行し、ファイルを生成する。

compass watchを実行しておけば自動でコンパイルされる。

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