質問編集履歴

2

追記消去

2022/05/21 06:49

投稿

study_matome
study_matome

スコア37

test CHANGED
File without changes
test CHANGED
@@ -108,61 +108,6 @@
108
108
  →文法・引数エラーがあるということは理解できたのですが、
109
109
  どこのファイルについての記載かを見るにはどちらを見れば良いのか教えていただけますと幸いです。
110
110
 
111
- ## 追記
112
-
113
- 以下のような結果がターミナルに記載されていました。
114
-
115
- ```
116
- remote: !
117
- remote: ! Precompiling assets failed.
118
- remote: !
119
- remote: ! Push rejected, failed to compile Ruby app.
120
- remote:
121
- remote: ! Push failed
122
- remote: !
123
- remote: ! ## Warning - The same version of this code has already been built: 893cecd8b33aa70bd5625697f75b3b3273575ce7
124
- remote: !
125
- remote: ! We have detected that you have triggered a build from source code with version 893cecd8b33aa70bd5625697f75b3b3273575ce7
126
- remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
127
- remote: !
128
- remote: ! If you are developing on a branch and deploying via git you must run
129
- remote: !
130
- remote: ! git push heroku <branchname>:main
131
- remote: !
132
- remote: ! This article goes into details on the behavior:
133
- remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
134
- remote:
135
- remote: Verifying deploy...
136
-
137
- ```
138
-
139
- Google翻訳
140
-
141
- ```
142
- リモート:! アセットのプリコンパイルに失敗しました。
143
- リモート:!
144
- リモート:! プッシュが拒否され、Rubyアプリのコンパイルに失敗しました。
145
- リモート:
146
- リモート:! プッシュに失敗しました
147
- リモート:!
148
- リモート:! ##警告-このコードの同じバージョンがすでにビルドされています:893cecd8b33aa70bd5625697f75b3b3273575ce7
149
- リモート:!
150
- リモート:! バージョン893cecd8b33aa70bd5625697f75b3b3273575ce7のソースコードからビルドをトリガーしたことが検出されました
151
- リモート:! 少なくとも2回。 この動作の一般的な原因の1つは、別のブランチからコードをデプロイしようとすることです。
152
- リモート:!
153
- リモート:! ブランチで開発し、git経由でデプロイする場合は、実行する必要があります
154
- リモート:!
155
- リモート:! git push heroku <branchname>:main
156
- リモート:!
157
- リモート:! この記事では、動作について詳しく説明します。
158
- リモート:! https://devcenter.heroku.com/articles/duplicate-build-version
159
- ```
160
-
161
- 記載されていた以下のURLも見たのですが、git push heroku <branchname>:mainを実行しても良いのか分からずの状態でした。
162
- https://devcenter.heroku.com/articles/duplicate-build-version
163
-
164
-
165
-
166
111
 
167
112
  プログラミングを勉強し始めて2ヶ月の初学者で、初めて自分でアプリの開発をしております。
168
113
 

1

追記

2022/05/20 12:53

投稿

study_matome
study_matome

スコア37

test CHANGED
File without changes
test CHANGED
@@ -108,6 +108,60 @@
108
108
  →文法・引数エラーがあるということは理解できたのですが、
109
109
  どこのファイルについての記載かを見るにはどちらを見れば良いのか教えていただけますと幸いです。
110
110
 
111
+ ## 追記
112
+
113
+ 以下のような結果がターミナルに記載されていました。
114
+
115
+ ```
116
+ remote: !
117
+ remote: ! Precompiling assets failed.
118
+ remote: !
119
+ remote: ! Push rejected, failed to compile Ruby app.
120
+ remote:
121
+ remote: ! Push failed
122
+ remote: !
123
+ remote: ! ## Warning - The same version of this code has already been built: 893cecd8b33aa70bd5625697f75b3b3273575ce7
124
+ remote: !
125
+ remote: ! We have detected that you have triggered a build from source code with version 893cecd8b33aa70bd5625697f75b3b3273575ce7
126
+ remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
127
+ remote: !
128
+ remote: ! If you are developing on a branch and deploying via git you must run
129
+ remote: !
130
+ remote: ! git push heroku <branchname>:main
131
+ remote: !
132
+ remote: ! This article goes into details on the behavior:
133
+ remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
134
+ remote:
135
+ remote: Verifying deploy...
136
+
137
+ ```
138
+
139
+ Google翻訳
140
+
141
+ ```
142
+ リモート:! アセットのプリコンパイルに失敗しました。
143
+ リモート:!
144
+ リモート:! プッシュが拒否され、Rubyアプリのコンパイルに失敗しました。
145
+ リモート:
146
+ リモート:! プッシュに失敗しました
147
+ リモート:!
148
+ リモート:! ##警告-このコードの同じバージョンがすでにビルドされています:893cecd8b33aa70bd5625697f75b3b3273575ce7
149
+ リモート:!
150
+ リモート:! バージョン893cecd8b33aa70bd5625697f75b3b3273575ce7のソースコードからビルドをトリガーしたことが検出されました
151
+ リモート:! 少なくとも2回。 この動作の一般的な原因の1つは、別のブランチからコードをデプロイしようとすることです。
152
+ リモート:!
153
+ リモート:! ブランチで開発し、git経由でデプロイする場合は、実行する必要があります
154
+ リモート:!
155
+ リモート:! git push heroku <branchname>:main
156
+ リモート:!
157
+ リモート:! この記事では、動作について詳しく説明します。
158
+ リモート:! https://devcenter.heroku.com/articles/duplicate-build-version
159
+ ```
160
+
161
+ 記載されていた以下のURLも見たのですが、git push heroku <branchname>:mainを実行しても良いのか分からずの状態でした。
162
+ https://devcenter.heroku.com/articles/duplicate-build-version
163
+
164
+
111
165
 
112
166
 
113
167
  プログラミングを勉強し始めて2ヶ月の初学者で、初めて自分でアプリの開発をしております。