質問編集履歴

4

修正

2021/01/21 11:02

投稿

murohi-08
murohi-08

スコア12

test CHANGED
File without changes
test CHANGED
@@ -24,19 +24,19 @@
24
24
 
25
25
  remote: ! and using the production group of your Gemfile.
26
26
 
27
- remote: ! Activating bundler (2.1.4) failed:
27
+ remote: ! Activating bundler (2.2.1) failed:
28
28
 
29
- remote: ! Could not find 'bundler' (2.1.4) required by your /tmp/build_28664eb1/Gemfile.lock.
29
+ remote: ! Could not find 'bundler' (2.2.1) required by your /tmp/build_cd7c7df8/Gemfile.lock.
30
30
 
31
31
  remote: ! To update to the latest version installed on your system, run `bundle update --bundler`.
32
32
 
33
- remote: ! To install the missing version, run `gem install bundler:2.1.4`
33
+ remote: ! To install the missing version, run `gem install bundler:2.2.1`
34
34
 
35
- remote: ! Checked in 'GEM_PATH=/tmp/build_28664eb1/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
35
+ remote: ! Checked in 'GEM_PATH=/tmp/build_cd7c7df8/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
36
36
 
37
37
  remote: !
38
38
 
39
- remote: ! To install the version of bundler this project requires, run `gem install bundler -v '2.1.4'`
39
+ remote: ! To install the version of bundler this project requires, run `gem install bundler -v '2.2.1'`
40
40
 
41
41
  remote: !
42
42
 
@@ -46,19 +46,19 @@
46
46
 
47
47
  remote: and using the production group of your Gemfile.
48
48
 
49
- remote: Activating bundler (2.1.4) failed:
49
+ remote: Activating bundler (2.2.1) failed:
50
50
 
51
- remote: Could not find 'bundler' (2.1.4) required by your /tmp/build_28664eb1/Gemfile.lock.
51
+ remote: Could not find 'bundler' (2.2.1) required by your /tmp/build_cd7c7df8/Gemfile.lock.
52
52
 
53
53
  remote: To update to the latest version installed on your system, run `bundle update --bundler`.
54
54
 
55
- remote: To install the missing version, run `gem install bundler:2.1.4`
55
+ remote: To install the missing version, run `gem install bundler:2.2.1`
56
56
 
57
- remote: Checked in 'GEM_PATH=/tmp/build_28664eb1/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
57
+ remote: Checked in 'GEM_PATH=/tmp/build_cd7c7df8/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
58
58
 
59
59
  remote:
60
60
 
61
- remote: To install the version of bundler this project requires, run `gem install bundler -v '2.1.4'`
61
+ remote: To install the version of bundler this project requires, run `gem install bundler -v '2.2.1'`
62
62
 
63
63
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:885:in `rake'
64
64
 
@@ -70,7 +70,7 @@
70
70
 
71
71
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument'
72
72
 
73
- remote: from /tmp/tmp.X6aEnD89Ms/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
73
+ remote: from /tmp/tmp.G1tNkAAE36/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
74
74
 
75
75
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument'
76
76
 
@@ -92,7 +92,7 @@
92
92
 
93
93
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument'
94
94
 
95
- remote: from /tmp/tmp.X6aEnD89Ms/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
95
+ remote: from /tmp/tmp.G1tNkAAE36/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
96
96
 
97
97
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument'
98
98
 
@@ -116,7 +116,7 @@
116
116
 
117
117
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument'
118
118
 
119
- remote: from /tmp/tmp.X6aEnD89Ms/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
119
+ remote: from /tmp/tmp.G1tNkAAE36/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
120
120
 
121
121
  remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument'
122
122
 
@@ -144,4 +144,6 @@
144
144
 
145
145
  error: failed to push some refs to 'https://git.heroku.com/polar-waters-88164.git'
146
146
 
147
+
148
+
147
149
  ```

3

ログの修正

2021/01/21 11:02

