質問編集履歴

3

編集

2020/10/16 08:00

投稿

Tayutar
Tayutar

スコア4

test CHANGED
File without changes
test CHANGED
@@ -40,10 +40,6 @@
40
40
 
41
41
 
42
42
 
43
-
44
-
45
- Rails.root: /Users/iwasakenta/projects/hondeput
46
-
47
43
  ```
48
44
 
49
45
  ### 該当のソースコード

2

見やすいように変更

2020/10/16 08:00

投稿

Tayutar
Tayutar

スコア4

test CHANGED
File without changes
test CHANGED
@@ -288,6 +288,136 @@
288
288
 
289
289
 
290
290
 
291
+ ```
292
+
293
+ Gemfile
294
+
295
+
296
+
297
+ source 'https://rubygems.org'
298
+
299
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
300
+
301
+
302
+
303
+ ruby '2.6.5'
304
+
305
+
306
+
307
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
308
+
309
+ gem 'rails', '~> 6.0.0'
310
+
311
+ # Use mysql as the database for Active Record
312
+
313
+ gem 'mysql2', '>= 0.5.3'
314
+
315
+ # Use Puma as the app server
316
+
317
+ gem 'puma', '~> 3.11'
318
+
319
+ # Use SCSS for stylesheets
320
+
321
+ gem 'sass-rails', '~> 5'
322
+
323
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
324
+
325
+ gem 'webpacker', '~> 4.0'
326
+
327
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
328
+
329
+ gem 'turbolinks', '~> 5'
330
+
331
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
332
+
333
+ gem 'jbuilder', '~> 2.7'
334
+
335
+ # Use Redis adapter to run Action Cable in production
336
+
337
+ # gem 'redis', '~> 4.0'
338
+
339
+ # Use Active Model has_secure_password
340
+
341
+ # gem 'bcrypt', '~> 3.1.7'
342
+
343
+
344
+
345
+ # Use Active Storage variant
346
+
347
+ # gem 'image_processing', '~> 1.2'
348
+
349
+
350
+
351
+ # Reduces boot times through caching; required in config/boot.rb
352
+
353
+ gem 'bootsnap', '>= 1.4.2', require: false
354
+
355
+
356
+
357
+ group :development, :test do
358
+
359
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
360
+
361
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
362
+
363
+ end
364
+
365
+
366
+
367
+ group :development do
368
+
369
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
370
+
371
+ gem 'web-console', '>= 3.3.0'
372
+
373
+ gem 'listen', '>= 3.0.5', '< 3.2'
374
+
375
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
376
+
377
+ gem 'spring'
378
+
379
+ gem 'spring-watcher-listen', '~> 2.0.0'
380
+
381
+ end
382
+
383
+
384
+
385
+ group :test do
386
+
387
+ # Adds support for Capybara system testing and selenium driver
388
+
389
+ gem 'capybara', '>= 2.15'
390
+
391
+ gem 'selenium-webdriver'
392
+
393
+ # Easy installation and use of web drivers to run system tests with browsers
394
+
395
+ gem 'webdrivers'
396
+
397
+ end
398
+
399
+
400
+
401
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
402
+
403
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
404
+
405
+ gem 'pry-rails'
406
+
407
+ gem 'devise'
408
+
409
+ gem "refile", require: "refile/rails", github: 'manfe/refile'
410
+
411
+ gem "refile-mini_magick"
412
+
413
+ gem "bulma-rails"
414
+
415
+
416
+
417
+ ```
418
+
419
+
420
+
291
421
 
292
422
 
293
423
  ### 試したこと
@@ -396,134 +526,6 @@
396
526
 
397
527
  ### 補足情報(FW/ツールのバージョンなど)
398
528
 
399
- ```
400
-
401
- Gemfile
402
-
403
-
404
-
405
- source 'https://rubygems.org'
406
-
407
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
408
-
409
-
410
-
411
- ruby '2.6.5'
412
-
413
-
414
-
415
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
416
-
417
- gem 'rails', '~> 6.0.0'
418
-
419
- # Use mysql as the database for Active Record
420
-
421
- gem 'mysql2', '>= 0.5.3'
422
-
423
- # Use Puma as the app server
424
-
425
- gem 'puma', '~> 3.11'
426
-
427
- # Use SCSS for stylesheets
428
-
429
- gem 'sass-rails', '~> 5'
430
-
431
- # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
432
-
433
- gem 'webpacker', '~> 4.0'
434
-
435
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
436
-
437
- gem 'turbolinks', '~> 5'
438
-
439
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
440
-
441
- gem 'jbuilder', '~> 2.7'
442
-
443
- # Use Redis adapter to run Action Cable in production
444
-
445
- # gem 'redis', '~> 4.0'
446
-
447
- # Use Active Model has_secure_password
448
-
449
- # gem 'bcrypt', '~> 3.1.7'
450
-
451
-
452
-
453
- # Use Active Storage variant
454
-
455
- # gem 'image_processing', '~> 1.2'
456
-
457
-
458
-
459
- # Reduces boot times through caching; required in config/boot.rb
460
-
461
- gem 'bootsnap', '>= 1.4.2', require: false
462
-
463
-
464
-
465
- group :development, :test do
466
-
467
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
468
-
469
- gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
470
-
471
- end
472
-
473
-
474
-
475
- group :development do
476
-
477
- # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
478
-
479
- gem 'web-console', '>= 3.3.0'
480
-
481
- gem 'listen', '>= 3.0.5', '< 3.2'
482
-
483
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
484
-
485
- gem 'spring'
486
-
487
- gem 'spring-watcher-listen', '~> 2.0.0'
488
-
489
- end
490
-
491
-
492
-
493
- group :test do
494
-
495
- # Adds support for Capybara system testing and selenium driver
496
-
497
- gem 'capybara', '>= 2.15'
498
-
499
- gem 'selenium-webdriver'
500
-
501
- # Easy installation and use of web drivers to run system tests with browsers
502
-
503
- gem 'webdrivers'
504
-
505
- end
506
-
507
-
508
-
509
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
510
-
511
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
512
-
513
- gem 'pry-rails'
514
-
515
- gem 'devise'
516
-
517
- gem "refile", require: "refile/rails", github: 'manfe/refile'
518
-
519
- gem "refile-mini_magick"
520
-
521
- gem "bulma-rails"
522
-
523
-
524
-
525
- ```
526
-
527
529
 
528
530
 
529
531
 

1

Gemfileの追加

2020/10/16 02:40

投稿

Tayutar
Tayutar

スコア4

test CHANGED
File without changes
test CHANGED
@@ -386,7 +386,7 @@
386
386
 
387
387
  【変更内容】
388
388
 
389
- <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> → <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>に変更。
389
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> → <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>に変更。
390
390
 
391
391
 
392
392
 
@@ -396,7 +396,133 @@
396
396
 
397
397
  ### 補足情報(FW/ツールのバージョンなど)
398
398
 
399
-
399
+ ```
400
+
401
+ Gemfile
402
+
403
+
404
+
405
+ source 'https://rubygems.org'
406
+
407
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
408
+
409
+
410
+
411
+ ruby '2.6.5'
412
+
413
+
414
+
415
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
416
+
417
+ gem 'rails', '~> 6.0.0'
418
+
419
+ # Use mysql as the database for Active Record
420
+
421
+ gem 'mysql2', '>= 0.5.3'
422
+
423
+ # Use Puma as the app server
424
+
425
+ gem 'puma', '~> 3.11'
426
+
427
+ # Use SCSS for stylesheets
428
+
429
+ gem 'sass-rails', '~> 5'
430
+
431
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
432
+
433
+ gem 'webpacker', '~> 4.0'
434
+
435
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
436
+
437
+ gem 'turbolinks', '~> 5'
438
+
439
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
440
+
441
+ gem 'jbuilder', '~> 2.7'
442
+
443
+ # Use Redis adapter to run Action Cable in production
444
+
445
+ # gem 'redis', '~> 4.0'
446
+
447
+ # Use Active Model has_secure_password
448
+
449
+ # gem 'bcrypt', '~> 3.1.7'
450
+
451
+
452
+
453
+ # Use Active Storage variant
454
+
455
+ # gem 'image_processing', '~> 1.2'
456
+
457
+
458
+
459
+ # Reduces boot times through caching; required in config/boot.rb
460
+
461
+ gem 'bootsnap', '>= 1.4.2', require: false
462
+
463
+
464
+
465
+ group :development, :test do
466
+
467
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
468
+
469
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
470
+
471
+ end
472
+
473
+
474
+
475
+ group :development do
476
+
477
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
478
+
479
+ gem 'web-console', '>= 3.3.0'
480
+
481
+ gem 'listen', '>= 3.0.5', '< 3.2'
482
+
483
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
484
+
485
+ gem 'spring'
486
+
487
+ gem 'spring-watcher-listen', '~> 2.0.0'
488
+
489
+ end
490
+
491
+
492
+
493
+ group :test do
494
+
495
+ # Adds support for Capybara system testing and selenium driver
496
+
497
+ gem 'capybara', '>= 2.15'
498
+
499
+ gem 'selenium-webdriver'
500
+
501
+ # Easy installation and use of web drivers to run system tests with browsers
502
+
503
+ gem 'webdrivers'
504
+
505
+ end
506
+
507
+
508
+
509
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
510
+
511
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
512
+
513
+ gem 'pry-rails'
514
+
515
+ gem 'devise'
516
+
517
+ gem "refile", require: "refile/rails", github: 'manfe/refile'
518
+
519
+ gem "refile-mini_magick"
520
+
521
+ gem "bulma-rails"
522
+
523
+
524
+
525
+ ```
400
526
 
401
527
 
402
528