質問編集履歴

2

追加

2018/10/26 14:05

投稿

rowarubchinsky
rowarubchinsky

スコア20

test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,31 @@
29
29
  heroku restart web.2 --app application_name
30
30
 
31
31
  heroku restart web.3 --app application_name
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ ログを細かく確認したところ
40
+
41
+ ------------------------
42
+
43
+ 2018-10-26T13:53:02.820545+00:00 heroku[web.1]: State changed from crashed to starting
44
+
45
+ 2018-10-26T13:53:14.826297+00:00 heroku[web.1]: Starting process with command `bundle exec rackup config.ru -p 57053`
46
+
47
+ 2018-10-26T13:53:18.833539+00:00 heroku[web.1]: State changed from starting to crashed
48
+
49
+ 2018-10-26T13:53:18.800235+00:00 heroku[web.1]: Process exited with status 1
50
+
51
+ 2018-10-26T13:53:18.727272+00:00 app[web.1]: /app/vendor/ruby-2.5.0/lib/ruby/2.5.0/rubygems/resolver.rb:231:in `search_for': Unable to resolve dependency: user requested 'fileutils (= 1.0.2)' (Gem::UnsatisfiableDependencyError)
52
+
53
+
54
+
55
+ どうやら一番下のGem::UnsatisfiableDependencyErrorがあやしそうだと判明しました。
56
+
57
+ herokuでは使えないgemを使っているのでしょうか?
58
+
59
+ 原因がはっきりしません。

1

追加

2018/10/26 14:05

投稿

rowarubchinsky
rowarubchinsky

スコア20

test CHANGED
File without changes
test CHANGED
@@ -13,3 +13,19 @@
13
13
 
14
14
 
15
15
  App crashedとあるので、何かエラーが発生していることだけはわかるのですが、どこでどう起こってるのかわからないです、こういう時どのように対応すればいいのでしょうか。
16
+
17
+
18
+
19
+ 下記のコマンドは試して見ましたがうまくいかず。。。
20
+
21
+ ------------------------
22
+
23
+ heroku restart --app application_name
24
+
25
+
26
+
27
+ heroku restart web.1 --app application_name
28
+
29
+ heroku restart web.2 --app application_name
30
+
31
+ heroku restart web.3 --app application_name