teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

マークダウン形式にしました

2018/01/06 11:42

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -12,6 +12,7 @@
12
12
  2018-01-06T08:49:06.822852+00:00 app[web.1]: /app/app/uploaders/image_uploader.rb:1:in `<top (required)>’: uninitialized constant CarrierWave (NameError)
13
13
 
14
14
  ◆heroku logs -t で確認したエラー全部
15
+ ```
15
16
  Running rails c on ⬢ mighty-chamber-27044... up, run.1965 (Free)
16
17
  /app/app/uploaders/image_uploader.rb:1:in `<top (required)>': uninitialized constant CarrierWave (NameError)
17
18
  from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
@@ -57,7 +58,7 @@
57
58
  from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
58
59
  from /app/bin/rails:9:in `require'
59
60
  from /app/bin/rails:9:in `<main>'
60
-
61
+ ```
61
62
  ###該当のソースコード
62
63
  Ruby on Rails
63
64
 

1

より詳細なエラーを見つけたので、変更しました。

2018/01/06 11:42

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -12,18 +12,52 @@
12
12
  2018-01-06T08:49:06.822852+00:00 app[web.1]: /app/app/uploaders/image_uploader.rb:1:in `<top (required)>’: uninitialized constant CarrierWave (NameError)
13
13
 
14
14
  ◆heroku logs -t で確認したエラー全部
15
- username:~/workspace/tw (master) $ heroku logs -t
16
- ▸ heroku-cli: update available from 6.14.39-addc925 to 6.15.11-5cba33c
17
- 2018-01-06T08:47:59.085533+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in new_from_string' 2018-01-06T08:47:59.085521+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in run_initializers’
18
- 2018-01-06T08:47:59.085523+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in initialize!' 2018-01-06T08:47:59.085527+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in instance_eval’
15
+ Running rails c on mighty-chamber-27044... up, run.1965 (Free)
16
+ /app/app/uploaders/image_uploader.rb:1:in `<top (required)>': uninitialized constant CarrierWave (NameError)
17
+ from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
18
+ from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
19
+ from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
20
+ from /app/app/models/feed.rb:2:in `<class:Feed>'
21
+ from /app/app/models/feed.rb:1:in `<top (required)>'
22
+ from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
23
+ from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
24
+ from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
25
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
26
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `each'
27
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `block in eager_load!'
28
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `each'
29
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `eager_load!'
30
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:354:in `eager_load!'
31
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `each'
32
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `block in <module:Finisher>'
33
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
34
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
35
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
36
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
37
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
38
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
39
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
40
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
41
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
42
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
43
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
44
+ from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
45
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
46
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
47
+ from /app/config/environment.rb:5:in `<top (required)>'
48
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:329:in `require'
49
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:329:in `require_environment!'
50
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/actions.rb:16:in `require_application_and_environment!'
51
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/console/console_command.rb:96:in `perform'
52
+ from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
53
+ from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
54
+ from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
55
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:in `perform'
56
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:44:in `invoke'
57
+ from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
58
+ from /app/bin/rails:9:in `require'
59
+ from /app/bin/rails:9:in `<main>'
19
60
 
20
-
21
- 〜〜中略〜〜
22
-
23
-
24
- 2018-01-06T08:49:07.978654+00:00 heroku[router]: at=error code=H10 desc=”App crashed” method=GET path=”/” host=mighty-chamber-27044.herokuapp.com request_id=7e85185c-1e7a-441e-81a3-3a35dd1dcb26 fwd=”36.12.25.147” dyno= connect= service= status=503 bytes= protocol=https
25
- 2018-01-06T08:49:08.470364+00:00 heroku[router]: at=error code=H10 desc=”App crashed” method=GET path=”/favicon.ico” host=mighty-chamber-27044.herokuapp.com request_id=a8fdb3ff-6873-4d55-bb1b-396b2835fca4 fwd=”36.12.25.147” dyno= connect= service= status=503 bytes= protocol=https
26
-
27
61
  ###該当のソースコード
28
62
  Ruby on Rails
29
63