質問編集履歴

1

Gemfile Gemfile.lockの追記(文字数制限のためエラーメッセージの一部を削除しました。)

2017/10/23 06:11

投稿

gomatamago
gomatamago

スコア7

test CHANGED
File without changes
test CHANGED
@@ -30,85 +30,7 @@
30
30
 
31
31
  from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri.rb:28:in `<top (required)>'
32
32
 
33
- from /app/vendor/bundle/ruby/2.3.0/gems/loofah-2.1.1/lib/loofah.rb:3:in `require'
33
+
34
-
35
- from /app/vendor/bundle/ruby/2.3.0/gems/loofah-2.1.1/lib/loofah.rb:3:in `<top (required)>'
36
-
37
- from /app/vendor/bundle/ruby/2.3.0/gems/rails-html-sanitizer-1.0.3/lib/rails-html-sanitizer.rb:2:in `require'
38
-
39
- from /app/vendor/bundle/ruby/2.3.0/gems/rails-html-sanitizer-1.0.3/lib/rails-html-sanitizer.rb:2:in `<top (required)>'
40
-
41
- from /app/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers/sanitize_helper.rb:2:in `require'
42
-
43
- from /app/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers/sanitize_helper.rb:2:in `<top (required)>'
44
-
45
- from /app/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers.rb:58:in `require'
46
-
47
- from /app/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers.rb:58:in `<module:Helpers>'
48
-
49
- from /app/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers.rb:4:in `<module:ActionView>'
50
-
51
- from /app/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers.rb:3:in `<top (required)>'
52
-
53
- from /app/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/context.rb:1:in `require'
54
-
55
- from /app/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/context.rb:1:in `<top (required)>'
56
-
57
- from /app/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/railtie.rb:7:in `require'
58
-
59
- from /app/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/railtie.rb:7:in `<top (required)>'
60
-
61
- from /app/vendor/bundle/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass/rails/railtie.rb:3:in `require'
62
-
63
- from /app/vendor/bundle/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass/rails/railtie.rb:3:in `<top (required)>'
64
-
65
- from /app/vendor/bundle/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass/rails.rb:11:in `require'
66
-
67
- from /app/vendor/bundle/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass/rails.rb:11:in `<top (required)>'
68
-
69
- from /app/vendor/bundle/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in `require'
70
-
71
- from /app/vendor/bundle/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in `<top (required)>'
72
-
73
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:82:in `require'
74
-
75
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:82:in `block (2 levels) in require'
76
-
77
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:77:in `each'
78
-
79
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:77:in `block in require'
80
-
81
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:66:in `each'
82
-
83
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:66:in `require'
84
-
85
- from /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler.rb:108:in `require'
86
-
87
- from /app/config/application.rb:7:in `<top (required)>'
88
-
89
- from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/actions.rb:15:in `require'
90
-
91
- from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
92
-
93
- from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/console/console_command.rb:96:in `perform'
94
-
95
- from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
96
-
97
- from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
98
-
99
- from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
100
-
101
- from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:in `perform'
102
-
103
- from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:44:in `invoke'
104
-
105
- from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
106
-
107
- from /app/bin/rails:9:in `require'
108
-
109
- from /app/bin/rails:9:in `<main>'
110
-
111
-
112
34
 
113
35
  ```
114
36
 
@@ -124,14 +46,502 @@
124
46
 
125
47
 
126
48
 
127
- ###試したこと
128
-
129
- ググって手がかりすらわかりませんでした。
130
-
131
-
132
-
133
49
  ###補足情報(言語/FW/ツール等のバージョンなど)
134
50
 
135
51
  作成したアプリはrailstutorialを確認しながら、Controllerとroutesを触っただけとなります。
136
52
 
137
53
  ローカルのrails s では表示がされていますが、Herokuだと上記メッセージが発生し、正しく動いていないかと思います。
