質問編集履歴

2

Gemfile,application.html.erb,_head.html.erbを追記しました

2020/04/13 23:15

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -147,3 +147,163 @@
147
147
 
148
148
 
149
149
  ご回答のほどお待ちしております。よろしくお願いいたします。
150
+
151
+
152
+
153
+ ### 追記
154
+
155
+
156
+
157
+ 以下、追記いたします。
158
+
159
+
160
+
161
+ gem
162
+
163
+ ```Gemfile
164
+
165
+ source 'https://rubygems.org'
166
+
167
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
168
+
169
+
170
+
171
+ ruby '2.6.3'
172
+
173
+ gem 'rails', '~> 6.0.2', '>= 6.0.2.1'
174
+
175
+ gem 'bcrypt'
176
+
177
+ gem 'faker'
178
+
179
+ gem 'carrierwave'
180
+
181
+ gem 'mini_magick'
182
+
183
+ gem 'will_paginate'
184
+
185
+ gem 'bootstrap-will_paginate'
186
+
187
+ gem 'puma', '~> 4.1'
188
+
189
+ gem 'bootstrap-sass'
190
+
191
+ gem 'sass-rails', '>= 6'
192
+
193
+ gem 'bootstrap'
194
+
195
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
196
+
197
+ gem 'webpacker'
198
+
199
+ gem 'turbolinks', '~> 5'
200
+
201
+ gem 'jbuilder', '~> 2.7'
202
+
203
+ gem 'bootsnap', '>= 1.4.2', require: false
204
+
205
+ gem 'rails-i18n'
206
+
207
+ gem 'counter_culture'
208
+
209
+
210
+
211
+ group :development, :test do
212
+
213
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
214
+
215
+ gem 'rspec-rails'
216
+
217
+ gem 'sqlite3', '~> 1.4', require: false
218
+
219
+ gem 'factory_bot_rails'
220
+
221
+ end
222
+
223
+
224
+
225
+ group :development do
226
+
227
+ gem 'web-console', '>= 3.3.0'
228
+
229
+ gem 'listen', '>= 3.0.5', '< 3.2'
230
+
231
+ gem 'spring'
232
+
233
+ gem 'spring-watcher-listen', '~> 2.0.0'
234
+
235
+ end
236
+
237
+
238
+
239
+ group :production do
240
+
241
+ gem 'pg'
242
+
243
+ gem 'fog'
244
+
245
+ end
246
+
247
+ ```
248
+
249
+
250
+
251
+ application.html.erb
252
+
253
+ ```
254
+
255
+ <!DOCTYPE html>
256
+
257
+ <html>
258
+
259
+ <%= render 'layouts/head' %>
260
+
261
+ <body>
262
+
263
+ <%= render 'layouts/header' %>
264
+
265
+ <div class="container">
266
+
267
+ <% flash.each do |message_type, message| %>
268
+
269
+ <div class="alert alert-<%= message_type %>"><%= message %></div>
270
+
271
+ <% end %>
272
+
273
+ <%= yield %>
274
+
275
+ <%= debug(params) if Rails.env.development? %>
276
+
277
+ </div>
278
+
279
+ </body>
280
+
281
+ </html>
282
+
283
+ ```
284
+
285
+
286
+
287
+ _head.html.erb
288
+
289
+ ```
290
+
291
+ <head>
292
+
293
+ <title><%= full_title(yield(:title)) %></title>
294
+
295
+ <%= csrf_meta_tags %>
296
+
297
+ <%= csp_meta_tag %>
298
+
299
+ <%= stylesheet_pack_tag 'custom', media: 'all', 'data-turbolinks-track': 'reload' %>
300
+
301
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
302
+
303
+ <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
304
+
305
+ <%= render 'layouts/shim' %>
306
+
307
+ </head>
308
+
309
+ ```

1

誤字の修正

2020/04/13 23:15

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ```
22
22
 
23
- 2020-04-13T12:16:43.617300+00:00 heroku[router]: at=info method=GET path="/" host=portgram.herokuapp.com request_id=749089d5-314b-4500-a291-79093b380583 fwd="126.133.216.101" dyno=web.1 connect=0ms service=17ms status=500 bytes=1891 protocol=https
23
+ 2020-04-13T12:16:43.617300+00:00 heroku[router]: at=info method=GET path="/" host=portgram.herokuapp.com request_id=749089d5-314b-4500-a291-79093b380583 fwd="#.#.#.#" dyno=web.1 connect=0ms service=17ms status=500 bytes=1891 protocol=https
24
24
 
25
25
  ```
26
26