質問編集履歴

4

情報追加

2019/10/26 04:29

投稿

Arly3
Arly3

スコア5

test CHANGED
File without changes
test CHANGED
@@ -134,7 +134,7 @@
134
134
 
135
135
  ```
136
136
 
137
- `Gemfile`と`Gemfile.lock`の中身はこちらです
137
+ `Gemfile`と`Gemfile.lock`の中身はこちらです。`Gemfile.lock`は字数の関係で関係なさそうなところは省略しました。
138
138
 
139
139
  ```Gemfile
140
140
 

3

GemfileとGemfile.lockの追加

2019/10/26 04:29

投稿

Arly3
Arly3

スコア5

test CHANGED
File without changes
test CHANGED
@@ -133,3 +133,237 @@
133
133
  minitest (5.12.2, 5.11.3)
134
134
 
135
135
  ```
136
+
137
+ `Gemfile`と`Gemfile.lock`の中身はこちらです
138
+
139
+ ```Gemfile
140
+
141
+ source 'https://rubygems.org'
142
+
143
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
144
+
145
+
146
+
147
+ ruby '2.6.3'
148
+
149
+
150
+
151
+ gem 'bootstrap-sass', '~>3.3.6'
152
+
153
+ gem 'crass', '~> 1.0.5'
154
+
155
+ gem 'debase'
156
+
157
+ gem 'debride'
158
+
159
+ gem 'devise'
160
+
161
+ gem 'faster'
162
+
163
+ gem 'jquery-rails'
164
+
165
+ gem 'jquery-ui-rails'
166
+
167
+ gem 'parser', '~> 2.6.3.0'
168
+
169
+ gem 'rails-i18n'
170
+
171
+ gem 'rcodetools'
172
+
173
+ gem 'reek'
174
+
175
+ gem 'ruby-debug-ide'
176
+
177
+ gem 'ruby-lint'
178
+
179
+ gem 'solargraph'
180
+
181
+ # gem 'carrierwave'
182
+
183
+ # gem 'rmagick'
184
+
185
+
186
+
187
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
188
+
189
+ gem 'rails', '~> 5.2.3'
190
+
191
+ # Use sqlite3 as the database for Active Record
192
+
193
+ gem 'mysql2', '~> 0.5.2'
194
+
195
+ # Use Puma as the app server
196
+
197
+ gem 'puma', '~> 3.11'
198
+
199
+ # Use SCSS for stylesheets
200
+
201
+ gem 'sass-rails', '~> 5.0'
202
+
203
+ # Use Uglifier as compressor for JavaScript assets
204
+
205
+ gem 'uglifier', '>= 1.3.0'
206
+
207
+ # See https://github.com/rails/execjs#readme for more supported runtimes
208
+
209
+ # gem 'mini_racer', platforms: :ruby
210
+
211
+
212
+
213
+ # Use CoffeeScript for .coffee assets and views
214
+
215
+ gem 'coffee-rails', '~> 4.2'
216
+
217
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
218
+
219
+ gem 'turbolinks', '~> 5'
220
+
221
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
222
+
223
+ gem 'jbuilder', '~> 2.5'
224
+
225
+ # Use Redis adapter to run Action Cable in production
226
+
227
+ # gem 'redis', '~> 4.0'
228
+
229
+ # Use ActiveModel has_secure_password
230
+
231
+ # gem 'bcrypt', '~> 3.1.7'
232
+
233
+
234
+
235
+ # Use ActiveStorage variant
236
+
237
+ # gem 'mini_magick', '~> 4.8'
238
+
239
+
240
+
241
+ # Use Capistrano for deployment
242
+
243
+ # gem 'capistrano-rails', group: :development
244
+
245
+
246
+
247
+ # Reduces boot times through caching; required in config/boot.rb
248
+
249
+ gem 'bootsnap', '>= 1.1.0', require: false
250
+
251
+
252
+
253
+ group :development, :test do
254
+
255
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
256
+
257
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
258
+
259
+ end
260
+
261
+
262
+
263
+ group :development do
264
+
265
+ gem 'listen', '>= 3.0.5', '< 3.2'
266
+
267
+ gem 'rubocop', require: false
268
+
269
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
270
+
271
+ gem 'web-console', '>= 3.3.0'
272
+
273
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
274
+
275
+ gem 'spring'
276
+
277
+ gem 'spring-watcher-listen', '~> 2.0.0'
278
+
279
+ end
280
+
281
+
282
+
283
+ group :production do
284
+
285
+ end
286
+
287
+
288
+
289
+ group :test do
290
+
291
+ # Adds support for Capybara system testing and selenium driver
292
+
293
+ gem 'capybara', '>= 2.15'
294
+
295
+ gem 'database_cleaner'
296
+
297
+ gem 'factory_bot_rails'
298
+
299
+ gem 'faker'
300
+
301
+ gem 'launchy'
302
+
303
+ gem 'rspec-rails'
304
+
305
+ gem 'selenium-webdriver'
306
+
307
+ # Easy installation and use of chromedriver to run system tests with Chrome
308
+
309
+ gem 'webdrivers'
310
+
311
+ end
312
+
313
+
314
+
315
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
316
+
317
+ gem 'tzinfo-data'
318
+
319
+ ```
320
+
321
+
322
+
323
+ ```GemfileLock
324
+
325
+ GEM
326
+
327
+ remote: https://rubygems.org/
328
+
329
+ specs:
330
+
331
+ activesupport (5.2.3)
332
+
333
+ concurrent-ruby (~> 1.0, >= 1.0.2)
334
+
335
+ i18n (>= 0.7, < 2)
336
+
337
+ minitest (~> 5.1)
338
+
339
+ tzinfo (~> 1.1)
340
+
341
+
342
+
343
+ minitest (5.12.2)
344
+
345
+
346
+
347
+ PLATFORMS
348
+
349
+ ruby
350
+
351
+
352
+
353
+ DEPENDENCIES
354
+
355
+ minitest (~> 5.1)
356
+
357
+
358
+
359
+ RUBY VERSION
360
+
361
+ ruby 2.6.3p62
362
+
363
+
364
+
365
+ BUNDLED WITH
366
+
367
+ 2.0.2
368
+
369
+ ```

2

gem uninstall minitestの実行結果の追加

2019/10/26 04:28

投稿

Arly3
Arly3

スコア5

test CHANGED
File without changes
test CHANGED
@@ -99,3 +99,37 @@
99
99
  私自身Dockerの知識が浅くそれが原因のエラーだとは思っているのですが、解決策は分かりませんでした...
100
100
 
101
101
  少しでも気になった点や情報の追加依頼などありましたらコメントください。
102
+
103
+
104
+
105
+ 追記
106
+
107
+ ---
108
+
109
+ Minitestをアンインストールしようと`gem uninstall minitest`を実行してみた結果です。直後に何故か`minitest-5.12.2`が復活するのですが、Railsの設定などに書かれているのでしょうか?
110
+
111
+
112
+
113
+ ```Terminal
114
+
115
+ /APP-NAME$ docker-compose run web gem uninstall minitest
116
+
117
+ Creating network "APP-NAME_default" with the default driver
118
+
119
+ Creating APP-NAME_db_1 ... done
120
+
121
+ Successfully uninstalled minitest-5.12.2
122
+
123
+ /APP-NAME$ docker-compose run web gem list minitest
124
+
125
+ Starting APP-NAME_db_1 ... done
126
+
127
+
128
+
129
+ *** LOCAL GEMS ***
130
+
131
+
132
+
133
+ minitest (5.12.2, 5.11.3)
134
+
135
+ ```

1

誤字の編集

2019/10/25 15:35

投稿

Arly3
Arly3

スコア5

test CHANGED
File without changes
test CHANGED
@@ -32,9 +32,9 @@
32
32
 
33
33
  /APP-NAME$ docker-compose run web rspec spec/system/posts_spec.rb
34
34
 
35
- Creating network "shugo1003-memo_default" with the default driver
35
+ Creating network "APP-NAME_default" with the default driver
36
36
 
37
- Creating shugo1003-memo_db_1 ... done
37
+ Creating APP-NAME-memo_db_1 ... done
38
38
 
39
39
  WARN: Unresolved or ambigious specs during Gem::Specification.reset:
40
40