質問編集履歴
4
タイトル修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
【Rails】Sass::SyntaxError
|
1
|
+
【Rails】materializeが読み込まれない。 Sass::SyntaxError
|
body
CHANGED
File without changes
|
3
エラーの詳細追加
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
【
|
1
|
+
【Rails】Sass::SyntaxError in XXXXの、File to import not found or unreadableが発生している
|
body
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
Railsでcloneしたプロジェクトを
|
4
4
|
ローカルで動かしたい。
|
5
5
|
|
6
|
+
materializeが適用されなくて困ってます。
|
7
|
+
|
8
|
+
|
6
9
|
### 発生している問題・エラーメッセージ
|
7
10
|
|
8
11
|
**Sass::SyntaxError in Users#account_status**
|
2
タイトル修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
【
|
1
|
+
【Rolls】【materialize】File to import not foundが発生している
|
body
CHANGED
File without changes
|
1
エラーの詳細追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,44 +5,38 @@
|
|
5
5
|
|
6
6
|
### 発生している問題・エラーメッセージ
|
7
7
|
|
8
|
+
**Sass::SyntaxError in Users#account_status**
|
8
|
-
|
9
|
+
Showing /home/hogeOS/hoge/app/views/users/account_status.html.slim where line #2 raised:
|
9
10
|
|
10
11
|
File to import not found or unreadable: materialize/components/color.
|
11
12
|
Load paths:
|
12
13
|
/home/hogeOS/hoge/app/assets/config
|
13
14
|
/home/hogeOS/hoge/app/assets/images
|
14
|
-
/home/hogeOS/hoge/app/assets/javascripts
|
15
15
|
・
|
16
16
|
・
|
17
17
|
・
|
18
|
+
/home/hogeOS/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
|
19
|
+
/home/hogeOS/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/materialize-sass-1.0.0/assets/stylesheets
|
18
|
-
/home/
|
20
|
+
/home/hogeOS/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/materialize-sass-1.0.0/assets/javascripts
|
19
|
-
/home/yonetomo/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootstrap-4.3.1/assets/stylesheets
|
20
|
-
/home/yonetomo/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootstrap-4.3.1/assets/javascripts
|
21
21
|
|
22
22
|
|
23
23
|
### 該当のソースコード
|
24
|
-
☆
|
24
|
+
☆app\views\users\account_status.html.slim
|
25
25
|
```
|
26
|
-
<!DOCTYPE html>
|
27
|
-
|
26
|
+
.follower-up
|
28
|
-
<head>
|
29
|
-
<%= favicon_link_tag 'lim.png'%>
|
30
|
-
<title>Lim</title>
|
31
|
-
<%= csrf_meta_tags %>
|
32
|
-
|
27
|
+
= image_tag "lim.png", {size: "104x88", style: "float: left"}
|
28
|
+
div[style="font-size: 24px; margin-top: 32px"]
|
29
|
+
= @account
|
30
|
+
- unless @login
|
31
|
+
div[style="text-align: center"]
|
32
|
+
div[style="font-size: 28px; margin-top: 32px; margin-bottom: 32px;"]
|
33
|
+
| 管理ページログイン
|
34
|
+
・
|
35
|
+
・
|
36
|
+
・
|
33
37
|
|
34
|
-
<%= javascript_include_tag "https://credit.j-payment.co.jp/gateway/js/jquery.js" %>
|
35
|
-
<%= javascript_include_tag "https://credit.j-payment.co.jp/gateway/js/CPToken.js" %>
|
36
|
-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
37
|
-
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
38
|
-
</head>
|
39
|
-
|
40
|
-
<body>
|
41
|
-
<%= yield %>
|
42
|
-
</body>
|
43
|
-
</html>
|
44
38
|
```
|
45
|
-
☆affiliaters.scss
|
39
|
+
☆app\assets\stylesheets\affiliaters.scss
|
46
40
|
```
|
47
41
|
// Place all the styles related to the Affiliaters controller here.
|
48
42
|
// They will automatically be included in application.css.
|
@@ -64,6 +58,7 @@
|
|
64
58
|
・
|
65
59
|
・
|
66
60
|
```
|
61
|
+

|
67
62
|
|
68
63
|
|
69
64
|
gemfileにはgem 'materialize-sass'
|