質問編集履歴

2

追記Rakefile

2019/04/01 23:06

投稿

Romay
Romay

スコア40

test CHANGED
File without changes
test CHANGED
@@ -168,6 +168,30 @@
168
168
 
169
169
 
170
170
 
171
+ 以下追記 Rakefileです。
172
+
173
+
174
+
175
+ ```ruby
176
+
177
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
178
+
179
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
180
+
181
+
182
+
183
+ require File.expand_path('../config/application', __FILE__)
184
+
185
+
186
+
187
+ Rails.application.load_tasks
188
+
189
+
190
+
191
+ ```
192
+
193
+
194
+
171
195
  ### 試したこと
172
196
 
173
197
  public/assetsを消しただけで、CSSはいじっていない(気づかずにタイプしている可能性はあるが)ので何が原因なのかわかりません。

1

追記

2019/04/01 23:06

投稿

Romay
Romay

スコア40

test CHANGED
File without changes
test CHANGED
@@ -90,6 +90,84 @@
90
90
 
91
91
  の操作後にエラーになりました。
92
92
 
93
+
94
+
95
+ ### 以下追記しました
96
+
97
+ assets/stylesheets/application.scss
98
+
99
+ ```ruby
100
+
101
+ /*
102
+
103
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
104
+
105
+ * listed below.
106
+
107
+ *
108
+
109
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
110
+
111
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
112
+
113
+ *
114
+
115
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
116
+
117
+ * compiled file so the styles you add here take precedence over styles defined in any styles
118
+
119
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
120
+
121
+ * file per style scope.
122
+
123
+ *
124
+
125
+ *= require_self
126
+
127
+ *= require bootstrap-theme.css
128
+
129
+ *= require bootstrap-theme.css.map
130
+
131
+ *= require bootstrap-theme.min.css
132
+
133
+ *= require bootstrap.css
134
+
135
+ *= require bootstrap.css.map
136
+
137
+ *= require bootstrap.min.css
138
+
139
+ *= require main.css
140
+
141
+ *= require responsive.css
142
+
143
+ *= require profilecard.scss
144
+
145
+ *= require font-awesome
146
+
147
+ *= require linkmodal
148
+
149
+ *= require jquery.kenburnsy.css
150
+
151
+
152
+
153
+ *= require top.scss
154
+
155
+ *= require users.scss
156
+
157
+ *= require sign-up.css
158
+
159
+ */
160
+
161
+
162
+
163
+ @import "bootstrap-sprockets";
164
+
165
+ @import "bootstrap";
166
+
167
+ ```
168
+
169
+
170
+
93
171
  ### 試したこと
94
172
 
95
173
  public/assetsを消しただけで、CSSはいじっていない(気づかずにタイプしている可能性はあるが)ので何が原因なのかわかりません。