質問編集履歴

3

文面修正

2019/04/08 09:10

投稿

Masskaz
Masskaz

スコア32

test CHANGED
File without changes
test CHANGED
@@ -88,10 +88,12 @@
88
88
 
89
89
  というコードだと思います。
90
90
 
91
- https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/ruby.tgzを行なってみると、「Ruby」というフォルダがダウンロードされました。
91
+ https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/ruby.tgzで検索してみると、「Ruby」というフォルダがダウンロードされました。
92
92
 
93
93
  中身は、
94
94
 
95
+ ```
96
+
95
97
  app.json
96
98
 
97
99
  Aptfile
@@ -128,6 +130,8 @@
128
130
 
129
131
  vendor
130
132
 
133
+ ```
134
+
131
135
  が入っていますが、
132
136
 
133
137
  何をどう使用するのかが分かりません。

2

試したことと、原因であろう文面を追記

2019/04/08 09:10

投稿

Masskaz
Masskaz

スコア32

test CHANGED
File without changes
test CHANGED
@@ -73,3 +73,125 @@
73
73
  error: failed to push some refs to 'https://git.heroku.com/アプリ名.git'
74
74
 
75
75
  ```
76
+
77
+
78
+
79
+ おそらく原因は、上記コード内にある、
80
+
81
+ ```
82
+
83
+ App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/ruby.tgz
84
+
85
+ remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
86
+
87
+ ```
88
+
89
+ というコードだと思います。
90
+
91
+ https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/ruby.tgzを行なってみると、「Ruby」というフォルダがダウンロードされました。
92
+
93
+ 中身は、
94
+
95
+ app.json
96
+
97
+ Aptfile
98
+
99
+ bin
100
+
101
+ buildpack.toml
102
+
103
+ CHANGELOG.md
104
+
105
+ circle.yml
106
+
107
+ config
108
+
109
+ Gemfile
110
+
111
+ Gemfile.lock
112
+
113
+ hatchet.json
114
+
115
+ hatchet.lock
116
+
117
+ lib
118
+
119
+ LICENSE
120
+
121
+ Rakefile
122
+
123
+ README.md
124
+
125
+ support
126
+
127
+ tmp
128
+
129
+ vendor
130
+
131
+ が入っていますが、
132
+
133
+ 何をどう使用するのかが分かりません。
134
+
135
+
136
+
137
+ 以下 ご教示いただいた試したこと 追記ーーーーーー
138
+
139
+ ご教示いただいた、
140
+
141
+ https://qiita.com/arekore0/items/eae550bdbcc78eeac082
142
+
143
+ の方法で行なってみましたが、変わりなかったです。
144
+
145
+ こちらの方法で行なった場合ですが、
146
+
147
+ ```
148
+
149
+ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby.git
150
+
151
+
152
+
153
+ ```
154
+
155
+ を入力。すると下記がでます。
156
+
157
+ ```
158
+
159
+ Buildpack set. Next release on アプリ名 will use https://github.com/heroku/heroku-buildpack-ruby.git.
160
+
161
+ Run git push heroku master to create a new release using this buildpack.
162
+
163
+ PC名:~ PCアカウント名$ heroku buildpacks:set heroku/ruby
164
+
165
+ Buildpack set. Next release on アプリ名 will use heroku/ruby.
166
+
167
+ Run git push heroku master to create a new release using this buildpack.
168
+
169
+ ```
170
+
171
+ 一応も下記も行いました。
172
+
173
+ ```
174
+
175
+ heroku create --buildpack https://github.com/heroku/heroku-buildpack-ruby.git
176
+
177
+ ```
178
+
179
+ すると、下記が出ました。
180
+
181
+ ```
182
+
183
+ Creating app... done, ⬢ peaceful-anchorage-50354
184
+
185
+ Setting buildpack to https://github.com/heroku/heroku-buildpack-ruby.git... done
186
+
187
+ https://peaceful-anchorage-50354.herokuapp.com/ | https://git.heroku.com/peaceful-anchorage-50354.git
188
+
189
+ ```
190
+
191
+ その後、下記を行いましたが、変化ありませんでした。
192
+
193
+ ```
194
+
195
+ git push heroku master
196
+
197
+ ```

1

追記

2019/04/08 08:49

投稿

Masskaz
Masskaz

スコア32

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,10 @@
7
7
  herokuにあげるまでを行おうとしています。
8
8
 
9
9
  下記URLを参考にherokuにあげようとしているのですが、
10
+
11
+ https://qiita.com/kazukimatsumoto/items/a0daa7281a3948701c39
12
+
13
+
10
14
 
11
15
  herokuにデプロイの段階で
12
16