投稿

murohi-08
murohi-08

スコア12

test CHANGED
File without changes
test CHANGED
@@ -15,6 +15,114 @@
15
15
  % git push heroku master
16
16
 
17
17
  (省略)
18
+
19
+ remote: !
20
+
21
+ remote: ! Could not detect rake tasks
22
+
23
+ remote: ! ensure you can run `$ bundle exec rake -P` against your app
24
+
25
+ remote: ! and using the production group of your Gemfile.
26
+
27
+ remote: ! Activating bundler (2.1.4) failed:
28
+
29
+ remote: ! Could not find 'bundler' (2.1.4) required by your /tmp/build_28664eb1/Gemfile.lock.
30
+
31
+ remote: ! To update to the latest version installed on your system, run `bundle update --bundler`.
32
+
33
+ remote: ! To install the missing version, run `gem install bundler:2.1.4`
34
+
35
+ remote: ! Checked in 'GEM_PATH=/tmp/build_28664eb1/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
36
+
37
+ remote: !
38
+
39
+ remote: ! To install the version of bundler this project requires, run `gem install bundler -v '2.1.4'`
40
+
41
+ remote: !
42
+
43
+ remote: /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/helpers/rake_runner.rb:106:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError)
44
+
45
+ remote: ensure you can run `$ bundle exec rake -P` against your app
46
+
47
+ remote: and using the production group of your Gemfile.
48
+
49
+ remote: Activating bundler (2.1.4) failed:
50
+
51
+ remote: Could not find 'bundler' (2.1.4) required by your /tmp/build_28664eb1/Gemfile.lock.
52
+
53
+ remote: To update to the latest version installed on your system, run `bundle update --bundler`.
54
+
55
+ remote: To install the missing version, run `gem install bundler:2.1.4`
56
+
57
+ remote: Checked in 'GEM_PATH=/tmp/build_28664eb1/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
58
+
59
+ remote:
60
+
61
+ remote: To install the version of bundler this project requires, run `gem install bundler -v '2.1.4'`
62
+
63
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:885:in `rake'
64
+
65
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:986:in `block in run_assets_precompile_rake_task'
66
+
67
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
68
+
69
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
70
+
71
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument'
72
+
73
+ remote: from /tmp/tmp.X6aEnD89Ms/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
74
+
75
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument'
76
+
77
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:48:in `instrument'
78
+
79
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:44:in `instrument'
80
+
81
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:984:in `run_assets_precompile_rake_task'
82
+
83
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:134:in `block (2 levels) in compile'
84
+
85
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:906:in `allow_git'
86
+
87
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:128:in `block in compile'
88
+
89
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
90
+
91
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
92
+
93
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument'
94
+
95
+ remote: from /tmp/tmp.X6aEnD89Ms/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
96
+
97
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument'
98
+
99
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:48:in `instrument'
100
+
101
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:44:in `instrument'
102
+
103
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/ruby.rb:116:in `compile'
104
+
105
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/support/ruby_compile:20:in `block (2 levels) in <main>'
106
+
107
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/base.rb:134:in `log'
108
+
109
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/support/ruby_compile:19:in `block in <main>'
110
+
111
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:35:in `block in trace'
112
+
113
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
114
+
115
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
116
+
117
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:17:in `block in instrument'
118
+
119
+ remote: from /tmp/tmp.X6aEnD89Ms/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
120
+
121
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:16:in `instrument'
122
+
123
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/lib/language_pack/instrument.rb:35:in `trace'
124
+
125
+ remote: from /tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/support/ruby_compile:15:in `<main>'
18
126
 
19
127
  remote: ! Push rejected, failed to compile Ruby app.
20
128
 
@@ -36,6 +144,4 @@
36
144
 
37
145
  error: failed to push some refs to 'https://git.heroku.com/polar-waters-88164.git'
38
146
 
39
-
40
-
41
147
  ```

2

空のコミット

2021/01/21 06:48

