質問するログイン新規登録

質問編集履歴

4

開発環境を追加

2016/04/30 03:31

投稿

kefi3104
kefi3104

スコア33

title CHANGED
File without changes
body CHANGED
@@ -4,6 +4,13 @@
4
4
  Individual stylesheets must be in the sass directory.
5
5
  ```
6
6
 
7
+ 開発環境
8
+ - Mac OX Yosemite 10.10.5
9
+ - Intellij IDEA 2016.1.1
10
+ - Compass 1.0.3
11
+ - ruby 2.2.3p173
12
+ - Sass 3.4.22
13
+
7
14
  File Watcherを使わずに直接コマンドラインでコンパイルをしようとしても同じ同じエラーが出ます。
8
15
  ```
9
16
  compass compile [scssのディレクトリパス] [cssのディレクトリパス] -c [config.rbのディレクトリパス]

3

情報の修正

2016/04/30 03:31

投稿

kefi3104
kefi3104

スコア33

title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  File Watcherを使わずに直接コマンドラインでコンパイルをしようとしても同じ同じエラーが出ます。
8
8
  ```
9
- compass compile [scssのディレクトリ] [cssのディレクトリ] -c [config.rbのディレクトリ]
9
+ compass compile [scssのディレクトリパス] [cssのディレクトリパス] -c [config.rbのディレクトリパス]
10
10
  ```
11
11
 
12
12
  以下を参考に、設定はすべて完了しているはずなのですが・・・

2

情報追加

2016/04/30 03:23

投稿

kefi3104
kefi3104

スコア33

title CHANGED
File without changes
body CHANGED
@@ -5,11 +5,46 @@
5
5
  ```
6
6
 
7
7
  File Watcherを使わずに直接コマンドラインでコンパイルをしようとしても同じ同じエラーが出ます。
8
+ ```
9
+ compass compile [scssのディレクトリ] [cssのディレクトリ] -c [config.rbのディレクトリ]
10
+ ```
8
11
 
9
-
10
12
  以下を参考に、設定はすべて完了しているはずなのですが・・・
11
13
  [http://blog.jetbrains.com/jp/2013/12/10/326](http://blog.jetbrains.com/jp/2013/12/10/326)
12
14
 
13
15
  config.rbのパスは何度確認しても間違いはありませんし、パス名に日本語も使われていません。
16
+ config.rbの内容は以下です。
17
+ ```ruby
18
+ # Compass is a great cross-platform tool for compiling SASS.
19
+ # This compass config file will allow you to
20
+ # quickly dive right in.
21
+ # For more info about compass + SASS: http://net.tutsplus.com/tutorials/html-css-techniques/using-compass-and-sass-for-css-in-your-next-project/
14
22
 
23
+
24
+ #########
25
+ # 1. Set this to the root of your project when deployed:
26
+ http_path = "/"
27
+
28
+ # 2. probably don't need to touch these
29
+ css_dir = "../css"
30
+ sass_dir = "./"
31
+ images_dir = "../images"
32
+ javascripts_dir = "../js"
33
+ environment = :development
34
+ relative_assets = true
35
+
36
+
37
+ # 3. You can select your preferred output style here (can be overridden via the command line):
38
+ output_style = :expanded
39
+
40
+ # 4. When you are ready to launch your WP theme comment out (3) and uncomment the line below
41
+ # output_style = :compressed
42
+
43
+ # To disable debugging comments that display the original location of your selectors. Uncomment:
44
+ # line_comments = false
45
+
46
+ # don't touch this
47
+ preferred_syntax = :scss
48
+ ```
49
+
15
50
  他に確認するべきところがあればご教授いただけますと幸いですm(_ _)m

1

タグの更新

2016/04/30 03:23

投稿

kefi3104
kefi3104

スコア33

title CHANGED
File without changes
body CHANGED
File without changes