回答編集履歴

1

新しいエラーについて追記

2021/04/30 09:10

投稿

mather
mather

スコア6753

test CHANGED
@@ -9,3 +9,51 @@
9
9
  というメッセージが出てますが、確認しましたか?
10
10
 
11
11
  (ということから一つ一つ確認せざるを得なくなるので「いろんなサイトを調べて実行してますが」の内容をきちんと書いてください。)
12
+
13
+
14
+
15
+ ### 2021-04-30追記
16
+
17
+
18
+
19
+ こちらのエラーですが、
20
+
21
+
22
+
23
+ ```
24
+
25
+ remote: -----> Building on the Heroku-18 stack
26
+
27
+ remote: -----> Using buildpack: https://github.com/bundler/heroku-buildpack-bundler2
28
+
29
+ remote: -----> Ruby app detected
30
+
31
+ remote: /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/compile: line 3: heroku/ruby: No such file or directory
32
+
33
+ remote: This buildpack is no longer supported, please use which now supports Bundler 2 directly
34
+
35
+ remote: ! Push rejected, failed to compile Ruby app.
36
+
37
+ remote:
38
+
39
+ remote: ! Push failed
40
+
41
+ remote: Verifying deploy...
42
+
43
+ remote:
44
+
45
+ remote: ! Push rejected to アプリ名.
46
+
47
+ ```
48
+
49
+
50
+
51
+ https://github.com/rubygems/heroku-buildpack-bundler2
52
+
53
+ こちらの buildpack はすでに使われていないようです。質問者が参考にしているページの情報が古いかもしれません。
54
+
55
+
56
+
57
+ Heroku の公式ドキュメントを見て、お使いのライブラリのバージョンに合わせて環境構築してみてください。
58
+
59
+ https://devcenter.heroku.com/articles/ruby-support