投稿

murohi-08
murohi-08

スコア12

test CHANGED
File without changes
test CHANGED
@@ -22,32 +22,6 @@
22
22
 
23
23
  remote: ! Push failed
24
24
 
25
- remote: !
26
-
27
- remote: ! ## Warning - The same version of this code has already been built: cf6c2d9a5e57c891ec16599bc03a5f3407eb0860
28
-
29
- remote: !
30
-
31
- remote: ! We have detected that you have triggered a build from source code with version cf6c2d9a5e57c891ec16599bc03a5f3407eb0860
32
-
33
- remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
34
-
35
- remote: !
36
-
37
- remote: ! If you are developing on a branch and deploying via git you must run
38
-
39
- remote: !
40
-
41
- remote: ! git push heroku <branchname>:main
42
-
43
- remote: !
44
-
45
- remote: ! This article goes into details on the behavior:
46
-
47
- remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
48
-
49
- remote:
50
-
51
25
  remote: Verifying deploy...
52
26
 
53
27
  remote:
@@ -62,4 +36,6 @@
62
36
 
63
37
  error: failed to push some refs to 'https://git.heroku.com/polar-waters-88164.git'
64
38
 
39
+
40
+
65
41
  ```

1

ターミナル内容編集

2021/01/20 06:37

投稿

murohi-08
murohi-08

スコア12

test CHANGED
File without changes
test CHANGED
@@ -14,81 +14,7 @@
14
14
 
15
15
  % git push heroku master
16
16
 
17
-
18
-
19
- Enumerating objects: 293, done.
20
-
21
- Counting objects: 100% (293/293), done.
22
-
23
- Delta compression using up to 4 threads
24
-
25
- Compressing objects: 100% (265/265), done.
26
-
27
- Writing objects: 100% (293/293), 368.30 KiB | 8.77 MiB/s, done.
28
-
29
- Total 293 (delta 80), reused 0 (delta 0)
30
-
31
- remote: Compressing source files... done.
32
-
33
- remote: Building source:
34
-
35
- remote:
36
-
37
- remote: -----> Building on the Heroku-20 stack
38
-
39
- remote: ! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
40
-
41
- remote: Detected buildpacks: Ruby,Node.js
42
-
43
- remote: See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order
44
-
45
- remote: -----> Ruby app detected
46
-
47
- remote: -----> Installing bundler 2.1.4
48
-
49
- remote: -----> Removing BUNDLED WITH version in the Gemfile.lock
50
-
51
- remote: -----> Compiling Ruby/Rails
52
-
53
- remote: Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-20/ruby-2.6.5.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
54
-
55
- remote: Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-20/ruby-2.6.5.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
56
-
57
- remote:
58
-
59
- remote: !
60
-
61
- remote: ! The Ruby version you are trying to install does not exist on this stack.
62
-
63
- remote: !
64
-
65
- remote: ! You are trying to install ruby-2.6.5 on heroku-20.
66
-
67
- remote: !
68
-
69
- remote: ! Ruby ruby-2.6.5 is present on the following stacks:
70
-
71
- remote: !
72
-
73
- remote: ! - cedar-14
74
-
75
- remote: ! - heroku-16
76
-
77
- remote: ! - heroku-18
78
-
79
- remote: !
80
-
81
- remote: ! Heroku recommends you use the latest supported Ruby version listed here:
82
-
83
- remote: ! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
84
-
85
- remote: !
86
-
87
- remote: ! For more information on syntax for declaring a Ruby version see:
88
-
89
- remote: ! https://devcenter.heroku.com/articles/ruby-versions
90
-
91
- remote: !
17
+ (省略)
92
18
 
93
19
  remote: ! Push rejected, failed to compile Ruby app.
94
20
 
@@ -136,6 +62,4 @@
136
62
 
137
63
  error: failed to push some refs to 'https://git.heroku.com/polar-waters-88164.git'
138
64
 
139
-
140
-
141
65
  ```