質問編集履歴
1
Gemfileを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -359,3 +359,115 @@
|
|
359
359
|
起動ボタンを押して実行
|
360
360
|
|
361
361
|
上記の実行ボタンを押したときのエラーメッセージが出現
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
###追記
|
366
|
+
|
367
|
+
Gemfileの内容
|
368
|
+
|
369
|
+
```
|
370
|
+
|
371
|
+
source 'https://rubygems.org'
|
372
|
+
|
373
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
ruby '2.6.5'
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
382
|
+
|
383
|
+
gem 'rails', '~> 6.0.2', '>= 6.0.2.1'
|
384
|
+
|
385
|
+
# Use sqlite3 as the database for Active Record
|
386
|
+
|
387
|
+
gem 'sqlite3', '~> 1.4'
|
388
|
+
|
389
|
+
# Use Puma as the app server
|
390
|
+
|
391
|
+
gem 'puma', '~> 4.1'
|
392
|
+
|
393
|
+
# Use SCSS for stylesheets
|
394
|
+
|
395
|
+
gem 'sass-rails', '>= 6'
|
396
|
+
|
397
|
+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
398
|
+
|
399
|
+
gem 'webpacker', '~> 4.0'
|
400
|
+
|
401
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
402
|
+
|
403
|
+
gem 'turbolinks', '~> 5'
|
404
|
+
|
405
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
406
|
+
|
407
|
+
gem 'jbuilder', '~> 2.7'
|
408
|
+
|
409
|
+
# Use Redis adapter to run Action Cable in production
|
410
|
+
|
411
|
+
# gem 'redis', '~> 4.0'
|
412
|
+
|
413
|
+
# Use Active Model has_secure_password
|
414
|
+
|
415
|
+
# gem 'bcrypt', '~> 3.1.7'
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
# Use Active Storage variant
|
420
|
+
|
421
|
+
# gem 'image_processing', '~> 1.2'
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
# Reduces boot times through caching; required in config/boot.rb
|
426
|
+
|
427
|
+
gem 'bootsnap', '>= 1.4.2', require: false
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
group :development, :test do
|
432
|
+
|
433
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
434
|
+
|
435
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
436
|
+
|
437
|
+
end
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
group :development do
|
442
|
+
|
443
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
444
|
+
|
445
|
+
gem 'web-console', '>= 3.3.0'
|
446
|
+
|
447
|
+
end
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
group :test do
|
452
|
+
|
453
|
+
# Adds support for Capybara system testing and selenium driver
|
454
|
+
|
455
|
+
gem 'capybara', '>= 2.15'
|
456
|
+
|
457
|
+
gem 'selenium-webdriver'
|
458
|
+
|
459
|
+
# Easy installation and use of web drivers to run system tests with browsers
|
460
|
+
|
461
|
+
gem 'webdrivers'
|
462
|
+
|
463
|
+
end
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
468
|
+
|
469
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
```
|