質問編集履歴
1
関連ファイル追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -126,37 +126,205 @@
|
|
126
126
|
|
127
127
|
|
128
128
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
e
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
/usr/local/bundle/e
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
129
|
+
:
|
130
|
+
|
131
|
+
:
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
current directory: /usr/local/bundle/gems/byebug-9.0.6/ext/byebug
|
142
|
+
|
143
|
+
/usr/local/bin/ruby -r ./siteconf20200529-6-1im7hf8.rb extconf.rb
|
144
|
+
|
145
|
+
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1im7hf8.rb
|
146
|
+
|
147
|
+
extconf.rb 2>&1
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
Gem files will remain installed in /usr/local/bundle/gems/byebug-9.0.6 for
|
152
|
+
|
153
|
+
inspection.
|
154
|
+
|
155
|
+
Results logged to
|
156
|
+
|
157
|
+
/usr/local/bundle/extensions/x86_64-linux/2.5.0/byebug-9.0.6/gem_make.out
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
An error occurred while installing byebug (9.0.6), and Bundler cannot continue.
|
162
|
+
|
163
|
+
Make sure that `gem install byebug -v '9.0.6' --source 'https://rubygems.org/'`
|
164
|
+
|
165
|
+
succeeds before bundling.
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
In Gemfile:
|
170
|
+
|
171
|
+
byebug
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
current directory: /usr/local/bundle/gems/kgio-2.11.3/ext/kgio
|
182
|
+
|
183
|
+
/usr/local/bin/ruby -r ./siteconf20200529-6-h3dgyo.rb extconf.rb
|
184
|
+
|
185
|
+
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-h3dgyo.rb
|
186
|
+
|
187
|
+
extconf.rb 2>&1
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
Gem files will remain installed in /usr/local/bundle/gems/kgio-2.11.3 for
|
192
|
+
|
193
|
+
inspection.
|
194
|
+
|
195
|
+
Results logged to
|
196
|
+
|
197
|
+
/usr/local/bundle/extensions/x86_64-linux/2.5.0/kgio-2.11.3/gem_make.out
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
An error occurred while installing kgio (2.11.3), and Bundler cannot continue.
|
202
|
+
|
203
|
+
Make sure that `gem install kgio -v '2.11.3' --source 'https://rubygems.org/'`
|
204
|
+
|
205
|
+
succeeds before bundling.
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
In Gemfile:
|
210
|
+
|
211
|
+
unicorn was resolved to 5.4.1, which depends on
|
212
|
+
|
213
|
+
kgio
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
current directory: /usr/local/bundle/gems/mysql2-0.5.3/ext/mysql2
|
224
|
+
|
225
|
+
/usr/local/bin/ruby -r ./siteconf20200529-6-17zzo2d.rb extconf.rb
|
226
|
+
|
227
|
+
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-17zzo2d.rb
|
228
|
+
|
229
|
+
extconf.rb 2>&1
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
Gem files will remain installed in /usr/local/bundle/gems/mysql2-0.5.3 for
|
234
|
+
|
235
|
+
inspection.
|
236
|
+
|
237
|
+
Results logged to
|
238
|
+
|
239
|
+
/usr/local/bundle/extensions/x86_64-linux/2.5.0/mysql2-0.5.3/gem_make.out
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.
|
244
|
+
|
245
|
+
Make sure that `gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/'`
|
246
|
+
|
247
|
+
succeeds before bundling.
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
In Gemfile:
|
252
|
+
|
253
|
+
mysql2
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
current directory: /usr/local/bundle/gems/puma-3.9.1/ext/puma_http11
|
264
|
+
|
265
|
+
/usr/local/bin/ruby -r ./siteconf20200529-6-1wlltgf.rb extconf.rb
|
266
|
+
|
267
|
+
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1wlltgf.rb
|
268
|
+
|
269
|
+
extconf.rb 2>&1
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
Gem files will remain installed in /usr/local/bundle/gems/puma-3.9.1 for
|
274
|
+
|
275
|
+
inspection.
|
276
|
+
|
277
|
+
Results logged to
|
278
|
+
|
279
|
+
/usr/local/bundle/extensions/x86_64-linux/2.5.0/puma-3.9.1/gem_make.out
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
An error occurred while installing puma (3.9.1), and Bundler cannot continue.
|
284
|
+
|
285
|
+
Make sure that `gem install puma -v '3.9.1' --source 'https://rubygems.org/'`
|
286
|
+
|
287
|
+
succeeds before bundling.
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
In Gemfile:
|
292
|
+
|
293
|
+
puma
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
current directory: /usr/local/bundle/gems/raindrops-0.19.1/ext/raindrops
|
304
|
+
|
305
|
+
/usr/local/bin/ruby -r ./siteconf20200529-6-1onovv5.rb extconf.rb
|
306
|
+
|
307
|
+
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1onovv5.rb
|
308
|
+
|
309
|
+
extconf.rb 2>&1
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
Gem files will remain installed in /usr/local/bundle/gems/raindrops-0.19.1 for
|
314
|
+
|
315
|
+
inspection.
|
316
|
+
|
317
|
+
Results logged to
|
318
|
+
|
319
|
+
/usr/local/bundle/extensions/x86_64-linux/2.5.0/raindrops-0.19.1/gem_make.out
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
An error occurred while installing raindrops (0.19.1), and Bundler cannot
|
156
324
|
|
157
325
|
continue.
|
158
326
|
|
159
|
-
Make sure that `gem install
|
327
|
+
Make sure that `gem install raindrops -v '0.19.1' --source
|
160
328
|
|
161
329
|
'https://rubygems.org/'` succeeds before bundling.
|
162
330
|
|
@@ -164,346 +332,8 @@
|
|
164
332
|
|
165
333
|
In Gemfile:
|
166
334
|
|
167
|
-
rails was resolved to 5.1.6, which depends on
|
168
|
-
|
169
|
-
actioncable was resolved to 5.1.6, which depends on
|
170
|
-
|
171
|
-
websocket-driver
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
current directory: /usr/local/bundle/gems/bcrypt-3.1.12/ext/mri
|
182
|
-
|
183
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-kx1cbr.rb extconf.rb
|
184
|
-
|
185
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-kx1cbr.rb
|
186
|
-
|
187
|
-
extconf.rb 2>&1
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
Gem files will remain installed in /usr/local/bundle/gems/bcrypt-3.1.12 for
|
192
|
-
|
193
|
-
inspection.
|
194
|
-
|
195
|
-
Results logged to
|
196
|
-
|
197
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/bcrypt-3.1.12/gem_make.out
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
An error occurred while installing bcrypt (3.1.12), and Bundler cannot continue.
|
202
|
-
|
203
|
-
Make sure that `gem install bcrypt -v '3.1.12' --source 'https://rubygems.org/'`
|
204
|
-
|
205
|
-
succeeds before bundling.
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
In Gemfile:
|
210
|
-
|
211
|
-
bcrypt
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
current directory: /usr/local/bundle/gems/bindex-0.8.1/ext/skiptrace
|
222
|
-
|
223
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-ht9hdk.rb extconf.rb
|
224
|
-
|
225
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-ht9hdk.rb
|
226
|
-
|
227
|
-
extconf.rb 2>&1
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
Gem files will remain installed in /usr/local/bundle/gems/bindex-0.8.1 for
|
232
|
-
|
233
|
-
inspection.
|
234
|
-
|
235
|
-
Results logged to
|
236
|
-
|
237
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/bindex-0.8.1/gem_make.out
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
An error occurred while installing bindex (0.8.1), and Bundler cannot continue.
|
242
|
-
|
243
|
-
Make sure that `gem install bindex -v '0.8.1' --source 'https://rubygems.org/'`
|
244
|
-
|
245
|
-
succeeds before bundling.
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
In Gemfile:
|
250
|
-
|
251
|
-
web-console was resolved to 3.5.1, which depends on
|
252
|
-
|
253
|
-
bindex
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
current directory: /usr/local/bundle/gems/ffi-1.12.2/ext/ffi_c
|
264
|
-
|
265
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-1o1nbem.rb extconf.rb
|
266
|
-
|
267
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1o1nbem.rb
|
268
|
-
|
269
|
-
extconf.rb 2>&1
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
Gem files will remain installed in /usr/local/bundle/gems/ffi-1.12.2 for
|
274
|
-
|
275
|
-
inspection.
|
276
|
-
|
277
|
-
Results logged to
|
278
|
-
|
279
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/ffi-1.12.2/gem_make.out
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
An error occurred while installing ffi (1.12.2), and Bundler cannot continue.
|
284
|
-
|
285
|
-
Make sure that `gem install ffi -v '1.12.2' --source 'https://rubygems.org/'`
|
286
|
-
|
287
|
-
succeeds before bundling.
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
In Gemfile:
|
292
|
-
|
293
|
-
bootstrap-sass was resolved to 3.3.7, which depends on
|
294
|
-
|
295
|
-
sass was resolved to 3.7.4, which depends on
|
296
|
-
|
297
|
-
sass-listen was resolved to 4.0.0, which depends on
|
298
|
-
|
299
|
-
rb-inotify was resolved to 0.10.1, which depends on
|
300
|
-
|
301
|
-
ffi
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
current directory: /usr/local/bundle/gems/byebug-9.0.6/ext/byebug
|
312
|
-
|
313
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-1im7hf8.rb extconf.rb
|
314
|
-
|
315
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1im7hf8.rb
|
316
|
-
|
317
|
-
extconf.rb 2>&1
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
Gem files will remain installed in /usr/local/bundle/gems/byebug-9.0.6 for
|
322
|
-
|
323
|
-
inspection.
|
324
|
-
|
325
|
-
Results logged to
|
326
|
-
|
327
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/byebug-9.0.6/gem_make.out
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
An error occurred while installing byebug (9.0.6), and Bundler cannot continue.
|
332
|
-
|
333
|
-
Make sure that `gem install byebug -v '9.0.6' --source 'https://rubygems.org/'`
|
334
|
-
|
335
|
-
succeeds before bundling.
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
In Gemfile:
|
340
|
-
|
341
|
-
byebug
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
current directory: /usr/local/bundle/gems/kgio-2.11.3/ext/kgio
|
352
|
-
|
353
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-h3dgyo.rb extconf.rb
|
354
|
-
|
355
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-h3dgyo.rb
|
356
|
-
|
357
|
-
extconf.rb 2>&1
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
Gem files will remain installed in /usr/local/bundle/gems/kgio-2.11.3 for
|
362
|
-
|
363
|
-
inspection.
|
364
|
-
|
365
|
-
Results logged to
|
366
|
-
|
367
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/kgio-2.11.3/gem_make.out
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
An error occurred while installing kgio (2.11.3), and Bundler cannot continue.
|
372
|
-
|
373
|
-
Make sure that `gem install kgio -v '2.11.3' --source 'https://rubygems.org/'`
|
374
|
-
|
375
|
-
succeeds before bundling.
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
In Gemfile:
|
380
|
-
|
381
335
|
unicorn was resolved to 5.4.1, which depends on
|
382
336
|
|
383
|
-
kgio
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
current directory: /usr/local/bundle/gems/mysql2-0.5.3/ext/mysql2
|
394
|
-
|
395
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-17zzo2d.rb extconf.rb
|
396
|
-
|
397
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-17zzo2d.rb
|
398
|
-
|
399
|
-
extconf.rb 2>&1
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
Gem files will remain installed in /usr/local/bundle/gems/mysql2-0.5.3 for
|
404
|
-
|
405
|
-
inspection.
|
406
|
-
|
407
|
-
Results logged to
|
408
|
-
|
409
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/mysql2-0.5.3/gem_make.out
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.
|
414
|
-
|
415
|
-
Make sure that `gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/'`
|
416
|
-
|
417
|
-
succeeds before bundling.
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
In Gemfile:
|
422
|
-
|
423
|
-
mysql2
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
current directory: /usr/local/bundle/gems/puma-3.9.1/ext/puma_http11
|
434
|
-
|
435
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-1wlltgf.rb extconf.rb
|
436
|
-
|
437
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1wlltgf.rb
|
438
|
-
|
439
|
-
extconf.rb 2>&1
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
Gem files will remain installed in /usr/local/bundle/gems/puma-3.9.1 for
|
444
|
-
|
445
|
-
inspection.
|
446
|
-
|
447
|
-
Results logged to
|
448
|
-
|
449
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/puma-3.9.1/gem_make.out
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
An error occurred while installing puma (3.9.1), and Bundler cannot continue.
|
454
|
-
|
455
|
-
Make sure that `gem install puma -v '3.9.1' --source 'https://rubygems.org/'`
|
456
|
-
|
457
|
-
succeeds before bundling.
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
In Gemfile:
|
462
|
-
|
463
|
-
puma
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
current directory: /usr/local/bundle/gems/raindrops-0.19.1/ext/raindrops
|
474
|
-
|
475
|
-
/usr/local/bin/ruby -r ./siteconf20200529-6-1onovv5.rb extconf.rb
|
476
|
-
|
477
|
-
Cannot allocate memory - /usr/local/bin/ruby -r ./siteconf20200529-6-1onovv5.rb
|
478
|
-
|
479
|
-
extconf.rb 2>&1
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
Gem files will remain installed in /usr/local/bundle/gems/raindrops-0.19.1 for
|
484
|
-
|
485
|
-
inspection.
|
486
|
-
|
487
|
-
Results logged to
|
488
|
-
|
489
|
-
/usr/local/bundle/extensions/x86_64-linux/2.5.0/raindrops-0.19.1/gem_make.out
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
An error occurred while installing raindrops (0.19.1), and Bundler cannot
|
494
|
-
|
495
|
-
continue.
|
496
|
-
|
497
|
-
Make sure that `gem install raindrops -v '0.19.1' --source
|
498
|
-
|
499
|
-
'https://rubygems.org/'` succeeds before bundling.
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
In Gemfile:
|
504
|
-
|
505
|
-
unicorn was resolved to 5.4.1, which depends on
|
506
|
-
|
507
337
|
raindrops
|
508
338
|
|
509
339
|
ERROR: Service 'app' failed to build: The command '/bin/sh -c bundle install -j4' returned a non-zero code: 5
|
@@ -536,6 +366,218 @@
|
|
536
366
|
|
537
367
|
|
538
368
|
|
369
|
+
#関連ファイル
|
370
|
+
|
371
|
+
Gemfile
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
```
|
376
|
+
|
377
|
+
$ cat Gemfile
|
378
|
+
|
379
|
+
# frozen_string_literal: true
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
source 'https://rubygems.org'
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
gem 'bcrypt', '3.1.12'
|
388
|
+
|
389
|
+
gem 'bootstrap-sass', '3.3.7'
|
390
|
+
|
391
|
+
gem 'bootstrap-will_paginate', '1.0.0'
|
392
|
+
|
393
|
+
gem 'carrierwave', '~> 1.3', '>= 1.3.1'
|
394
|
+
|
395
|
+
gem 'coffee-rails', '4.2.2'
|
396
|
+
|
397
|
+
gem 'faker', '1.7.3'
|
398
|
+
|
399
|
+
gem 'geocoder'
|
400
|
+
|
401
|
+
gem 'gmaps4rails'
|
402
|
+
|
403
|
+
gem 'jbuilder', '2.7.0'
|
404
|
+
|
405
|
+
gem 'jquery-rails', '4.3.1'
|
406
|
+
|
407
|
+
gem 'jquery-ui-rails'
|
408
|
+
|
409
|
+
gem 'pry-rails'
|
410
|
+
|
411
|
+
gem 'puma', '3.9.1'
|
412
|
+
|
413
|
+
gem 'rails', '5.1.6'
|
414
|
+
|
415
|
+
gem 'rails-i18n'
|
416
|
+
|
417
|
+
gem 'ransack'
|
418
|
+
|
419
|
+
gem 'rubocop', require: false
|
420
|
+
|
421
|
+
gem 'rubocop-rails', require: false
|
422
|
+
|
423
|
+
gem 'sass-rails', '5.0.6'
|
424
|
+
|
425
|
+
gem 'turbolinks', '5.0.1'
|
426
|
+
|
427
|
+
gem 'uglifier', '3.2.0'
|
428
|
+
|
429
|
+
gem 'will_paginate', '3.1.6'
|
430
|
+
|
431
|
+
gem 'mysql2'
|
432
|
+
|
433
|
+
gem 'dotenv-rails'
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
group :development, :test do
|
438
|
+
|
439
|
+
# gem 'sqlite3', '1.3.13'
|
440
|
+
|
441
|
+
gem 'byebug', '9.0.6', platform: :mri
|
442
|
+
|
443
|
+
end
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
group :development do
|
448
|
+
|
449
|
+
gem 'listen', '3.1.5'
|
450
|
+
|
451
|
+
gem 'spring', '2.0.2'
|
452
|
+
|
453
|
+
gem 'spring-watcher-listen', '2.0.1'
|
454
|
+
|
455
|
+
gem 'web-console', '3.5.1'
|
456
|
+
|
457
|
+
end
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
group :test do
|
462
|
+
|
463
|
+
gem 'guard', '2.13.0'
|
464
|
+
|
465
|
+
gem 'guard-minitest', '2.4.4'
|
466
|
+
|
467
|
+
gem 'minitest', '5.10.3'
|
468
|
+
|
469
|
+
gem 'minitest-reporters', '1.1.14'
|
470
|
+
|
471
|
+
gem 'rails-controller-testing', '1.0.2'
|
472
|
+
|
473
|
+
end
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
group :production, :staging do
|
478
|
+
|
479
|
+
gem 'unicorn', '5.4.1'
|
480
|
+
|
481
|
+
end
|
482
|
+
|
483
|
+
```
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
docker-compose.yml
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
```
|
492
|
+
|
493
|
+
version: '2'
|
494
|
+
|
495
|
+
services:
|
496
|
+
|
497
|
+
app:
|
498
|
+
|
499
|
+
build:
|
500
|
+
|
501
|
+
context: .
|
502
|
+
|
503
|
+
dockerfile: ./docker/rails/Dockerfile
|
504
|
+
|
505
|
+
command: bundle exec unicorn -p 3000 -c /app/config/unicorn.rb
|
506
|
+
|
507
|
+
# command: bundle exec rails s -p 3000 -b '0.0.0.0'
|
508
|
+
|
509
|
+
ports:
|
510
|
+
|
511
|
+
- '3000:3000'
|
512
|
+
|
513
|
+
volumes:
|
514
|
+
|
515
|
+
- /var/tmp
|
516
|
+
|
517
|
+
- .:/coffee_app
|
518
|
+
|
519
|
+
depends_on:
|
520
|
+
|
521
|
+
- db
|
522
|
+
|
523
|
+
extends:
|
524
|
+
|
525
|
+
file: ./docker/mysql/password.yml
|
526
|
+
|
527
|
+
service: password
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
db:
|
532
|
+
|
533
|
+
build:
|
534
|
+
|
535
|
+
context: .
|
536
|
+
|
537
|
+
dockerfile: ./docker/mysql/Dockerfile
|
538
|
+
|
539
|
+
ports:
|
540
|
+
|
541
|
+
- '3306:3306'
|
542
|
+
|
543
|
+
volumes:
|
544
|
+
|
545
|
+
- db_data:/var/lib/mysql
|
546
|
+
|
547
|
+
extends:
|
548
|
+
|
549
|
+
file: ./docker/mysql/password.yml
|
550
|
+
|
551
|
+
service: password
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
nginx:
|
556
|
+
|
557
|
+
build:
|
558
|
+
|
559
|
+
context: .
|
560
|
+
|
561
|
+
dockerfile: ./docker/nginx/Dockerfile
|
562
|
+
|
563
|
+
ports:
|
564
|
+
|
565
|
+
- '80:80'
|
566
|
+
|
567
|
+
volumes:
|
568
|
+
|
569
|
+
- coffee_app
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
volumes:
|
574
|
+
|
575
|
+
db_data:
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
```
|
580
|
+
|
539
581
|
#環境
|
540
582
|
|
541
583
|
ruby 2.5.1
|