質問編集履歴
1
環境と無駄な記述があったため
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
+
## 環境
|
2
|
+
|
3
|
+
- Visual Studio Code Version: 1.55.0
|
4
|
+
|
1
|
-
|
5
|
+
- ブラウザ google chrome
|
6
|
+
|
7
|
+
- Rails 5.2.5
|
8
|
+
|
9
|
+
- macOS Catalina バージョン10.15.7
|
10
|
+
|
11
|
+
- gem 'haml-rails'
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
2
16
|
|
3
17
|
##エラーに至った経緯
|
4
18
|
|
@@ -222,7 +236,135 @@
|
|
222
236
|
|
223
237
|
```
|
224
238
|
|
225
|
-
|
239
|
+
```gemfile
|
240
|
+
|
241
|
+
source 'https://rubygems.org'
|
242
|
+
|
243
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
ruby '2.5.1'
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
252
|
+
|
253
|
+
gem 'rails', '~> 5.2.5'
|
254
|
+
|
255
|
+
# Use sqlite3 as the database for Active Record
|
256
|
+
|
257
|
+
gem 'sqlite3'
|
258
|
+
|
259
|
+
# Use Puma as the app server
|
260
|
+
|
261
|
+
gem 'puma', '~> 3.11'
|
262
|
+
|
263
|
+
# Use SCSS for stylesheets
|
264
|
+
|
265
|
+
gem 'sass-rails', '~> 5.0'
|
266
|
+
|
267
|
+
# Use Uglifier as compressor for JavaScript assets
|
268
|
+
|
269
|
+
gem 'uglifier', '>= 1.3.0'
|
270
|
+
|
271
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
272
|
+
|
273
|
+
# gem 'mini_racer', platforms: :ruby
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
# Use CoffeeScript for .coffee assets and views
|
278
|
+
|
279
|
+
gem 'coffee-rails', '~> 4.2'
|
280
|
+
|
281
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
282
|
+
|
283
|
+
gem 'turbolinks', '~> 5'
|
284
|
+
|
285
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
286
|
+
|
287
|
+
gem 'jbuilder', '~> 2.5'
|
288
|
+
|
289
|
+
# Use Redis adapter to run Action Cable in production
|
290
|
+
|
291
|
+
# gem 'redis', '~> 4.0'
|
292
|
+
|
293
|
+
# Use ActiveModel has_secure_password
|
294
|
+
|
295
|
+
# gem 'bcrypt', '~> 3.1.7'
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
# Use ActiveStorage variant
|
300
|
+
|
301
|
+
# gem 'mini_magick', '~> 4.8'
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
# Use Capistrano for deployment
|
306
|
+
|
307
|
+
# gem 'capistrano-rails', group: :development
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
# Reduces boot times through caching; required in config/boot.rb
|
312
|
+
|
313
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
group :development, :test do
|
318
|
+
|
319
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
320
|
+
|
321
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
322
|
+
|
323
|
+
end
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
group :development do
|
328
|
+
|
329
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
330
|
+
|
331
|
+
gem 'web-console', '>= 3.3.0'
|
332
|
+
|
333
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
334
|
+
|
335
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
336
|
+
|
337
|
+
gem 'spring'
|
338
|
+
|
339
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
340
|
+
|
341
|
+
end
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
group :test do
|
346
|
+
|
347
|
+
# Adds support for Capybara system testing and selenium driver
|
348
|
+
|
349
|
+
gem 'capybara', '>= 2.15'
|
350
|
+
|
351
|
+
gem 'selenium-webdriver'
|
352
|
+
|
353
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
354
|
+
|
355
|
+
gem 'chromedriver-helper'
|
356
|
+
|
357
|
+
end
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
362
|
+
|
363
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
364
|
+
|
365
|
+
gem 'haml-rails'
|
366
|
+
|
367
|
+
```
|
226
368
|
|
227
369
|
|
228
370
|
|