54
+
55
+
56
+
57
+ gemfileとgemfil.lockを追記いたします
58
+
59
+ #gemfile
60
+
61
+
62
+
63
+ コード
64
+
65
+ source 'https://rubygems.org'
66
+
67
+ ruby '~> 2.3.0'
68
+
69
+ git_source(:github) do |repo_name|
70
+
71
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
72
+
73
+ "https://github.com/#{repo_name}.git"
74
+
75
+ end
76
+
77
+
78
+
79
+ gem 'rails', '~> 5.1.4'
80
+
81
+ gem 'puma', '~> 3.7'
82
+
83
+ gem 'sass-rails', '~> 5.0'
84
+
85
+ gem 'uglifier', '>= 1.3.0'
86
+
87
+ gem 'coffee-rails', '~> 4.2'
88
+
89
+ gem 'turbolinks', '~> 5'
90
+
91
+ gem 'jbuilder', '~> 2.5'
92
+
93
+
94
+
95
+ group :production do
96
+
97
+ gem 'pg', '0.20.0'
98
+
99
+ end
100
+
101
+
102
+
103
+ group :development, :test do
104
+
105
+ gem 'sqlite3'
106
+
107
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
108
+
109
+ gem 'capybara', '~> 2.13'
110
+
111
+ gem 'selenium-webdriver'
112
+
113
+ end
114
+
115
+
116
+
117
+ group :development do
118
+
119
+ gem 'web-console', '>= 3.3.0'
120
+
121
+ gem 'listen', '>= 3.0.5', '< 3.2'
122
+
123
+ gem 'spring'
124
+
125
+ gem 'spring-watcher-listen', '~> 2.0.0'
126
+
127
+ end
128
+
129
+
130
+
131
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
132
+
133
+
134
+
135
+ #gemfile.lock
136
+
137
+ GEM
138
+
139
+ remote: https://rubygems.org/
140
+
141
+ specs:
142
+
143
+ actioncable (5.1.4)
144
+
145
+ actionpack (= 5.1.4)
146
+
147
+ nio4r (~> 2.0)
148
+
149
+ websocket-driver (~> 0.6.1)
150
+
151
+ actionmailer (5.1.4)
152
+
153
+ actionpack (= 5.1.4)
154
+
155
+ actionview (= 5.1.4)
156
+
157
+ activejob (= 5.1.4)
158
+
159
+ mail (~> 2.5, >= 2.5.4)
160
+
161
+ rails-dom-testing (~> 2.0)
162
+
163
+ actionpack (5.1.4)
164
+
165
+ actionview (= 5.1.4)
166
+
167
+ activesupport (= 5.1.4)
168
+
169
+ rack (~> 2.0)
170
+
171
+ rack-test (>= 0.6.3)
172
+
173
+ rails-dom-testing (~> 2.0)
174
+
175
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
176
+
177
+ actionview (5.1.4)
178
+
179
+ activesupport (= 5.1.4)
180
+
181
+ builder (~> 3.1)
182
+
183
+ erubi (~> 1.4)
184
+
185
+ rails-dom-testing (~> 2.0)
186
+
187
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
188
+
189
+ activejob (5.1.4)
190
+
191
+ activesupport (= 5.1.4)
192
+
193
+ globalid (>= 0.3.6)
194
+
195
+ activemodel (5.1.4)
196
+
197
+ activesupport (= 5.1.4)
198
+
199
+ activerecord (5.1.4)
200
+
201
+ activemodel (= 5.1.4)
202
+
203
+ activesupport (= 5.1.4)
204
+
205
+ arel (~> 8.0)
206
+
207
+ activesupport (5.1.4)
208
+
209
+ concurrent-ruby (~> 1.0, >= 1.0.2)
210
+
211
+ i18n (~> 0.7)
212
+
213
+ minitest (~> 5.1)
214
+
215
+ tzinfo (~> 1.1)
216
+
217
+ addressable (2.5.2)
218
+
219
+ public_suffix (>= 2.0.2, < 4.0)
220
+
221
+ arel (8.0.0)
222
+
223
+ bindex (0.5.0)
224
+
225
+ builder (3.2.3)
226
+
227
+ byebug (9.1.0)
228
+
229
+ capybara (2.15.4)
230
+
231
+ addressable
232
+
233
+ mini_mime (>= 0.1.3)
234
+
235
+ nokogiri (>= 1.3.3)
236
+
237
+ rack (>= 1.0.0)
238
+
239
+ rack-test (>= 0.5.4)
240
+
241
+ xpath (~> 2.0)
242
+
243
+ childprocess (0.8.0)
244
+
245
+ ffi (~> 1.0, >= 1.0.11)
246
+
247
+ coffee-rails (4.2.2)
248
+
249
+ coffee-script (>= 2.2.0)
250
+
251
+ railties (>= 4.0.0)
252
+
253
+ coffee-script (2.4.1)
254
+
255
+ coffee-script-source
256
+
257
+ execjs
258
+
259
+ coffee-script-source (1.12.2)
260
+
261
+ concurrent-ruby (1.0.5)
262
+
263
+ crass (1.0.2)
264
+
265
+ erubi (1.7.0)
266
+
267
+ execjs (2.7.0)
268
+
269
+ ffi (1.9.18)
270
+
271
+ globalid (0.4.0)
272
+
273
+ activesupport (>= 4.2.0)
274
+
275
+ i18n (0.9.0)
276
+
277
+ concurrent-ruby (~> 1.0)
278
+
279
+ jbuilder (2.7.0)
280
+
281
+ activesupport (>= 4.2.0)
282
+
283
+ multi_json (>= 1.2)
284
+
285
+ listen (3.1.5)
286
+
287
+ rb-fsevent (~> 0.9, >= 0.9.4)
288
+
289
+ rb-inotify (~> 0.9, >= 0.9.7)
290
+
291
+ ruby_dep (~> 1.2)
292
+
293
+ loofah (2.1.1)
294
+
295
+ crass (~> 1.0.2)
296
+
297
+ nokogiri (>= 1.5.9)
298
+
299
+ mail (2.6.6)
300
+
301
+ mime-types (>= 1.16, < 4)
302
+
303
+ method_source (0.9.0)
304
+
305
+ mime-types (3.1)
306
+
307
+ mime-types-data (~> 3.2015)
308
+
309
+ mime-types-data (3.2016.0521)
310
+
311
+ mini_mime (0.1.4)
312
+
313
+ mini_portile2 (2.3.0)
314
+
315
+ minitest (5.10.3)
316
+
317
+ multi_json (1.12.2)
318
+
319
+ nio4r (2.1.0)
320
+
321
+ nokogiri (1.8.1)
322
+
323
+ mini_portile2 (~> 2.3.0)
324
+
325
+ pg (0.20.0)
326
+
327
+ public_suffix (3.0.0)
328
+
329
+ puma (3.10.0)
330
+
331
+ rack (2.0.3)
332
+
333
+ rack-test (0.7.0)
334
+
335
+ rack (>= 1.0, < 3)
336
+
337
+ rails (5.1.4)
338
+
339
+ actioncable (= 5.1.4)
340
+
341
+ actionmailer (= 5.1.4)
342
+
343
+ actionpack (= 5.1.4)
344
+
345
+ actionview (= 5.1.4)
346
+
347
+ activejob (= 5.1.4)
348
+
349
+ activemodel (= 5.1.4)
350
+
351
+ activerecord (= 5.1.4)
352
+
353
+ activesupport (= 5.1.4)
354
+
355
+ bundler (>= 1.3.0)
356
+
357
+ railties (= 5.1.4)
358
+
359
+ sprockets-rails (>= 2.0.0)
360
+
361
+ rails-dom-testing (2.0.3)
362
+
363
+ activesupport (>= 4.2.0)
364
+
365
+ nokogiri (>= 1.6)
366
+
367
+ rails-html-sanitizer (1.0.3)
368
+
369
+ loofah (~> 2.0)
370
+
371
+ railties (5.1.4)
372
+
373
+ actionpack (= 5.1.4)
374
+
375
+ activesupport (= 5.1.4)
376
+
377
+ method_source
378
+
379
+ rake (>= 0.8.7)
380
+
381
+ thor (>= 0.18.1, < 2.0)
382
+
383
+ rake (12.1.0)
384
+
385
+ rb-fsevent (0.10.2)
386
+
387
+ rb-inotify (0.9.10)
388
+
389
+ ffi (>= 0.5.0, < 2)
390
+
391
+ ruby_dep (1.5.0)
392
+
393
+ rubyzip (1.2.1)
394
+
395
+ sass (3.5.2)
396
+
397
+ sass-listen (~> 4.0.0)
398
+
399
+ sass-listen (4.0.0)
400
+
401
+ rb-fsevent (~> 0.9, >= 0.9.4)
402
+
403
+ rb-inotify (~> 0.9, >= 0.9.7)
404
+
405
+ sass-rails (5.0.6)
406
+
407
+ railties (>= 4.0.0, < 6)
408
+
409
+ sass (~> 3.1)
410
+
411
+ sprockets (>= 2.8, < 4.0)
412
+
413
+ sprockets-rails (>= 2.0, < 4.0)
414
+
415
+ tilt (>= 1.1, < 3)
416
+
417
+ selenium-webdriver (3.6.0)
418
+
419
+ childprocess (~> 0.5)
420
+
421
+ rubyzip (~> 1.0)
422
+
423
+ spring (2.0.2)
424
+
425
+ activesupport (>= 4.2)
426
+
427
+ spring-watcher-listen (2.0.1)
428
+
429
+ listen (>= 2.7, < 4.0)
430
+
431
+ spring (>= 1.2, < 3.0)
432
+
433
+ sprockets (3.7.1)
434
+
435
+ concurrent-ruby (~> 1.0)
436
+
437
+ rack (> 1, < 3)
438
+
439
+ sprockets-rails (3.2.1)
440
+
441
+ actionpack (>= 4.0)
442
+
443
+ activesupport (>= 4.0)
444
+
445
+ sprockets (>= 3.0.0)
446
+
447
+ sqlite3 (1.3.13)
448
+
449
+ thor (0.20.0)
450
+
451
+ thread_safe (0.3.6)
452
+
453
+ tilt (2.0.8)
454
+
455
+ turbolinks (5.0.1)
456
+
457
+ turbolinks-source (~> 5)
458
+
459
+ turbolinks-source (5.0.3)
460
+
461
+ tzinfo (1.2.3)
462
+
463
+ thread_safe (~> 0.1)
464
+
465
+ uglifier (3.2.0)
466
+
467
+ execjs (>= 0.3.0, < 3)
468
+
469
+ web-console (3.5.1)
470
+
471
+ actionview (>= 5.0)
472
+
473
+ activemodel (>= 5.0)
474
+
475
+ bindex (>= 0.4.0)
476
+
477
+ railties (>= 5.0)
478
+
479
+ websocket-driver (0.6.5)
480
+
481
+ websocket-extensions (>= 0.1.0)
482
+
483
+ websocket-extensions (0.1.2)
484
+
485
+ xpath (2.1.0)
486
+
487
+ nokogiri (~> 1.3)
488
+
489
+
490
+
491
+ PLATFORMS
492
+
493
+ ruby
494
+
495
+
496
+
497
+ DEPENDENCIES
498
+
499
+ byebug
500
+
501
+ capybara (~> 2.13)
502
+
503
+ coffee-rails (~> 4.2)
504
+
505
+ jbuilder (~> 2.5)
506
+
507
+ listen (>= 3.0.5, < 3.2)
508
+
509
+ pg (= 0.20.0)
510
+
511
+ puma (~> 3.7)
512
+
513
+ rails (~> 5.1.4)
514
+
515
+ sass-rails (~> 5.0)
516
+
517
+ selenium-webdriver
518
+
519
+ spring
520
+
521
+ spring-watcher-listen (~> 2.0.0)
522
+
523
+ sqlite3
524
+
525
+ turbolinks (~> 5)
526
+
527
+ tzinfo-data
528
+
529
+ uglifier (>= 1.3.0)
530
+
531
+ web-console (>= 3.3.0)
532
+
533
+
534
+
535
+ RUBY VERSION
536
+
537
+ ruby 2.3.3p222
538
+
539
+
540
+
541
+ BUNDLED WITH
542
+
543
+ 1.16.0.pre.3
544
+
545
+
546
+
547
+ ```